1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-29 20:08:21 +01:00

divided_ratio hidden

This commit is contained in:
Justin Lin 2021-03-07 18:10:43 +08:00
parent ba745af20d
commit a55aaff0a9

View File

@ -4,18 +4,17 @@ use <hull_polyline2d.scad>;
rows = 16;
begining_columns = 8;
divided_ratio = 1.5;
cell_width = 10;
wall_thickness = 2;
wall_height = 5;
theta_maze(rows, begining_columns, divided_ratio, cell_width, wall_thickness, wall_height);
theta_maze(rows, begining_columns, cell_width, wall_thickness, wall_height);
module theta_maze(rows, begining_columns, divided_ratio, cell_width, wall_thickness, wall_height) {
module theta_maze(rows, begining_columns, cell_width, wall_thickness, wall_height) {
function vt_from_angle(theta, r) = [r * cos(theta), r * sin(theta)];
maze = mz_theta_cells(rows, begining_columns, divided_ratio);
maze = mz_theta_cells(rows, begining_columns);
linear_extrude(wall_height) {
for(rows = maze) {