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 } with every channel from 0 to 1; leave it out for the default gray.

    {"r":0.5,"g":0.5,"b":0.5,"a":1}
    

    0

    1