brepjs API Reference
    Preparing search index...

    Function makePlane

    • Create or copy a Plane.

      When called with a Plane object, returns a shallow copy. When called with a PlaneName string (or no arguments), resolves the named plane with an optional origin offset.

      Parameters

      • plane: Plane

        A Plane object to copy, or a PlaneName string to resolve.

      Returns Plane

      plane 'XY'

    • Create or copy a Plane.

      When called with a Plane object, returns a shallow copy. When called with a PlaneName string (or no arguments), resolves the named plane with an optional origin offset.

      Parameters

      • Optionalplane: PlaneName

        A Plane object to copy, or a PlaneName string to resolve.

      • Optionalorigin: number | PointInput

        Origin point or scalar offset along the plane normal.

      Returns Plane

      plane 'XY'