OptionalstepData: string | File | Blob | ArrayBuffer | Uint8ArraySTEP data as string (for plain text files), ArrayBuffer, Uint8Array, File, or Blob. Supports compressed .stpz files - gzip-compressed data is automatically decompressed.
Read color attributes from STEP file. Required for colored glTF output.
Read name attributes from STEP file. Disable for faster parsing if names are not needed.
Read material attributes from STEP file. Required for material properties in glTF.
Read layer attributes from STEP file. Usually not needed for glTF output.
Read validation properties from STEP file. Usually not needed for glTF output.
Mesh linear deflection (triangulation precision).
When meshRelative is true (default), this is a fraction of each edge's length
(e.g. 0.005 = 0.5%) so deflection auto-scales with feature size.
When meshRelative is false, this is absolute in model units (mm for STEP).
Mesh angular deflection in radians. Controls curvature-based refinement.
Enable parallel meshing for multi-threaded builds. Recommended to keep enabled.
Face count threshold for the legacy per-sub-shape meshing fallback. Default -1 means single-pass meshing of the whole compound (fastest, recommended). Set to a positive value (e.g. 100000) to fall back to per-solid meshing for very large assemblies in memory-constrained environments.
Use size-aware relative deflection per face (recommended). When true,
meshDeflection is interpreted as a fraction of each edge's length.
Set to false to use absolute deflection in model units.
Enable internal vertices mode for more accurate mesh on complex faces.
Enable control surface deflection for better quality on curved surfaces.
Merge faces within a single part into one mesh. Produces smaller file sizes.
Prefer 16-bit indices when merging faces. Produces smaller binary data when mesh fits in 16-bit indices.
Enable parallel glTF writing. Recommended for large files.
Embed textures in GLB output. Only applies to binary (GLB) format.
Export UV coordinates even without textures.
Node naming format in output glTF.
Mesh naming format in output glTF.
Transformation format in output glTF.
Convert Z-up (OCCT default) to Y-up (glTF standard). Set to false to keep Z-up coordinate system.
Scale factor for the model. Useful for unit conversion (e.g., 0.001 to convert mm to meters). Set to 1.0 for no scaling.
Enable Draco geometry compression on output.
Draco compression level - 0 (fastest, largest) ... 10 (slowest, smallest).
Quantization bits for vertex positions.
Quantization bits for normals.
Quantization bits for texture coordinates (UVs).
Quantization bits for vertex colors.
Quantization bits for generic attributes.
Apply a single quantization grid across all attributes.
Advanced options for converting STEP to glTF format with explicit Draco geometry compression settings. Mirrors
ConvertStepToGltfAdvancedDtoand adds the 8 Draco knobs supported by the underlying native function.