Bitbybit Docs
    Preparing search index...

    Class SketchStrokeDto<T> (Inputs.OCCT)

    A wire, a width and how to finish its ends and corners for sketch.stroke, which outlines the wire as if drawn with a pen that wide.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    shape: T

    The wire or edge to outline, lying in the frame's plane.

    undefined
    
    width?: number

    How wide the stroke is, in model units; it reaches half the width to each side.

    1
    

    0

    true

    Infinity

    0.1

    How the two ends of an open wire are finished; a closed wire has no ends.

    round
    

    How the outline goes around the wire's corners: arc rounds them, intersection keeps them sharp, tangent continues each side tangentially.

    arc
    

    The frame whose plane the wire lies in. Leave it out for the ground plane.

    undefined
    

    true

    makeFace?: boolean

    When true, the outline becomes a face; a closed wire gives a ring, a face with one hole.

    true