Move affine3d_frame_map to transforms.scad and rename to frame_map.

Add module version.  Change all calls.
This commit is contained in:
Adrian Mariano
2021-09-06 18:07:03 -04:00
parent 4fee72f517
commit 0aad39c7e5
7 changed files with 102 additions and 72 deletions

View File

@@ -918,7 +918,7 @@ module generic_threaded_rod(
dummy1 = assert(_r1>depth && _r2>depth, "Screw profile deeper than rod radius");
map_threads = right((_r1 + _r2) / 2) // Shift profile out to thread radius
* affine3d_skew(sxz=(_r2-_r1)/l) // Skew correction for tapered threads
* affine3d_frame_map(x=[0,0,1], y=[1,0,0]) // Map profile to 3d, parallel to z axis
* frame_map(x=[0,0,1], y=[1,0,0]) // Map profile to 3d, parallel to z axis
* scale(pitch); // scale profile by pitch
hig_table = [
[-twist/2-0.0001, 0],