Bitbybit Docs
    Preparing search index...

    Class CreateAssemblyPartDto<T> (Inputs.OCCT)

    A part definition for assembly.manager.createPart: a shape with an id that instance nodes place, as many times as needed.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    id: string

    The id instance nodes refer to the part by; it must be unique among the parts.

    undefined
    
    shape: T

    The geometry of the part, shared by every instance of it.

    undefined
    
    name: string

    The name of the part, written into STEP files and shown by viewers.

    undefined
    
    colorRgba?: ColorRGBA

    The color of the part as { r, g, b, a } from 0 to 1; left out, the part has no color of its own.

    undefined
    

    true

    0

    1