use the derived frame piece y dimension to build side
as in previous commit, this simplifies the build of the side frame piece a bit. notably on this one, the preview of the piece is more performant, so I'm thinking this is a good move. the object triangle count and volume are slightly different (not sure why), but the object dimensions are the same still didn't get rid of any 2-manifold errors though :( Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
ef68dbca48
commit
03737e2385
@ -5,18 +5,21 @@
|
||||
|
||||
include <parameters.scad>
|
||||
include <components.scad>
|
||||
use <frames/complete/left-frame.scad>
|
||||
use <front-or-back.scad>
|
||||
|
||||
module side_frame_piece() {
|
||||
piece_width = panel_support_width+frame_wall+frame_mount_column_width;
|
||||
difference() {
|
||||
// side piece is left/right agnostic
|
||||
frame();
|
||||
intersection() {
|
||||
left_frame();
|
||||
// include the whole left wall (including mount columns)
|
||||
translate([-(frame_x/2)+(piece_width/2), 0, 0])
|
||||
cube([piece_width, frame_piece_y_y, frame_z], center=true);
|
||||
}
|
||||
// minus the top and bottom
|
||||
front_or_back_frame_piece();
|
||||
rotate([180, 0, 0]) front_or_back_frame_piece();
|
||||
// and just chop out the rest of the frame
|
||||
translate([piece_width, 0, 0]) cube([frame_x, frame_y+1, frame_z+1], center=true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -66,6 +66,7 @@ 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
|
||||
frame_piece_y_y = frame_y; // the whole y of the frame, yes
|
||||
|
||||
// degree to which the extended frame pieces stick out from the end of the frame
|
||||
frame_extension_x = 25;
|
||||
|
Loading…
x
Reference in New Issue
Block a user