# Diesel electric freight locomotive (Modern Rail and Metro Network)

A 22.8 m Co-Co diesel electric freight locomotive with a long hood, radiator fans and walkway handrails.

- **URL:** https://3dassets.dev/assets/modern-rail-and-metro-network-diesel-freight-locomotiv-0b873bd7
- **GLB (direct, CORS *, immutable):** https://cdn.3dassets.dev/assets/11551/v2/model.glb
- **Download (counted):** https://3dassets.dev/download/modern-rail-and-metro-network-diesel-freight-locomotiv-0b873bd7
- **Licence:** CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/ (no attribution required)
- **Contributor:** 3D Assets (@3dassets): https://3dassets.dev/u/3dassets
- **Category:** Vehicles
- **Tags:** Modern, Realistic, Exterior
- **Geometry:** 9,024 triangles, 27,072 vertices, 19 meshes, 7 materials, 0 textures
- **Size (m):** 2.906 × 4.56 × 22.76
- **Animations:** wheel-roll
- **File size:** 0.33 MB
- **Downloads:** 0
- **AI used (contributor-reported):** yes; model: Claude Opus 5

## About

A six axle diesel electric freight locomotive on the North American pattern: a full width running board carrying a long engine hood with a flared radiator section, a cab set back behind it, a lower short hood, two roof radiator fans, an exhaust stack, walkway handrails, end steps, a slung fuel tank and two three axle bogies with named wheelsets. Wheel flanges rest on y=0 so the rail plane sits at y=0.03; place the vehicle at y=0.57 over a track module to stand it on the railhead. Automatic coupler ports sit at each end at y=1.07. Bounding size 2.91 x 4.56 x 22.76 m (X x Y x Z). Metre units, +Y up, +Z forward, resting at y=0. Named pivot nodes: bogie-front-axle-1-right, bogie-front-axle-1-left, bogie-front-axle-2-right, bogie-front-axle-2-left, bogie-front-axle-3-right, bogie-front-axle-3-left, bogie-rear-axle-1-right, bogie-rear-axle-1-left, bogie-rear-axle-2-right, bogie-rear-axle-2-left and 2 more. Static geometry; no rig, collision or navigation data.

## Use with three.js

```js
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js'
import { AnimationMixer } from 'three'

let mixer

const loader = new GLTFLoader()
loader.load('https://cdn.3dassets.dev/assets/11551/v2/model.glb', (gltf) => {
  scene.add(gltf.scene)
  mixer = new AnimationMixer(gltf.scene)
  mixer.clipAction(gltf.animations[0]).play()
})

// Call from your render loop; deltaSeconds is time since the previous frame.
function updateAssetAnimation(deltaSeconds) {
  mixer?.update(deltaSeconds)
}
```

## React Three Fiber

```jsx
import { useGLTF, useAnimations } from '@react-three/drei'
import { useEffect } from 'react'

export function DieselElectricFreightLocomotiveModernRailAndMetroNetwork(props) {
  const { scene, animations } = useGLTF('https://cdn.3dassets.dev/assets/11551/v2/model.glb')
  const { actions, names } = useAnimations(animations, scene)
  useEffect(() => {
    const action = actions[names[0]]
    action?.reset().play()
    return () => { action?.stop() }
  }, [actions, names])
  return <primitive object={scene} {...props} />
}
useGLTF.preload('https://cdn.3dassets.dev/assets/11551/v2/model.glb')
```

## <model-viewer>

```html
<model-viewer src="https://cdn.3dassets.dev/assets/11551/v2/model.glb" alt="Diesel electric freight locomotive (Modern Rail and Metro Network)" camera-controls auto-rotate autoplay></model-viewer>
```

## Blender

```python
# Blender 4.x: File > Import > glTF 2.0, or from the Python console after downloading the file.
import bpy
bpy.ops.import_scene.gltf(filepath='model.glb')  # from https://cdn.3dassets.dev/assets/11551/v2/model.glb
# Metres and +Y up are converted to Blender's Z-up scene automatically.
# Clips arrive as actions; play them from the Dope Sheet > Action Editor.
```

## Godot

```gdscript
# Godot 4: copy model.glb into res://models/ and the editor imports it as a scene.
var packed := load("res://models/model.glb") as PackedScene
var model := packed.instantiate()
add_child(model)
var player := model.find_child("AnimationPlayer", true, false) as AnimationPlayer
player.play(player.get_animation_list()[0])
```

## Unity

```csharp
// Unity: import model.glb with glTFast (Package Manager: com.unity.cloud.gltfast) and drag the prefab in,
// or load it at runtime straight from the CDN:
using GLTFast;
var gltf = new GltfImport();
if (await gltf.Load("https://cdn.3dassets.dev/assets/11551/v2/model.glb")) await gltf.InstantiateMainSceneAsync(transform);
// Clips import as legacy AnimationClips on the root; GetComponent<Animation>().Play() starts the first.
```

---
JSON: https://3dassets.dev/api/v1/assets/modern-rail-and-metro-network-diesel-freight-locomotiv-0b873bd7 · Loads with a plain GLTFLoader: no Draco/KTX2 loaders needed.