Free Diesel and Electric Locomotive 3D Models: Switchers, Freight Diesels, Electrics (GLB, OBJ, STL)

Twelve free diesel and electric locomotive 3D models: a road switcher, a yard switcher, a wide cab freight diesel, a passenger diesel, a centre-cab shunter, a diesel-hydraulic, an industrial loco, a boxcab electric, a modern electric, a freight electric, a twin-cab freight diesel and an electric shunter. Free for commercial use under CC BY 4.0, no login.

  • 12 models
  • 28,034–106,480 triangles
  • 881 KB–3.3 MB each
  • GLB, glTF, OBJ, STL
  • CC BY 4.0
  • No login

All 12 models

Drag a model to turn it, or tap it to open the 3D viewer with zoom. Sizes are width × depth × height. The tags under a model are its separate parts, by node name.

Road Switcher: free 3D model in GLB format

Road Switcher

Four-axle diesel

  • 94,017 triangles
  • 2.9 MB
  • 3.40 × 18.72 × 4.53 m

A blue four-axle road switcher with a long hood, a short hood, a cab with windows and seats, roof fans that turn, railings and a fuel tank.

  • Fan_1
  • Fan_1_Blades
  • Fan_2
  • Fan_2_Blades
  • Fan_3
  • Fan_3_Blades
  • Bogie_Front
  • Bogie_Front_Wheelset_1
  • Bogie_Front_Wheelset_2
  • Bogie_Rear
  • Bogie_Rear_Wheelset_1
  • Bogie_Rear_Wheelset_2
Download GLB
Yard Switcher: free 3D model in GLB format

Yard Switcher

Small diesel

  • 84,072 triangles
  • 2.6 MB
  • 3.34 × 14.92 × 4.38 m

A yellow and black yard switcher with a low long hood, a cab at one end, two roof fans, a radiator grille and four-wheel trucks.

  • Fan_1
  • Fan_1_Blades
  • Fan_2
  • Fan_2_Blades
  • Bogie_Front
  • Bogie_Front_Wheelset_1
  • Bogie_Front_Wheelset_2
  • Bogie_Rear
  • Bogie_Rear_Wheelset_1
  • Bogie_Rear_Wheelset_2
Download GLB
Wide Cab Freight Diesel: free 3D model in GLB format

Wide Cab Freight Diesel

Six-axle diesel

  • 106,480 triangles
  • 3.3 MB
  • 3.44 × 22.92 × 4.83 m

A red six-axle freight diesel with a full-width cab and a raked windscreen, a short nose, three roof fans, two exhausts and three-axle trucks.

  • Fan_1
  • Fan_1_Blades
  • Fan_2
  • Fan_2_Blades
  • Fan_3
  • Fan_3_Blades
  • Truck_Front
  • Truck_Front_Wheelset_1
  • Truck_Front_Wheelset_2
  • Truck_Front_Wheelset_3
  • Truck_Rear
  • Truck_Rear_Wheelset_1
  • Truck_Rear_Wheelset_2
  • Truck_Rear_Wheelset_3
Download GLB
Passenger Diesel: free 3D model in GLB format

Passenger Diesel

Full-body diesel

  • 81,386 triangles
  • 2.5 MB
  • 3.17 × 21.32 × 4.50 m

A silver passenger diesel with a full-width body, a sloped cab nose, a red stripe, round side windows, side grilles, roof fans and horns.

  • Fan_1
  • Fan_1_Blades
  • Fan_2
  • Fan_2_Blades
  • Fan_3
  • Fan_3_Blades
  • Truck_Front
  • Truck_Front_Wheelset_1
  • Truck_Front_Wheelset_2
  • Truck_Front_Wheelset_3
  • Truck_Rear
  • Truck_Rear_Wheelset_1
  • Truck_Rear_Wheelset_2
  • Truck_Rear_Wheelset_3
Download GLB
Centre-Cab Shunter: free 3D model in GLB format

Centre-Cab Shunter

Two-hood diesel

  • 74,344 triangles
  • 2.3 MB
  • 3.34 × 12.73 × 4.33 m

A red centre-cab shunter with a low hood on each side of the cab, yellow stripes, buffers and screw couplings at both ends.

  • Fan_1
  • Fan_1_Blades
  • Bogie_Front
  • Bogie_Front_Wheelset_1
  • Bogie_Front_Wheelset_2
  • Bogie_Rear
  • Bogie_Rear_Wheelset_1
  • Bogie_Rear_Wheelset_2
