Skip to content
Shapemetry

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 = 5000000

parseStepEntities

function

parseStepEntities(content: string, maxEntities?: number): Map<number, StepEntity>

readStep

function

readStep(content: string, maxEntities?: number): string

readStepShell

function

readStepShell(content: string, maxEntities?: number): string

readStepShellDocuments

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): string

writeStepCompound

function

writeStepCompound(handles: string[]): string

writeStepDocument

function

writeStepDocument(solids?: string[], shells?: StepShellBody[]): string
Last updated: 📖 1 min readEdit on GitHub