mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-07-31 12:00:23 +02:00
changed hook
This commit is contained in:
@@ -36,10 +36,10 @@ module rounded_cube(size, corner_r, center = false) {
|
|||||||
half_leng = half_cube_leng - edge_d;
|
half_leng = half_cube_leng - edge_d;
|
||||||
|
|
||||||
corners = [
|
corners = [
|
||||||
for(x = [-1, 1])
|
for(z = [1, -1])
|
||||||
for(y = [-1, 1])
|
for(y = [1, -1])
|
||||||
for(z = [-1, 1])
|
for(x = [1, -1])
|
||||||
[half_l * x, -half_w * y, half_h * z]
|
[half_l * x, half_w * y, half_h * z]
|
||||||
];
|
];
|
||||||
|
|
||||||
module corner(i) {
|
module corner(i) {
|
||||||
@@ -61,9 +61,9 @@ module rounded_cube(size, corner_r, center = false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hook for testing
|
// hook for testing
|
||||||
test_rounded_edge_corner_center(edge_d, corners, center_pts);
|
test_rounded_edge_corner_center(corners, center_pts);
|
||||||
}
|
}
|
||||||
|
|
||||||
module test_rounded_edge_corner_center(edge_dist, corners, center_pts) {
|
module test_rounded_edge_corner_center(corners, center_pts) {
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user