Download GLB
Diesel-Hydraulic: free 3D model in GLB format

Diesel-Hydraulic

Twin-cab diesel

  • 69,426 triangles
  • 2.1 MB
  • 3.17 × 16.93 × 4.25 m

A maroon twin-cab diesel-hydraulic with raked cab ends, a cream stripe, side grilles, a roof fan and buffers at both ends.

  • Fan_1
  • Fan_1_Blades
  • Bogie_Front
  • Bogie_Front_Wheelset_1
  • Bogie_Front_Wheelset_2
  • Bogie_Rear
  • Bogie_Rear_Wheelset_1
  • Bogie_Rear_Wheelset_2
Download GLB
Industrial Locomotive: free 3D model in GLB format

Industrial Locomotive

Four-wheel diesel

  • 28,034 triangles
  • 881 KB
  • 3.14 × 8.53 × 3.88 m

A small yellow four-wheel industrial diesel with a hood, an end cab, leaf-sprung axle boxes, buffers and short railings.

  • Wheelset_1
  • Wheelset_2
Download GLB
Boxcab Electric: free 3D model in GLB format

Boxcab Electric

Vintage electric

  • 77,750 triangles
  • 2.4 MB
  • 3.17 × 15.92 × 6.04 m

A brown boxcab electric with a round-edged roof, three windows at each end, side doors, grilles and two pantographs on the roof.

  • Pantograph_Front
  • Pantograph_Front_Lower
  • Pantograph_Front_Upper
  • Pantograph_Front_Head
  • Pantograph_Rear
  • Pantograph_Rear_Lower
  • Pantograph_Rear_Upper
  • Pantograph_Rear_Head
  • Bogie_Front
  • Bogie_Front_Wheelset_1
  • Bogie_Front_Wheelset_2
  • Bogie_Rear
  • Bogie_Rear_Wheelset_1
  • Bogie_Rear_Wheelset_2
Download GLB
Modern Electric: free 3D model in GLB format

Modern Electric

Four-axle electric

  • 76,808 triangles
  • 2.3 MB
  • 3.17 × 20.33 × 6.14 m

A white and blue four-axle electric with raked cab ends, one-piece windscreens, roof equipment and two pantographs, one raised.

  • Pantograph_Front
  • Pantograph_Front_Lower
  • Pantograph_Front_Upper
  • Pantograph_Front_Head
  • Pantograph_Rear
  • Pantograph_Rear_Lower
  • Pantograph_Rear_Upper
  • Pantograph_Rear_Head
  • Bogie_Front
  • Bogie_Front_Wheelset_1
  • Bogie_Front_Wheelset_2
  • Bogie_Rear
  • Bogie_Rear_Wheelset_1
  • Bogie_Rear_Wheelset_2
Download GLB
Freight Electric: free 3D model in GLB format

Freight Electric

Six-axle electric

  • 87,626 triangles
  • 2.7 MB
  • 3.17 × 21.93 × 6.24 m

A green six-axle freight electric with two cabs, a yellow stripe, five side grilles, roof equipment, two pantographs and three-axle bogies.

  • Pantograph_Front
  • Pantograph_Front_Lower
  • Pantograph_Front_Upper
  • Pantograph_Front_Head
  • Pantograph_Rear
  • Pantograph_Rear_Lower
  • Pantograph_Rear_Upper
  • Pantograph_Rear_Head
  • Truck_Front
  • Truck_Front_Wheelset_1
  • Truck_Front_Wheelset_2
  • Truck_Front_Wheelset_3
  • Truck_Rear
  • Truck_Rear_Wheelset_1
  • Truck_Rear_Wheelset_2
  • Truck_Rear_Wheelset_3
Download GLB
Twin-Cab Freight Diesel: free 3D model in GLB format

Twin-Cab Freight Diesel

Six-axle diesel

  • 83,174 triangles
  • 2.4 MB
  • 3.17 × 22.13 × 4.32 m

A grey and orange six-axle freight diesel with a cab at each end, side grilles, three roof fans that turn, a fuel tank and buffers.

  • Fan_1
  • Fan_1_Blades
  • Fan_2
  • Fan_2_Blades
  • Fan_3
  • Fan_3_Blades
  • Truck_Front
  • Truck_Front_Wheelset_1
  • Truck_Front_Wheelset_2
  • Truck_Front_Wheelset_3
  • Truck_Rear
  • Truck_Rear_Wheelset_1
  • Truck_Rear_Wheelset_2
  • Truck_Rear_Wheelset_3
