Shape.isInside

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Shape.isInside

Post by MRx »

Hi, this isInside operation is extremely slow in the path module (Shape.isInside(poffMinus, 0.005, True)), it takes almost 20 minutes to complete certain operations here. Aside of that there are also use cases which are not covered by this kind of edge finding.


Selecting Faces will result in over 100 edges sometimes, so I use to go back to select edges which works okay (but still very slow).

Did anyone do some research how to eliminate this costly isInside method?
biIhO3.png
biIhO3.png (9.09 KiB) Viewed 1629 times
I added edge extensions to the edge based selection, initially I was looking to draw the arc based on Shape.isInside (but it's an overkill so I removed it completely and it's just drawing a full circle now)
Post Reply