remove front-or-back-longish.scad, but use the piece elsewhere

the piece was not meant to be printed (at least not until/unless there
is a side that extends out the extra length of the front and back, which
seems unlikely), but the piece is used to create the inner wall that
juts out through windowed pieces, so we're going to keep it and just
stash it in front-or-back.scad

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2025-03-04 20:42:21 -06:00
parent c99a18d30f
commit 950346f85a
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
3 changed files with 26 additions and 31 deletions

View File

@ -7,7 +7,6 @@
include <parameters.scad> include <parameters.scad>
include <components.scad> include <components.scad>
use <front-or-back-inner-wall.scad> use <front-or-back-inner-wall.scad>
use <front-or-back-longish.scad>
use <front-or-back-windowed-horiz-stripes.scad> use <front-or-back-windowed-horiz-stripes.scad>
// for stability's sake, this piece juts out a bit from the outside of the wall, so we // for stability's sake, this piece juts out a bit from the outside of the wall, so we

View File

@ -36,4 +36,30 @@ module front_or_back_inner_wall_frame_piece() {
translate([0, 0, 50]) rotate([90, 0, 0]) front_or_back_inner_wall_frame_base_piece(); translate([0, 0, 50]) rotate([90, 0, 0]) front_or_back_inner_wall_frame_base_piece();
} }
// this is here for use in inner wall pieces, but unlike the side longish piece (in its own
// .scad), front_or_back_longish_frame_piece is not printable so we'll just stash it here
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);
}
}
// this is here for use in inner wall pieces, but unlike the side longish piece (in its own
// .scad), front_or_back_longish_frame_piece is not printable so we'll just stash it here
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 unlike the side longish piece (in its own
// .scad), front_or_back_longish_frame_piece is not printable so we'll just stash it here
module front_or_back_longish_frame_piece() {
front_or_back_frame_piece_extension();
front_or_back_frame_piece();
}
front_or_back_inner_wall_frame_piece(); front_or_back_inner_wall_frame_piece();

View File

@ -1,30 +0,0 @@
/*
* SPDX-FileCopyrightText: © 2025 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back.scad>
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();