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