Bitbybit Docs
    Preparing search index...

    Class OffsetOpenDto<T, U> (Inputs.OCCT)

    An open wire or an edge, a distance and the corner style for shapes.wire.offsetOpen, which draws the offset curve on one side of it instead of a loop around it.

    Type Parameters

    • T
    • U
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T
      • U

      Parameters

      • Optionalshape: T
      • Optionalface: U
      • Optionaldistance: number
      • OptionaljoinType: joinTypeEnum

      Returns OffsetOpenDto<T, U>

    Properties

    shape: T

    The open wire or edge to offset, lying in a plane; a straight one needs face to give it one.

    undefined
    
    face?: U

    A flat face whose plane the offset lies in, seen from the side it looks to; leave it out to use the plane the wire lies in.

    undefined
    

    true

    distance?: number

    How far the offset curve lies from the wire, in model units: positive to the right of the direction the wire runs, negative to the left.

    0.2
    

    -Infinity

    Infinity

    0.1

    joinType?: joinTypeEnum

    How the offset pieces meet where the wire has a corner: arc rounds them, intersection extends them to a sharp corner, tangent keeps them tangent.

    arc