brepjs API Reference
    Preparing search index...

    Function circularPattern

    • Create a circular pattern of a shape around an axis.

      Parameters

      • shape: Shape3D

        The shape to replicate

      • axis: Vec3

        Rotation axis direction

      • count: number

        Total number of copies (including the original)

      • fullAngle: number = 360

        Total angle to spread copies over in degrees (default: 360)

      • center: Vec3 = ...

        Center point of rotation (default: [0,0,0])

      • Optionaloptions: BooleanOptions

        Boolean options for the fuse operation

      Returns Result<Shape3D>

      Fused shape of all copies