hypar-io / Elements

The smallest useful BIM.
https://www.hypar.io
MIT License
349 stars 74 forks source link

Polygon: delete last vertex if it equals the first one #1026

Open katehryhorenko opened 1 year ago

katehryhorenko commented 1 year ago

BACKGROUND: In drywall function the data exported from Revit and then proceed by transformation/union etc. can cause the creation of polygon where the last vertex duplicated the first one. "Edges" method tries to create a segment from this two points and fails (the line is too short)

DESCRIPTION:

TESTING:

REQUIRED:


This change is Reviewable