Brian S. Stephan 03737e2385
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>
2025-03-05 08:30:34 -06:00

27 lines
712 B
OpenSCAD

/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
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() {
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();
}
}
side_frame_piece();