Can we work in three.js with .step, .x_t, .x_b?How?

Hi I am frontend dev and I have a trouble with this formats. I need to show 3D model. With one format - .stl I found “three-stl-loader” - and .stl I can show.

There are no loaders in three.js for the mentioned CAD formats. You have to convert them to something different like STL before you can import them.

It’s not recommended to use third-party npm packages like three-stl-loader to import loaders. You can import STLLoader from the default three package like so:

import { STLLoader } from 'three/examples/jsm/loaders/STLLoader.js';
1 Like