mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-19 04:41:41 +02:00
Extend convolve and deltas; do minor doc corrections
This commit is contained in:
@@ -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]]) {
|
||||
|
Reference in New Issue
Block a user