gumyr / build123d

A python CAD programming library
Apache License 2.0
496 stars 81 forks source link

Edge.reversed breaks OCCT Topology #532

Open MatthiasJ1 opened 7 months ago

MatthiasJ1 commented 7 months ago

"The e.reversed() method is creating new edges with new vertices all the the direction "fixed" which is breaking the connection back to the original vertices." (https://github.com/gumyr/build123d/issues/474#issuecomment-1913639183)

This is supposed to be done with TopoDS_Shape::Orientation

gumyr commented 7 months ago

IIRC TopoDS_Shape::Orientation does not actually reverse the edge and doesn't really fix the problem. Unless you can show how it can be done, this issue will be closed as there is nothing more that can be done.

MatthiasJ1 commented 7 months ago

IIRC TopoDS_Shape::Orientation does not actually reverse the edge

It do

gumyr commented 7 months ago

Please show me a working example of position_at behaving differently before and after.

MatthiasJ1 commented 7 months ago

https://dev.opencascade.org/doc/overview/html/occt_user_guides__modeling_data.html#occt_modat_5_2_2

gumyr commented 7 months ago

I've spent a lot of time on time on trying to get this to work in the past and can't afford to spend time on it now. Maybe in the future I'll look at it again but no guarantees.