mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-01-11 10:12:43 -05:00
Smooth pulleys now show their OD on the BOM.
This commit is contained in:
parent
c713474a1d
commit
5ede2d0895
@ -204,7 +204,7 @@ Individual teeth are not drawn, instead they are represented by a lighter colour
|
|||||||
| 1 | ```belt(T5x6, [ ... ])``` | Belt T5 x 6mm x 130mm |
|
| 1 | ```belt(T5x6, [ ... ])``` | Belt T5 x 6mm x 130mm |
|
||||||
| 1 | ```insert(F1BM3)``` | Heatfit insert M3 |
|
| 1 | ```insert(F1BM3)``` | Heatfit insert M3 |
|
||||||
| 2 | ```pulley(GT2x20_toothed_idler)``` | Pulley GT2 idler 20 teeth |
|
| 2 | ```pulley(GT2x20_toothed_idler)``` | Pulley GT2 idler 20 teeth |
|
||||||
| 2 | ```pulley(GT2x16_plain_idler)``` | Pulley GT2 idler smooth |
|
| 2 | ```pulley(GT2x16_plain_idler)``` | Pulley GT2 idler smooth 9.63mm |
|
||||||
| 2 | ```pulley(GT2x20ob_pulley)``` | Pulley GT2OB 20 teeth |
|
| 2 | ```pulley(GT2x20ob_pulley)``` | Pulley GT2OB 20 teeth |
|
||||||
| 1 | ```screw(M3_cs_cap_screw, 20)``` | Screw M3 cs cap x 20mm |
|
| 1 | ```screw(M3_cs_cap_screw, 20)``` | Screw M3 cs cap x 20mm |
|
||||||
| 4 | ```screw(M3_grub_screw, 6)``` | Screw M3 grub x 6mm |
|
| 4 | ```screw(M3_grub_screw, 6)``` | Screw M3 grub x 6mm |
|
||||||
@ -1765,8 +1765,8 @@ Timing belt pulleys, both toothed and plain with internal bearings for idlers.
|
|||||||
| ---:|:--- |:---|
|
| ---:|:--- |:---|
|
||||||
| 1 | ```pulley(GT2x16_toothed_idler)``` | Pulley GT2 idler 16 teeth |
|
| 1 | ```pulley(GT2x16_toothed_idler)``` | Pulley GT2 idler 16 teeth |
|
||||||
| 1 | ```pulley(GT2x20_toothed_idler)``` | Pulley GT2 idler 20 teeth |
|
| 1 | ```pulley(GT2x20_toothed_idler)``` | Pulley GT2 idler 20 teeth |
|
||||||
| 1 | ```pulley(GT2x20_plain_idler)``` | Pulley GT2 idler smooth |
|
| 1 | ```pulley(GT2x20_plain_idler)``` | Pulley GT2 idler smooth 12mm |
|
||||||
| 1 | ```pulley(GT2x16_plain_idler)``` | Pulley GT2 idler smooth |
|
| 1 | ```pulley(GT2x16_plain_idler)``` | Pulley GT2 idler smooth 9.63mm |
|
||||||
| 1 | ```pulley(GT2x20ob_pulley)``` | Pulley GT2OB 20 teeth |
|
| 1 | ```pulley(GT2x20ob_pulley)``` | Pulley GT2OB 20 teeth |
|
||||||
| 1 | ```pulley(GT2x12_pulley)``` | Pulley GT2RD 12 teeth |
|
| 1 | ```pulley(GT2x12_pulley)``` | Pulley GT2RD 12 teeth |
|
||||||
| 1 | ```pulley(GT2x20um_pulley)``` | Pulley GT2UM 20 teeth |
|
| 1 | ```pulley(GT2x20um_pulley)``` | Pulley GT2UM 20 teeth |
|
||||||
|
@ -55,8 +55,9 @@ GT_r = 0.555;
|
|||||||
|
|
||||||
module pulley(type) { //! Draw a pulley
|
module pulley(type) { //! Draw a pulley
|
||||||
teeth = pulley_teeth(type);
|
teeth = pulley_teeth(type);
|
||||||
|
od = pulley_od(type);
|
||||||
|
|
||||||
vitamin(str("pulley(", type[0], "): Pulley ", pulley_type(type), pulley_screws(type) ? " " : " idler ", teeth ? str(teeth, " teeth") : "smooth"));
|
vitamin(str("pulley(", type[0], "): Pulley ", pulley_type(type), pulley_screws(type) ? " " : " idler ", teeth ? str(teeth, " teeth") : str("smooth ", od, "mm")));
|
||||||
|
|
||||||
ft = pulley_flange_thickness(type);
|
ft = pulley_flange_thickness(type);
|
||||||
tw = pulley_od(type) * PI / (teeth * 2);
|
tw = pulley_od(type) * PI / (teeth * 2);
|
||||||
@ -64,7 +65,7 @@ module pulley(type) { //! Draw a pulley
|
|||||||
w = pulley_width(type);
|
w = pulley_width(type);
|
||||||
r1 = pulley_bore(type) / 2;
|
r1 = pulley_bore(type) / 2;
|
||||||
|
|
||||||
or = pulley_od(type) / 2;
|
or = od / 2;
|
||||||
ir = pulley_ir(type);
|
ir = pulley_ir(type);
|
||||||
module core() {
|
module core() {
|
||||||
translate_z(pulley_hub_length(type) + ft)
|
translate_z(pulley_hub_length(type) + ft)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user