Go to file
sladro 8218502ee8 chore: import existing STP2GLB project
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2025-10-22 14:36:07 +08:00
.claude chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
.github/workflows chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
.serena chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
cmake chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
files chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
recipes chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
src chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
tests chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
.gitattributes chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
.gitignore chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
aa-log.json chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
aa.glb chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
CLAUDE.md chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
CMakeLists.txt feat: add HTTP/HTTPS URL input support for STP files 2025-10-11 17:19:35 +08:00
CMakePresets.json chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
dragon_drc.glb chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
main.py chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
out1.glb chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
out.glb chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
pixi.lock chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
pixi.toml chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
README.md chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
STP2GLB.exe chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
test_wrapper.py chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
test-log.json chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
test.glb chore: import existing STP2GLB project 2025-10-22 14:36:07 +08:00
USAGE.md feat: add HTTP/HTTPS URL input support for STP files 2025-10-11 17:19:35 +08:00

Stp2Glb

Usage

STEP to GLB converter
Usage: STP2GLB.exe [OPTIONS]

Options:
  -h,--help                   Print this help message and exit
  --stp REQUIRED              STEP filepath
  --glb REQUIRED              GLB filepath
  --lin-defl :FLOAT in [0 - 1] [0.1]
                              Linear deflection
  --ang-defl :FLOAT in [0 - 1] [0.5]
                              Angular deflection
  --rel-defl                  Relative deflection
  --debug                     Debug mode. More robust but slower
  --solid-only                Solid only
  --max-geometry-num [0]      Maximum number of geometries to convert
  --filter-names-include      Include Filter name. Command separated list
  --filter-names-file-include Include Filter name file
  --filter-names-exclude      Exclude Filter name. Command separated list
  --filter-names-file-exclude Exclude Filter name file
  --tessellation-timeout [30]
                              Tessellation timeout

Development

Install Pre-requisites

The pre-requisites build requirements are conda packages handled by using pixi.

Note that on windows the MSVC c++ compiler toolchain is used. So a pre-requisite on windows is that you have installed VS or VS build tools from https://visualstudio.microsoft.com/downloads/?q=build+tools

Building

To build the STP2GLB executable using shared dependencies, run the following command:

pixi run build && pixi run install

To build the STP2GLB executable using static dependencies, run the following command:

pixi run -e static build && pixi run -e static install

Local IDE development

You can use the presets in the CMakePresets.json file (which points to the pixi environment). Just make sure you've either installed the pixi environment using pixi install or have run any of the build commands above.

Performance metrics

Todo