[project_box] Clean up model
This commit is contained in:
parent
60bac0c35b
commit
66cb2f6c19
1 changed files with 22 additions and 35 deletions
|
@ -40,25 +40,12 @@ module corner_post(h, r) {
|
||||||
}
|
}
|
||||||
|
|
||||||
module lid_base(x, y, z, slot_depth=1.5) {
|
module lid_base(x, y, z, slot_depth=1.5) {
|
||||||
/*
|
polyhedron([// bottom face
|
||||||
cube([10,7,5]);
|
|
||||||
CubePoints = [
|
|
||||||
[ 0, 0, 0 ], //0
|
|
||||||
[ 10, 0, 0 ], //1
|
|
||||||
[ 10, 7, 0 ], //2
|
|
||||||
[ 0, 7, 0 ], //3
|
|
||||||
[ 0, 0, 5 ], //4
|
|
||||||
[ 10, 0, 5 ], //5
|
|
||||||
[ 10, 7, 5 ], //6
|
|
||||||
[ 0, 7, 5 ]]; //7
|
|
||||||
*/
|
|
||||||
color("red")
|
|
||||||
polyhedron([// bottom
|
|
||||||
[0, 0, 0],
|
[0, 0, 0],
|
||||||
[x, 0, 0],
|
[x, 0, 0],
|
||||||
[x, y, 0],
|
[x, y, 0],
|
||||||
[0, y, 0],
|
[0, y, 0],
|
||||||
// top
|
// top face
|
||||||
[slot_depth, 0, z],
|
[slot_depth, 0, z],
|
||||||
[x - slot_depth, 0, z],
|
[x - slot_depth, 0, z],
|
||||||
[x - slot_depth, y, z],
|
[x - slot_depth, y, z],
|
||||||
|
|
Loading…
Reference in a new issue