Add Plate_16x16 and reduce roundedness

This commit is contained in:
Sebastiaan de Schaetzen 2023-02-17 19:58:21 +01:00
parent 61ed2eceb9
commit 7a7c12b38f
3 changed files with 8 additions and 2 deletions

View File

@ -15,6 +15,11 @@
"studs_x": "2",
"studs_y": "1"
},
"Plate_16x16": {
"type": "plate",
"studs_x": "16",
"studs_y": "16"
},
"Plate_4x2": {
"type": "plate",
"studs_x": "4",

View File

@ -10,7 +10,7 @@ block_height =
type == "plate" ? 3.2 :
0;
length_per_stud = 31.8 / 4;
stud_details = 4 * ($preview ? 5 : 10);
stud_details = 4 * ($preview ? 5 : 5);
wall_width = 1.6;
ceiling_width = 1;
@ -93,6 +93,7 @@ module block() {
}
difference() {
color([0.9, 0.8, 0])
block();
if (slice_x) {
translate([10, -10, -10])

View File

@ -24,7 +24,7 @@ webpage: thumbnails $(INDEX)
$(STL) $(PNG): $(SCAD) $(CONFIG) Makefile
mkdir -p $(@D)
openscad -o $@ -p $(CONFIG) -P $(basename $(@F)) $(SCAD)
openscad -o $@ -p $(CONFIG) -P $(basename $(@F)) --camera=0,0,0,60,0,135,0 --autocenter --viewall $(SCAD)
$(INDEX): header.html entry.html footer.html Makefile
cat header.html | sed "s/%date/`date '+%Y-%m-%d at %T'`/g" | sed "s/%version/`git describe --always --dirty`/g" > $@