Placement interpolation (ScLERP)

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Placement interpolation (ScLERP)

Post by DeepSOIC »

since 0.19.18519 (git commit f1a8dc4b2c0db3655e2c3365e8b679b039fca31d):

FreeCAD supports raising placements to fractional power using ScLERP interpolation. The interpolation takes a helical path.
* as pow() method in python, to interpolate between origin and the placement
* as sclerp() method in python, to interpolate between two placements
* as ** operator in python
* as ^ operator in expressions

And a new Lattice2 feature based on it:
Image
(the two big placements are inputs, the helix of small placements is the interpolation/extrapolation)
Post Reply