mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 05:21:38 +02:00
rename
This commit is contained in:
@@ -9,6 +9,8 @@ wall_thickness = 1;
|
||||
angle = 180;
|
||||
// $fn = 24;
|
||||
|
||||
function tf_twist(size, p, ) =
|
||||
|
||||
function y_twist(walls, angle, rows, columns, block_width) =
|
||||
let(
|
||||
x_offset = columns * block_width / 2,
|
||||
|
@@ -2,14 +2,14 @@ use <rotate_p.scad>;
|
||||
|
||||
/*
|
||||
size: The size of the rectangle mapping to a sphere.
|
||||
p: A point in the rectangle.
|
||||
point: A point in the rectangle.
|
||||
r: sphere radius.
|
||||
angle: [za, xa] mapping angles.
|
||||
*/
|
||||
function tf_sphere(size, p, r, angle = [180, 360]) =
|
||||
function tf_sphere(size, point, r, angle = [180, 360]) =
|
||||
let(
|
||||
x = p[0],
|
||||
y = p[1],
|
||||
x = point[0],
|
||||
y = point[1],
|
||||
za = angle[0],
|
||||
xa = angle[1],
|
||||
xlen = size[0],
|
||||
|
Reference in New Issue
Block a user