start some frame pieces that have openings for decoration
essentially, the whole inner wall and part of the outer wall gets cut out of the piece, and a new inner wall piece (probably printed in a different color, or with some design of its own) created that can be seen through the outer wall's window multiple window and inner options are possible, this is just the start while I do other organization Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
2ed9b12ed3
commit
dccd2836b2
24
src/frames/pieces/box/side-inner-wall.scad
Normal file
24
src/frames/pieces/box/side-inner-wall.scad
Normal file
@ -0,0 +1,24 @@
|
||||
/* The inner side wall of the frame, for being displayed through a windowed part.
|
||||
*
|
||||
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
include <parameters.scad>
|
||||
include <components.scad>
|
||||
use <frame-piece-side-for-box.scad>
|
||||
|
||||
module side_inner_wall_frame_piece() {
|
||||
difference() {
|
||||
side_box_frame_piece();
|
||||
// minus the outer wall
|
||||
translate([-(frame_x-frame_wall)/2, 0, 0]) cube([frame_wall, frame_y, frame_z], center=true);
|
||||
// minus half of the mounting posts (the other half provided by the outer wall)
|
||||
translate([-panel_to_frame_point_x, panel_to_frame_point_y, frame_z/2]) rotate([0, 0, 90])
|
||||
frame_mount_column();
|
||||
translate([-panel_to_frame_point_x, -(panel_to_frame_point_y), -frame_z/2]) rotate([0, 0, 180])
|
||||
frame_mount_column();
|
||||
}
|
||||
}
|
||||
|
||||
side_inner_wall_frame_piece();
|
24
src/frames/pieces/box/top-or-bottom-inner-wall.scad
Normal file
24
src/frames/pieces/box/top-or-bottom-inner-wall.scad
Normal file
@ -0,0 +1,24 @@
|
||||
/* The inner top/bottom wall of the frame, for being displayed through a windowed part.
|
||||
*
|
||||
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
include <parameters.scad>
|
||||
include <components.scad>
|
||||
use <frame-piece-top-or-bottom-for-box.scad>
|
||||
|
||||
module top_or_bottom_inner_wall_frame_piece() {
|
||||
difference() {
|
||||
top_or_bottom_box_frame_piece();
|
||||
// minus the outer wall
|
||||
translate([0, -(frame_y-frame_wall)/2, 0]) cube([frame_x, frame_wall, frame_z], center=true);
|
||||
// minus half of the mounting posts (the other half provided by the outer wall)
|
||||
translate([-panel_to_frame_point_x, -(panel_to_frame_point_y), frame_z/2]) rotate([0, 0, 180])
|
||||
frame_mount_column();
|
||||
translate([panel_to_frame_point_x, -(panel_to_frame_point_y), -frame_z/2]) rotate([0, 0, 270])
|
||||
frame_mount_column();
|
||||
}
|
||||
}
|
||||
|
||||
top_or_bottom_inner_wall_frame_piece();
|
23
src/frames/pieces/box/top-or-bottom-windowed.scad
Normal file
23
src/frames/pieces/box/top-or-bottom-windowed.scad
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
include <parameters.scad>
|
||||
include <components.scad>
|
||||
use <frame-piece-top-or-bottom-for-box.scad>
|
||||
use <top-or-bottom-inner-wall.scad>
|
||||
|
||||
module windowed_top_or_bottom_box_frame_piece() {
|
||||
difference() {
|
||||
top_or_bottom_box_frame_piece();
|
||||
// subtract frame wall window
|
||||
translate([0, -frame_y/2, 0])
|
||||
cube([frame_x-frame_mount_column_width*3.5, (frame_wall+panel_support_width)*2,
|
||||
frame_z-panel_z*3], center=true);
|
||||
// subtract the inner wall area that will be provided by the other piece
|
||||
top_or_bottom_inner_wall_frame_piece();
|
||||
}
|
||||
}
|
||||
|
||||
windowed_top_or_bottom_box_frame_piece();
|
Loading…
Reference in New Issue
Block a user