mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 17:24:20 +02:00
divided_ratio hidden
This commit is contained in:
@@ -4,18 +4,17 @@ use <hull_polyline2d.scad>;
|
|||||||
|
|
||||||
rows = 16;
|
rows = 16;
|
||||||
begining_columns = 8;
|
begining_columns = 8;
|
||||||
divided_ratio = 1.5;
|
|
||||||
cell_width = 10;
|
cell_width = 10;
|
||||||
wall_thickness = 2;
|
wall_thickness = 2;
|
||||||
wall_height = 5;
|
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)];
|
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) {
|
linear_extrude(wall_height) {
|
||||||
for(rows = maze) {
|
for(rows = maze) {
|
||||||
|
Reference in New Issue
Block a user