Open source · Runs in your browser

SceneEditor

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.

SceneEditor showing a model of the Ingenuity Mars helicopter, with the materials library panel open beside it

What SceneEditor does

  • Opens CAD, BIM and 3D files

    glTF and GLB, Collada, STL, STEP (AP203, AP214, AP242) and IFC (IFC2X3 and the IFC4 line). Drop files on the view or open them from the Scene tab.

  • Edits lights and materials

    Adjust the lights and materials of any model, take materials from loaded files, and save lights and materials as libraries to reuse.

  • Photorealistic rendering

    The Photorealistic tab ray traces the scene progressively in Web Workers, with shadows, reflections and global illumination, and saves the image as PNG.

  • Exports glTF

    Save the edited scene as glTF to use it in other three.js applications.

Inside SceneEditor

SceneEditor opens STEP and IFC files and renders photorealistic images with these libraries. Each is a standalone TypeScript package you can use in your own three.js application.

CAD geometry

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.

  1. mc-curves
  2. mc-surfaces
  3. mc-solids

mc-curves

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.

  • NURBS
  • Conics
  • No dependencies

mc-surfaces

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.

  • NURBS
  • Sweeps
  • Lofts
  • Built on mc-curves

mc-solids

CAD solids in boundary representation. Primitives, polyhedra, and extruded, revolved, swept and lofted solids, with volume and inertia, closed meshes, sections and boolean operations.

  • B-rep
  • Booleans
  • Built on mc-surfaces