Hi Wassim,
I have studies the following BREP shape consisting of Wires:
The goal is tho go to a cell which later can be used. I did not have success thusfar.
Side note:
Thinking the cause of not being able to form a cell might be that the Wires are not planar I went ahead using
pwires =[]
for i in wires:
pnwire = Wire.Planarize(i)
pwires.append(pnwire)
Here the controid of the plane did not read correctly as default.
So I used:
ctrd = Topology.Centroid(i) pnwire = Wire.Planarize(i,ctrd)
The cell is not formed because Face/Wire on index 6 is forming an incorrect face. It is not using the outer edges (in red):
Maybe because the centre point of the face in not on the face?
Does this face need to be triangulated before going into Topologicpy or can Topologicpy handle this exception?
Hi Wassim, I have studies the following BREP shape consisting of Wires:
The goal is tho go to a cell which later can be used. I did not have success thusfar.
Side note: Thinking the cause of not being able to form a cell might be that the Wires are not planar I went ahead using
Here the controid of the plane did not read correctly as default.![image](https://github.com/wassimj/topologicpy/assets/167056277/68afe0b4-3978-453b-9a7e-9c299621a59a)
So I used:
ctrd = Topology.Centroid(i) pnwire = Wire.Planarize(i,ctrd)
The cell is not formed because Face/Wire on index 6 is forming an incorrect face. It is not using the outer edges (in red): Maybe because the centre point of the face in not on the face?![12](https://github.com/wassimj/topologicpy/assets/167056277/733a802e-3159-4f4c-864c-34c72e93cb7d)
Does this face need to be triangulated before going into Topologicpy or can Topologicpy handle this exception?
Kind regards, Martin Vrielink
BREPS: RevitJoinedMassWires.zip Notebook: Situation 02 - Face triangulate.zip