Io - STEP
API reference — the STEP doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.
import { readStep, writeStep } from '@huukhanhnguyen/io'Source: ./step. See all formats or the Guide.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
MAX_STEP_ENTITIES
const
const MAX_STEP_ENTITIES = 5000000parseStepEntities
function
parseStepEntities(content: string, maxEntities?: number): Map<number, StepEntity>readStep
function
readStep(content: string, maxEntities?: number): stringreadStepShell
function
readStepShell(content: string, maxEntities?: number): stringreadStepShellDocuments
function
readStepShellDocuments(content: string, maxEntities?: number): StepBrepDocument[]readStepShells
function
readStepShells(content: string, maxEntities?: number): string[]readStepSolids
function
readStepSolids(content: string, maxEntities?: number): string[]writeStep
function
writeStep(handle: string): stringwriteStepCompound
function
writeStepCompound(handles: string[]): stringwriteStepDocument
function
writeStepDocument(solids?: string[], shells?: StepShellBody[]): string