error I wanted to post about, as i already tested if the profiles are closed.Message: class Standard_ConstructionError BRepFill :: profiles are inconsistent
Then I found out, that contrary to what the .isClosed() function tells me, the wire isn't actually closed, see screenshots.
Code: Select all
p = Part.read("C:/temp/error94.brp")
p.Wires
#[<Wire object at 0000022067457E30>]
p.Wires[0].isClosed()
#True
[vertex.Point for edge in p.Wires[0].Edges for vertex in edge.Vertexes]
#[Vector (-27.502025096552103, -27.5, 0.0), Vector (-27.5, 0.0, 0.0), Vector (-1.52262870366859e-08, -27.5, 0.0), Vector (-27.5, 0.0, 0.0), Vector #(-27.502025096552103, -27.5, 0.0), Vector (-1.52262870366859e-08, -27.5, 0.0)]