BHoM / BHoM/Revit_Toolkit

Pulled Openings from CurtainWalls sometimes have their edges in the wrong order/direction, resulting in invalid OutlineEdge geometry for Area and other methods

Open
#1,518 0 comments 0 reactions 1 assignee Claimed by @enarhi View on GitHub
type:bug
Dominant language
C#
Stars
35
Forks
16
Avg merge
7d 29m
Merged PRs (30d)
2

Description

#### Description:
When Pulling from Revit, the Curtain Wall openings match edge directions from Revit, resulting in outline geometry that is invalid per BHoM standards and therefore fails for Area and other query methods. The example below is a typical case where a Curtain Wall is shown, and the indicated opening (along with many others) has one edge (Edge 3) in an opposite direction than the others, leading to the Area method failing as the IsClosed method thinks this is an open PolyCurve.
![image](https://github.com/user-attachments/assets/1b2a8482-2492-41bd-9a3a-93c1e59a819c)

#### Steps to reproduce:
Pull from a Curtain wall, and check the resulting pulled Openings.

#### Expected behaviour:
Openings defined with BHoM compliant geometry.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.