mc-step-import
Reads STEP (ISO 10303-21) files into three.js, in TypeScript with no WebAssembly. Tessellates B-rep solids into watertight meshes, with the assembly structure, colours and units.
Open source · Runs in your browser
A three.js scene editor that runs in the browser. Open CAD, BIM and 3D models, edit their lights and materials, and render photorealistic images.
No installation or sign-in. Models you open stay in your browser. Read the README for the details.

glTF and GLB, Collada, STL, STEP (AP203, AP214, AP242), IFC (IFC2X3 and the IFC4 line), IGES, Rhino 3DM, DXF, Blender, FBX, OBJ, 3DS, PLY, 3MF, SVG, USD, USDZ, CityJSON, VRML, X3D, AMF, OFF, KMZ, Draco, G-code toolpaths, LAS/LAZ, E57, XYZ and PCD point clouds, Ogre, and HDR and EXR environment maps. Drop files on the view, open them from the Scene tab, or open a model from its web address, with the textures it references; a link with ?url= opens SceneEditor with that model loaded.
Adjust the lights and materials of any model, take materials from loaded files, and save lights and materials as libraries to reuse.
The Photorealistic tab ray traces the scene progressively in Web Workers, with shadows, reflections and global illumination, and saves the image as PNG.
Save the edited scene as glTF or GLB, with Draco compression if wished, OBJ with materials, STL and 3MF for 3D printing, PLY for meshes and point clouds, or USDZ for AR Quick Look.
SceneEditor opens STEP, IFC, IGES, Rhino, DXF, Blender, FBX, OBJ, USD, CityJSON, Ogre, point clouds, G-code toolpaths and other files and renders photorealistic images with these libraries. Each is a standalone TypeScript package you can use in your own three.js application.
Reads STEP (ISO 10303-21) files into three.js, in TypeScript with no WebAssembly. Tessellates B-rep solids into watertight meshes, with the assembly structure, colours and units.
Reads IFC building models into three.js, in TypeScript with no WebAssembly. Meshes with colours, the spatial structure, and each element’s attributes and property sets.
Reads AutoCAD DXF drawings, ASCII or binary, into three.js. Lines, curves, hatches, 3D faces and meshes in their layers and colours, with blocks expanded where they are inserted.
Reads Blender .blend files into three.js without Blender, from version 2.5 to 5.x. Builds the scene’s objects, meshes, node materials with textures, lights and cameras.
Reads Ogre 3D resources into three.js: binary and XML meshes, material scripts and dotScene scenes, loose or zipped. Builds meshes, materials, textures, lights and cameras.
Reads IGES CAD files into three.js. Tessellates trimmed NURBS and analytic surfaces and B-rep solids, with free curves, colours, levels and units.
Reads Rhino .3dm files into three.js with rhino3dm: meshes, Breps, extrusions, SubDs, curves and block instances, by layer, with materials and units.
Reads Wavefront OBJ models into three.js with their MTL material libraries and textures, loose or zipped.
Reads binary and ASCII FBX files into three.js: meshes, materials, embedded or external textures, skinning, morphs and animations, in metres.
Reads 3D Manufacturing Format packages into three.js: objects, components, build items, colours and textures, in their units.
Reads Stanford PLY files, ASCII or binary, into three.js as meshes or point clouds, with normals, colours and texture coordinates.
Reads Autodesk 3D Studio .3ds files into three.js with their meshes, materials and textures.
Turns SVG drawings into flat three.js shapes: filled areas and stroked outlines, in their colours, the right way up.
Reads Universal Scene Description stages, text or binary crate, into three.js with their referenced layers, preview materials and textures.
Reads USDZ packages, the zipped USD of AR Quick Look, into three.js, checking them against the USDZ specification.
Reads CityJSON and CityJSONSeq 3D city models into three.js: city objects with semantic surfaces, levels of detail, materials and attributes.
Draws G-code toolpaths in three.js: CNC programs by tool, with rapids, arcs, helices and drilling cycles, and 3D-printer programs by layer.
Reads VRML 2.0 (VRML97) worlds, plain or gzipped, into three.js, with their shapes, materials, textures and transforms.
Reads X3D scenes in the XML and classic encodings into three.js, rewriting X3D 4 nodes as their VRML equivalents.
Reads Radiance HDR images as environment maps that light three.js scenes and show behind them.
Reads OpenEXR images, with any compression three.js decodes, as environment maps for image-based lighting.
Reads LAS and LAZ LiDAR point clouds into three.js, coloured by colour, intensity, classification or height.
Reads E57 3D scan files into three.js: each scan a point cloud placed by its pose, with colours and intensity.
Reads text point clouds into three.js, working out the colour, intensity and normal columns.
Reads Point Cloud Library .pcd files, ASCII, binary or compressed, into three.js point clouds.
Reads Additive Manufacturing Format files, plain or zipped, into three.js, with materials and units.
Reads Object File Format meshes and their colour, normal and texture variants into three.js.
Reads Google Earth KMZ archives into three.js: the Collada models their placemarks place, with textures.
Decodes Google Draco compressed meshes and point clouds into three.js, in Node or the browser.
Writes three.js scenes as glTF: binary GLB or text glTF, optionally with Draco mesh compression.
Writes three.js scenes as Wavefront OBJ with MTL materials and PNG textures, in one zip.
Writes three.js meshes as binary or ASCII STL for 3D printing, in millimetres and Z up.
Writes three.js meshes as 3MF packages for 3D printing, with colours, units and metadata.
Writes three.js meshes and point clouds as PLY, with normals, colours and texture coordinates.
Writes three.js scenes as USDZ for AR Quick Look, with physically based materials and textures.
Ray traces three.js scenes with shadows, reflections, refraction and global illumination. Shades like three.js, renders progressively in Web Workers, and runs headless in Node.js.
Curves, surfaces and solids for CAD in TypeScript. Each library is built on the one before it, and all share the same vector, frame and transform types.
CAD curves in TypeScript. Lines, conics, splines, NURBS, spirals and roulettes share one ICurve interface to evaluate, measure, tessellate, intersect, trim, transform and save them.
CAD surfaces in TypeScript. Planes, quadrics, NURBS, and swept, lofted and blended surfaces share one ISurface interface. Any mc-curves curve can be extruded, revolved, lofted or swept.
CAD solids in boundary representation. Primitives, polyhedra, and extruded, revolved, swept and lofted solids, with volume and inertia, closed meshes, sections and boolean operations.