Converting Onshape & STEP Files to glTF
AdvantageScope's 3D view accepts custom models for fields and robots, which can be installed using the process described here. All models must use the binary glTF file format (.glb), chosen for its small file sizes and fast loading performance.
glTF files come in two formats: JSON (.gltf) and binary (.glb). AdvantageScope requires the binary .glb format, which bundles all model data into a single file.
Converting Onshape to STEP
While Onshape includes an export option for glTF, this often produces very large files that are difficult to manage. Instead, it is recommended to export from Onshape to STEP, then follow the instructions in the next section to convert to binary glTF (.glb).
- After opening the Onshape file, right-click on the main assembly and choose "Export...":
- In the options pop-up, ensure that the export format is "STEP" and click "Export":
- Wait for the file to convert and download. This may take a few minutes.
Converting STEP to glTF (.glb)
-
Download CAD Assistant. This free application is able to convert between many 3D formats, including STEP and glTF (
.glb). -
Open CAD Assistant and select the STEP file to convert:
-
Wait for the STEP file to import. This may take a few minutes.
-
Click the "Save" icon:
- Choose a save location, then use the drop-down to switch the export format to "glb" (binary glTF):
- Click the gear icon, then enable "Merge faces within the same part":
- Click the "Save" icon and wait for the export to finish:
Once exported, rename the .glb file (such as model.glb) and add it to your custom asset folder as described on the Custom Assets page.