use the derived frame piece x dimension to build front/back
this saves one operation and removes a bit of the artifacts. didn't seem to help the 2-manifold stuff I was looking at, but this is slightly clearer anyway? Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
4336098fe8
commit
ef68dbca48
@ -14,10 +14,8 @@ module front_or_back_frame_piece() {
|
|||||||
left_frame();
|
left_frame();
|
||||||
difference() {
|
difference() {
|
||||||
// include the whole bottom wall (including mount columns)
|
// include the whole bottom wall (including mount columns)
|
||||||
translate([0, -(frame_y/2)+(piece_width/2), 0]) cube([frame_x, piece_width, frame_z], center=true);
|
translate([0, -(frame_y/2)+(piece_width/2), 0])
|
||||||
// ...minus the frame wall and lip on the left
|
cube([frame_piece_x_x, piece_width, frame_z], center=true);
|
||||||
translate([-frame_x/2+frame_wall/2, 0, 0])
|
|
||||||
cube([frame_wall, frame_y, frame_z], center=true);
|
|
||||||
// ...minus a slot for the combining piece to go into
|
// ...minus a slot for the combining piece to go into
|
||||||
cube([frame_x, frame_y-(panel_support_width+frame_wall)*2, inner_frame_z/3], center=true);
|
cube([frame_x, frame_y-(panel_support_width+frame_wall)*2, inner_frame_z/3], center=true);
|
||||||
}
|
}
|
||||||
|
@ -64,6 +64,9 @@ panel_x = frame_x - (frame_wall * 2);
|
|||||||
panel_y = frame_y - (frame_wall * 2);
|
panel_y = frame_y - (frame_wall * 2);
|
||||||
panel_z = 5;
|
panel_z = 5;
|
||||||
|
|
||||||
|
// some dimensions for frame pieces, useful in doing some intersections and chopping
|
||||||
|
frame_piece_x_x = frame_x - (frame_wall * 2); // essentially panel_x, yes
|
||||||
|
|
||||||
// degree to which the extended frame pieces stick out from the end of the frame
|
// degree to which the extended frame pieces stick out from the end of the frame
|
||||||
frame_extension_x = 25;
|
frame_extension_x = 25;
|
||||||
frame_extension_y = 25;
|
frame_extension_y = 25;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user