1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-29 18:19:58 +02:00

Added 2screw_blocks, a two screw version of corner blocks.

This commit is contained in:
Chris Palmer
2022-01-29 11:15:51 +00:00
parent 20db11f81e
commit c4ccc30b35
6 changed files with 176 additions and 20 deletions

View File

@@ -22,11 +22,18 @@ use <../printed/corner_block.scad>
screws = [M2_cap_screw, M2p5_pan_screw, M3_dome_screw, M4_dome_screw];
module do_corner_block(screw)
if($preview)
if($preview) {
fastened_corner_block_assembly(3, screw = screw);
else
translate([0, 30])
fastened_2screw_block_assembly(3, screw = screw);
}
else {
corner_block(screw);
translate([0, 30])
2screw_block(screw);
}
module corner_blocks()
for(i = [0 : len(screws) - 1])
translate([i * 30, 0])

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 149 KiB