1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-17 12:10:47 +02:00

fixed length

This commit is contained in:
Justin Lin
2017-05-14 13:03:36 +08:00
parent 89a7c5fbbc
commit 9ec9ac44de

View File

@@ -24,7 +24,7 @@ function shape_square(size, corner_r = 0) =
y = __is_vector(size) ? size[1] : size y = __is_vector(size) ? size[1] : size
) )
__trapezium( __trapezium(
radius = x, radius = x / 2,
h = y, h = y,
round_r = corner_r round_r = corner_r
); );