OptionalstepData: string | ArrayBuffer | Uint8Array<ArrayBufferLike> | Blob | FileThe STEP file as text, ArrayBuffer, Uint8Array, File or Blob; gzip-compressed .stpz content
is unpacked on its own.
OptionalmeshHow closely triangles follow curved surfaces: with meshRelative true a fraction of each
edge's length, otherwise an absolute distance in model units.
OptionalmeshThe largest angle, in radians, between the normals of neighboring triangles; smaller gives smoother curves and more triangles.
OptionalmeshWhen true, meshPrecision scales with each part's size, so small fasteners and large
housings both mesh well; when false it is an absolute distance.
OptionalinternalWhen true, flat and cylindrical faces get vertices inside them, not only along their edges; when false, triangles can cut straight across a wide cylindrical face such as a bore.
OptionalcontrolWhen true, an extra pass refines triangles that bulge beyond the precision, at the cost of speed.
OptionaluseWhen true, the geometry is compressed with Draco.
OptionaldracoHow hard Draco compresses, from 0 for fastest and largest to 10 for slowest and smallest.
OptionaldracoHow many bits each vertex position keeps; fewer bits mean a smaller file and less precision.
OptionaldracoHow many bits each normal keeps; fewer bits mean a smaller file and less precision.
OptionaldracoHow many bits each texture coordinate keeps; fewer bits mean a smaller file and less precision.
OptionaldracoHow many bits each vertex color keeps; fewer bits mean a smaller file and less precision.
OptionaldracoHow many bits other vertex attributes keep; fewer bits mean a smaller file and less precision.
OptionaldracoWhen true, one quantization grid is used for every attribute instead of one per attribute.
A STEP file, meshing settings and Draco settings for
io.convertStepToGltfWithDraco, which converts it into a Draco-compressed binary glTF.