brepjs API Reference
    Preparing search index...

    Function faceAxis

    • Get a face's axis of symmetry — a point on the axis plus a unit direction — for analytic faces that have one (e.g. a cylinder's axis). Returns null when the face has no well-defined axis or the active kernel can't determine it.

      Parameters

      Returns { direction: Vec3; origin: Vec3 } | null