1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-21 14:51:22 +02:00

Updated the front page image.

This commit is contained in:
Chris Palmer
2024-02-19 16:10:19 +00:00
parent 2506e5aa31
commit 30c67e742b
4 changed files with 17 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 979 KiB

After

Width:  |  Height:  |  Size: 975 KiB

View File

@@ -228,7 +228,8 @@ inserts_y = 0;
nuts_y = inserts_y + 20; nuts_y = inserts_y + 20;
washers_y = nuts_y + 140; washers_y = nuts_y + 140;
screws_y = washers_y + 120; screws_y = washers_y + 120;
circlips_y = screws_y + 180; threaded_inserts_y = screws_y + 180;
circlips_y = threaded_inserts_y + 30;
springs_y = circlips_y + 20; springs_y = circlips_y + 20;
o_rings_y = springs_y; o_rings_y = springs_y;
sealing_strip_y = springs_y + 20; sealing_strip_y = springs_y + 20;
@@ -258,6 +259,9 @@ translate([x0, nuts_y])
translate([x0, washers_y]) translate([x0, washers_y])
washers(); washers();
translate([x0, threaded_inserts_y])
threaded_inserts();
translate([x0, screws_y]) translate([x0, screws_y])
screws(); screws();

View File

@@ -22,7 +22,6 @@ use <../utils/layout.scad>
include <../vitamins/inserts.scad> include <../vitamins/inserts.scad>
module inserts() { module inserts() {
for(i = [0: len(inserts) -1]) for(i = [0: len(inserts) -1])
translate([10 * i, 5]) translate([10 * i, 5])
insert(inserts[i]); insert(inserts[i]);
@@ -31,11 +30,6 @@ module inserts() {
translate([10 * i, -5]) translate([10 * i, -5])
insert(short_inserts[i]); insert(short_inserts[i]);
for(i = [0: len(threaded_inserts) -1]) {
d = insert_hole_radius(threaded_inserts[i]);
translate([(10 + d) * i, 20])
threaded_insert(threaded_inserts[i]);
}
stl_colour(pp1_colour) stl_colour(pp1_colour)
translate([len(inserts) * 10, 0]) { translate([len(inserts) * 10, 0]) {
@@ -46,6 +40,17 @@ module inserts() {
} }
} }
module threaded_inserts()
for(i = [0: len(threaded_inserts) -1]) {
d = insert_hole_radius(threaded_inserts[i]);
translate([(10 + d) * i, 0])
threaded_insert(threaded_inserts[i]);
}
if($preview) if($preview)
let($show_threads = true) let($show_threads = true) {
inserts(); inserts();
translate([0, 20])
threaded_inserts();
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 145 KiB