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!
User avatar
DeepSOIC
Posts: 7149
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Placement interpolation (ScLERP)

Postby DeepSOIC » Sat Oct 12, 2019 3:15 pm

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)