svalinn / parastell

Parametric 3-D CAD modeling toolset for stellarator fusion devices
MIT License
24 stars 11 forks source link

Check if surface will be self intersecting #143

Open Edgar-21 opened 3 weeks ago

Edgar-21 commented 3 weeks ago

Given the set of offset vectors defining a surface, it should be possible to check if they cross. This would be a useful bit of feedback to a user if they are attempting to create a geometry that is self intersecting.

Separate from detecting the intersection, it could be possible to "repair" the surface by adjusting the length of the offset vectors so they meet rather than cross.