brepjs API Reference
    Preparing search index...

    Function measureLinearProps

    • Measure linear properties of any shape.

      For edges this is the arc length; for wires/compounds it is the total length of all edges.

      Parameters

      • shape: AnyShape

        Any shape whose linear extent is to be measured.

      Returns LinearProps

      Length, center of mass, and raw mass property.

      measureLength for a shorthand that returns only the length number.