Bitbybit Docs
    Preparing search index...

    Class SweepDto<T> (Inputs.Manifold)

    A cross-section, a path and the corner settings for crossSection.operations.sweep, which carries the cross-section along the path into a solid.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    crossSection: T

    The profile to carry, drawn around the origin of its XY plane, which follows the path.

    The points the path runs through, at least two.

    cornerRadius?: number

    How much the path's corners are rounded; 0 keeps them sharp, mitred so the solid keeps its width.

    0
    

    0

    Infinity

    0.1

    circularSegments?: number

    How many segments a whole turn of a rounded corner is divided into; more is rounder.

    32
    

    3

    Infinity

    1

    xDirection?: Vector3

    Where the profile's X axis points at the start of the path, turned square to it; left out, one is chosen. The profile then follows the path's turns without twisting.

    undefined
    

    true