cadquery
cadquery copied to clipboard
Distance between a point and a line/plane
I see the following method stubs in occ_impl/geom.py:
def distanceToLine(self):
raise NotImplementedError("Have not needed this yet, but OCCT supports it!")
...
def distanceToPlane(self):
raise NotImplementedError("Have not needed this yet, but OCCT supports it!")
Any chance these could be implemented? Sure would be nice to have a clean way of accessing this functionality at the cadquery level, instead of digging into OCCT objects.
I think there is support for implementing these, but we have limited resources like most other open source projects. We do accept PRs from the community.
For reference, I think these are the relevant OCCT functions: