Extend convolve and deltas; do minor doc corrections

This commit is contained in:
RonaldoCMP
2021-06-22 01:20:05 +01:00
parent b924eaa303
commit d18f558c1a
4 changed files with 29 additions and 16 deletions

View File

@@ -997,7 +997,7 @@ module jittered_poly(path, dist=1/512) {
// Module: extrude_from_to()
// Description:
// Extrudes a 2D shape between the points pt1 and pt2. Takes as children a set of 2D shapes to extrude.
// Extrudes a 2D shape between the 3d points pt1 and pt2. Takes as children a set of 2D shapes to extrude.
// Arguments:
// pt1 = starting point of extrusion.
// pt2 = ending point of extrusion.
@@ -1010,6 +1010,7 @@ module jittered_poly(path, dist=1/512) {
// xcopies(3) circle(3, $fn=32);
// }
module extrude_from_to(pt1, pt2, convexity, twist, scale, slices) {
assert( is_path([pt1,pt2],3), "The points should be 3d points");
rtp = xyz_to_spherical(pt2-pt1);
translate(pt1) {
rotate([0, rtp[2], rtp[1]]) {