1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-30 18:00:01 +02:00
This commit is contained in:
Justin Lin
2020-12-08 18:04:34 +08:00
parent c0c016f998
commit a6264ced54
7 changed files with 21 additions and 21 deletions

View File

@@ -3,7 +3,7 @@ use <hollow_out.scad>;
use <ellipse_extrude.scad>;
use <arc.scad>;
use <maze/mz_square_blocks.scad>;
use <maze/mz_get.scad>;
use <maze/mz_square_get.scad>;
radius_of_heart = 12;
height_of_heart = 25;
@@ -64,9 +64,9 @@ module heart_maze(maze, radius, cblocks, levels, thickness = 1) {
function right_wall(block) = get_wall_type(block) == "RIGHT_WALL";
function upper_right_wall(block) = get_wall_type(block) == "UPPER_RIGHT_WALL";
function get_x(block) = mz_get(block, "x");
function get_y(block) = mz_get(block, "y");
function get_wall_type(block) = mz_get(block, "w");
function get_x(block) = mz_square_get(block, "x");
function get_y(block) = mz_square_get(block, "y");
function get_wall_type(block) = mz_square_get(block, "w");
arc_angle = 360 / cblocks;
r = radius / (levels + 1);