Bitbybit Docs
    Preparing search index...

    Class LoadStepOrIgesDto (Inputs.OCCT)

    File content, a file name and an axis option for io.loadSTEPorIGES, which reads STEP or IGES into a shape.

    Index

    Constructors

    Properties

    filetext: string | ArrayBuffer

    The file's text for .step, .stp, .iges and .igs, or an ArrayBuffer for the compressed .stpz and .igz forms.

    undefined
    
    fileName?: string

    The file name; its extension decides whether it is read as STEP or IGES and whether it is compressed.

    shape.step
    

    Whether the shape turns: zUpToYUp turns the file's Z-up into this library's Y-up, and keep leaves the file's axes. yUpToZUp is refused.

    zUpToYUp
    
    adjustZtoY?: boolean

    When false, the shape keeps its axes as keep does; true, its old default, decides nothing. False wins over upAxis at its default; beside another chosen turn it is refused.

    Give upAxis instead; this flag goes in the next major version.

    undefined
    

    true

    The unit the shape comes back in, scaled from whatever unit the file is written in. io.fileLengthUnit tells which that is.

    millimetre