Download GLB
Electric Shunter: free 3D model in GLB format

Electric Shunter

Centre-cab electric

  • 75,577 triangles
  • 2.4 MB
  • 3.34 × 13.53 × 4.33 m

An ochre centre-cab electric shunter with low hoods, one pantograph on the cab roof, black stripes, buffers and railings.

  • Bogie_Front
  • Bogie_Front_Wheelset_1
  • Bogie_Front_Wheelset_2
  • Bogie_Rear
  • Bogie_Rear_Wheelset_1
  • Bogie_Rear_Wheelset_2
Download GLB

Made for games

  • Moving partsEvery wheelset, truck and bogie is its own node, roof fans can spin and pantographs are jointed, ready to raise or lower.
  • Two styles of endsHood units have pilots, steps, knuckle couplers and end rails; the European styles have buffer beams, buffers and screw coupling hooks.
  • Cabs with windowsFramed windscreens and side windows on every cab, with desks and seats inside the hood unit cabs.
  • Our own designsGeneric locomotives in plain liveries with stripes, with no makes, railway names, numbers or logos.

How to use these GLB models

GLB is binary glTF 2.0: one file with the mesh, materials and node names. Every modern 3D tool reads it.

three.js

Load it with GLTFLoader, as in the code below. Babylon.js, PlayCanvas and A-Frame load GLB directly too.

Unity

Add the free glTFast package (Package Manager, add by name: com.unity.cloud.gltfast), then drag the .glb into Assets.

Godot 4

Drop the .glb into the FileSystem dock. Godot imports it as a scene you can instance.

Blender

File, Import, glTF 2.0. From there you can also export to FBX, OBJ or STL.

import * as THREE from 'three';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';

const gltf = await new GLTFLoader().loadAsync('model.glb');
const model = gltf.scene;
scene.add(model);

// the model is in metres, +Y up, facing +Z, standing on the ground at the origin

// roll a locomotive along the track and turn its wheelsets (three.js)
const gltf = await new GLTFLoader().loadAsync('road-switcher.glb');
scene.add(gltf.scene);
const axles = [];
gltf.scene.traverse(o => { if (o.name.includes('Wheelset')) axles.push(o); });
function drive(dt, speed) {          // speed in m/s
  gltf.scene.position.z += speed * dt;
  for (const a of axles) a.rotation.x += speed * dt / 0.508;   // wheel radius about 0.51 m
}

Licence: free with credit (CC BY 4.0)

All models are made by vinish.dev and released under Creative Commons Attribution 4.0. You may use them in personal and commercial projects, change them and share them. The one condition is credit, for example in your game's credits, your app's about page or your video description:

"Road Switcher" by vinish.dev (https://vinish.dev/free-3d-models/), CC BY 4.0

Each file carries its own credit line inside it (the glTF asset.copyright field), and each zip has a CREDITS.txt. If you change a model, say so after the credit, for example "recoloured".

Questions

Do the wheels and trucks move?

Yes. Each truck or bogie is a node with its pivot at the centre, and each wheelset is a child node with its pivot on the axle, so wheels turn and trucks swing on curves.

Can the pantographs go up and down?

Yes. Each pantograph is a chain of nodes: turn the lower arm to raise or lower it. One is shown raised and one lowered on the twin electrics.

Do they fit the same track as the Trains pack?

Yes. They are standard gauge and share parts with the Trains pack, so they sit on its railway track piece.

Are these real locomotive classes?

No. They are our own generic designs with no makes, railway names, numbers or logos.

Can I use them in a paid game or video?

Yes. They are CC BY 4.0: free for commercial use, just credit vinish.dev.

Can I use these models in a commercial game?

Yes. CC BY 4.0 allows commercial use. Put the credit line in your credits or about screen.

Do I need an account?

No. There is no login, sign-up or email. Click Download and the file is yours.

Can I get OBJ, STL or glTF?

Yes. Press the arrow next to Download GLB, or open the 3D view, and pick glTF, OBJ or STL. Your browser makes the file from the GLB in a second or two. OBJ and STL have no animation. STL is in millimetres with Z up; the models are made of separate parts, so a slicer may need to repair or merge them before 3D printing. For FBX, import the GLB into Blender (File, Import, glTF 2.0) and export it.

Can I change the models?

Yes. You may edit, recolour or cut them up. Keep the credit and mention that you changed them.

More from vinish.dev

3D viewer

Loading 3D…
Drag to turn · scroll or pinch to zoom · double-click to look closer