Bitbybit Docs
    Bereite Suchindex vor...

    Klasse PathPlacementDto (Inputs.OCCT)

    How a 2D path is placed into 3D: scaled, flipped from SVG's downward Y to Y up, and moved to an origin. The part the path and SVG inputs share.

    Index

    Konstruktoren

    Eigenschaften

    Konstruktoren

    • Parameter

      • Optionalscale: number
      • OptionalflipY: boolean
      • Optionalorigin: Point3

      Rückgabewert PathPlacementDto

    Eigenschaften

    scale: number

    A factor applied to every path coordinate; 1 keeps the size.

    1
    
    flipY: boolean

    When true, Y is negated so a drawing made with Y pointing down, as in SVG, comes out upright.

    true
    
    origin: Point3

    The point the scaled and flipped drawing is moved to.

    [0, 0, 0]