diff --git a/beziers.scad b/beziers.scad index fdf62e82..672cfe5e 100644 --- a/beziers.scad +++ b/beziers.scad @@ -889,9 +889,7 @@ function patch_scale(patch, v=[1,1,1], cp=[0,0,0]) = [for(row=patch) scale_point // v = Vector axis to rotate round. // cp = Centerpoint to rotate around. function patch_rotate(patch, a=undef, v=undef, cp=[0,0,0]) = - v==undef? - [for(row=patch) rotate_points3d(row, a, cp)] : - [for(row=patch) rotate_points3d_around_axis(row, a, v, cp)]; + [for(row=patch) rotate_points3d(row, v=a, axis=v, cp=cp)] : // Function: patches_translate() diff --git a/changes/REMOVED.txt b/changes/REMOVED.txt new file mode 100644 index 00000000..41071fe7 --- /dev/null +++ b/changes/REMOVED.txt @@ -0,0 +1,26 @@ +Cpi PI +hypot3 norm([x,y,z]) +distance norm(p2-p1) +cdr slice(list, 1, -1) +wrap_range select() +vector2d_angle vector_angle() +vector3d_angle vector_angle() +rotate_points3d_around_axis rotate_points3d(pts, v=ang, axis=u, cp=cp) +cube2pt cuboid(p1, p2) +span_cube cuboid(p1, p2) +offsetcube cuboid(..., align) +chamfcube cuboid(..., chamfer, edges, trimcorners) +rrect cuboid(..., fillet, edges) +rcube cuboid(..., fillet) +trapezoid prismoid() +pyramid cyl(..., r2=0, $fn=N) +prism cyl(..., $fn=N) +chamferred_cylinder cyl(..., chamfer) +chamf_cyl cyl(..., chamfer) +filleted_cylinder cyl(..., fillet) +rcylinder cyl(..., fillet) +thinning_brace thinning_triangle(..., diagonly=true) +translate_copies place_copies() +line_of spread(p1, p2) +grid_of grid3d() + diff --git a/math.scad b/math.scad index 54b664f3..7e03f9ee 100644 --- a/math.scad +++ b/math.scad @@ -47,14 +47,6 @@ PHI = (1+sqrt(5))/2; // The golden ratio phi. EPSILON = 1e-9; // A really small value useful in comparing FP numbers. ie: abs(a-b)s) arr[i]]; -// Function: wrap_range() -// Status: DEPRECATED, use `select()` instead. -// Description: -// Returns a portion of a list, wrapping around past the beginning, if end