diff --git a/skin.scad b/skin.scad index 45af668a..384e3d36 100644 --- a/skin.scad +++ b/skin.scad @@ -2037,7 +2037,7 @@ module spiral_sweep(poly, h, r, turns=1, taper, r1, r2, d, d1, d2, internal=fals // knot_path = [ for (i=[0:k-1]) knot(360*i/k/gcd(p,q),R,r,p,q) ]; // normals = [ for (i=[0:k-1]) knot_normal(360*i/k/gcd(p,q),R,r,p,q) ]; // path_sweep(ushape,knot_path,normal=normals, method="manual", closed=true); -// Example(Med,NoScales,VPR=[355.50,0.00,355.60],VPD=140.00,VPT=[0.00,0.00,0.00],): The left hand example uses the automatically computed derivatives. The example on the right uses a user-supplied tangent to ensure that the ends are aligned with the coordinate system. Even with a simple circular arc you may find that the ends are not aligned as expedted by the automatically computed approximate tangent vectors. +// Example(Med,NoScales,VPR=[0.0,0.00,0.00],VPD=28.82,VPT=[0.00,0.00,0.00],): The left hand example uses the automatically computed derivatives. The example on the right uses a user-supplied tangent to ensure that the ends are aligned with the coordinate system. Even with a simple circular arc you may find that the ends are not aligned as expedted by the automatically computed approximate tangent vectors. // $fa=1; $fs=0.5; // theta_range=[180:2:450]; // path = [for (theta = theta_range) diff --git a/transforms.scad b/transforms.scad index 299321a0..c195c84b 100644 --- a/transforms.scad +++ b/transforms.scad @@ -1405,6 +1405,8 @@ module frame_map(x,y,z,p,reverse=false) // skew(syx=0.5) cube(40, center=true); // Example: Skew along the Y axis in 3D as a factor of Z coordinate. // skew(syz=0.5) cube(40, center=true); +// Example(3D,VPR=[71.80,0.00,338.10],VPD=155.56,VPT=[9.03,9.43,-7.03]): Skew by 30ยบ along the Z axis. +// skew(azx=30) cube([40,40,5],center=true); // Example: Skew along the Z axis in 3D as a factor of X coordinate. // skew(szx=0.5) cube(40, center=true); // Example: Skew along the Z axis in 3D as a factor of Y coordinate.