remove unnecessary difference/union duplication

This commit is contained in:
Brian S. Stephan 2023-09-15 15:01:39 -05:00
parent a26f87a9d2
commit 2253889430
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
1 changed files with 2 additions and 6 deletions

View File

@ -20,12 +20,8 @@ include <components.scad>
use <top-panel-right-sega-2p-plus-one.scad>
module top_panel_right_sega_2p_plus_one_with_mount() {
difference() {
union() {
top_panel_right_sega_2p_plus_one();
translate([30, -50, -(top_plate_z/2) - 3]) pcb_mount();
}
}
top_panel_right_sega_2p_plus_one();
translate([30, -50, -(top_plate_z/2) - 3]) pcb_mount();
}
top_panel_right_sega_2p_plus_one_with_mount();