Skip to content

mesh-compile: planar faces still triangulated with earcut (same T-junction failure as #253) #260

Description

@GeneralPawz

Found while fixing #253. In axiolid-construct, earcut produced a triangulation with the correct total area but a T-junction: an edge ran straight past a hole's corner. Extruded meshes were then open, and an area check can't detect it. #253 replaced earcut in construct with a certified ear clipper (exact `orient2d` decisions, plus an edge-parity certificate that refuses by name).

`axiolid-mesh-compile` still uses earcut for planar faces, in `planar.rs` (authored polygon faces, including the #254 warped-face path) and in `brep.rs` (planar B-rep faces with holes). The same T-junction can open those meshes.

Done when

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs-triageFiled but not yet accepted, sized, or scheduled

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions