how to project a point to surface?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 16
- Joined: Mon Jul 29, 2019 11:07 pm
how to project a point to surface?
I have an existing Part.BSplineSurface object, and a Part.Point object, now I want to project the point on to the surface, is there any API can do this?
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: how to project a point to surface?
f is the face
e is an edge
d is a vector
e is an edge
d is a vector
Code: Select all
shape=f.makeParallelProjection(e,d)
shape=f.makePerspectiveProjection(e,d)