brepjs API Reference
    Preparing search index...

    Function linearPattern

    • Create a linear pattern of a shape along a direction.

      Parameters

      • shape: Shape3D

        The shape to replicate

      • direction: Vec3

        Direction vector for the pattern

      • count: number

        Total number of copies (including the original)

      • spacing: number

        Distance between each copy along the direction

      • Optionaloptions: BooleanOptions

        Boolean options for the fuse operation

      Returns Result<Shape3D>

      Fused shape of all copies