Bitbybit Docs
    Preparing search index...

    Class SaveStepDto<T> (Inputs.OCCT)

    A shape, a file name and axis options for io.saveShapeSTEP, which writes the shape as a STEP file.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    shape: T

    The shape written to the file.

    undefined
    
    fileName?: string

    The name the downloaded file gets; .step is appended when missing.

    shape.step
    

    yUpToZUp writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set; keep writes the model's axes. zUpToYUp is refused.

    keep
    
    adjustYtoZ?: boolean

    When true, the file is turned as upAxis yUpToZUp does; false, its old default, decides nothing. True 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

    fromRightHanded?: boolean

    When true, upAxis yUpToZUp turns the shape 90 degrees about X instead of swapping, for a right-handed scene.

    Set the conventions once instead, bitbybit.setConventions(1), which maps every file for the engine in use.

    false
    
    tryDownload?: boolean

    When true, a browser download of the file is started where that is possible; the kernel itself only returns the text.

    true
    

    The unit the shape's numbers are in. The file is written in millimetres, the shape scaled from this unit, so any CAD tool opens it at its true size.

    millimetre