diff --git a/src/frames/pieces/front-or-back-inner-wall-for-horiz-stripes.scad b/src/frames/pieces/front-or-back-inner-wall-for-horiz-stripes.scad index 1f02e56..25edb4f 100644 --- a/src/frames/pieces/front-or-back-inner-wall-for-horiz-stripes.scad +++ b/src/frames/pieces/front-or-back-inner-wall-for-horiz-stripes.scad @@ -6,8 +6,8 @@ include include +use use -use use // for stability's sake, this piece juts out a bit from the outside of the wall, so we diff --git a/src/frames/pieces/front-or-back-longish.scad b/src/frames/pieces/front-or-back-longish.scad deleted file mode 100644 index b83bfc4..0000000 --- a/src/frames/pieces/front-or-back-longish.scad +++ /dev/null @@ -1,30 +0,0 @@ -/* - * SPDX-FileCopyrightText: © 2025 Brian S. Stephan - * SPDX-License-Identifier: GPL-3.0-or-later - */ - -include -include -use - -module front_or_back_frame_piece_wall() { - // get a slice of the whole wall, to use it for making the extended version - difference() { - front_or_back_frame_piece(); - cube([frame_x, frame_y-frame_wall*2, frame_z], center=true); - } -} - -module front_or_back_frame_piece_extension() { - hull() { - front_or_back_frame_piece_wall(); - translate([0, -frame_bevel_height*2, 0]) front_or_back_frame_piece_wall(); - } -} - -module front_or_back_longish_frame_piece() { - front_or_back_frame_piece_extension(); - front_or_back_frame_piece(); -} - -front_or_back_longish_frame_piece(); diff --git a/src/frames/pieces/front-or-back.scad b/src/frames/pieces/front-or-back.scad index b37d9b2..96d63f4 100644 --- a/src/frames/pieces/front-or-back.scad +++ b/src/frames/pieces/front-or-back.scad @@ -24,4 +24,22 @@ module front_or_back_frame_piece() { } } +// this is here for use in inner wall pieces, but +// front_or_back_longish_frame_piece is not printable +// so we'll just stash it here for now +module front_or_back_frame_piece_extension() { + hull() { + front_or_back_frame_piece_wall(); + translate([0, -frame_bevel_height*2, 0]) front_or_back_frame_piece_wall(); + } +} + +// this is here for use in inner wall pieces, but +// front_or_back_longish_frame_piece is not printable +// so we'll just stash it here for now +module front_or_back_longish_frame_piece() { + front_or_back_frame_piece_extension(); + front_or_back_frame_piece(); +} + front_or_back_frame_piece();