for a given FreeCAD.Vector i want to check if there is a face of a solid object nearby.
For example i create a box with the default edge length of 10 mm with:
Code: Select all
App.ActiveDocument.addObject("Part::Box","Box")
Code: Select all
poi = FreeCAD.Vector(5,10,5)
Code: Select all
foi = App.ActiveDocument.Box.Shape.Faces[4]
So i call:
Code: Select all
foi.isInside(poi,2.5,True)
False:
What can i do? I found this unsolved old post https://forum.freecadweb.org/viewtopic. ... =3&t=31524 with a similar problem.
Using:
FreeCAD 0.19
Windows 10