Bitbybit Docs
    Preparing search index...

    Class DesignFromStepDto (Inputs.OCCT)

    A STEP file, its name, the seed of the ids and the folder of the shapes file, for design.fromStep, which turns the file into design documents.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalstep: string | ArrayBuffer | Uint8Array<ArrayBufferLike>
      • Optionalname: string
      • Optionalseed: string
      • Optionalfolder: string
      • Optionalunit: unitOfLengthEnum

      Returns DesignFromStepDto

    Properties

    step: string | ArrayBuffer | Uint8Array<ArrayBufferLike>

    The STEP file, as text or bytes.

    undefined
    
    name?: string

    The file's name, which names the shapes file, a lone part or assembly the file leaves unnamed, and the assembly that places shapes the file holds side by side.

    model.step
    
    seed?: string

    Text mixed into the documents' ids: the same file and seed give the same ids, so a second import replaces the first; another seed makes a copy.

    
    
    folder?: string

    The folder of the shapes file's uri, relative to the documents, such as assets; empty keeps the file beside them.

    
    

    The unit the documents are in: the shapes and the placements are scaled from the file's own unit into it.

    millimetre