mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-01-16 21:18:15 +01:00
Belt part number is not always the same as the pitch.
This commit is contained in:
parent
ad82ca21c5
commit
7a9e73830e
@ -65,7 +65,7 @@ module belt(type, points, belt_colour = grey(20), tooth_colour = grey(50), open
|
|||||||
arcs = info[4];
|
arcs = info[4];
|
||||||
length = ceil(_belt_length(info, open) / pitch) * pitch;
|
length = ceil(_belt_length(info, open) / pitch) * pitch;
|
||||||
|
|
||||||
part = str(type[0],pitch);
|
part = type[0];
|
||||||
vitamin(str("belt(", no_point(part), "x", width, ", ", pointsx, "): Belt ", part," x ", width, "mm x ", length, "mm"));
|
vitamin(str("belt(", no_point(part), "x", width, ", ", pointsx, "): Belt ", part," x ", width, "mm x ", length, "mm"));
|
||||||
|
|
||||||
len = len(points);
|
len = len(points);
|
||||||
|
@ -20,17 +20,17 @@
|
|||||||
//
|
//
|
||||||
// Belt model
|
// Belt model
|
||||||
//
|
//
|
||||||
// p w t t p
|
// p w t t p
|
||||||
// i i h o i
|
// i i h o i
|
||||||
// t d i o t
|
// t d i o t
|
||||||
// c t c t c
|
// c t c t c
|
||||||
// h h k h h line from tooth base
|
// h h k h h line from tooth base
|
||||||
//
|
//
|
||||||
T5x6 = ["T", 5, 6, 2.2, 1.2, 0.5];
|
T5x6 = ["T5", 5, 6, 2.2, 1.2, 0.5];
|
||||||
T5x10 = ["T", 5, 10, 2.2, 1.2, 0.5];
|
T5x10 = ["T5", 5, 10, 2.2, 1.2, 0.5];
|
||||||
T2p5x6 =["T", 2.5, 6, 1.7, 0.7, 0.3];
|
T2p5x6 =["T2.5", 2.5, 6, 1.7, 0.7, 0.3];
|
||||||
GT2x6 = ["GT", 2.0, 6, 1.38, 0.75, 0.254];
|
GT2x6 = ["GT2", 2.0, 6, 1.38, 0.75, 0.254];
|
||||||
GT2x9 = ["GT", 2.0, 9, 1.38, 0.75, 0.254];
|
GT2x9 = ["GT2", 2.0, 9, 1.38, 0.75, 0.254];
|
||||||
|
|
||||||
belts = [T5x6, T5x10, T2p5x6, GT2x6, GT2x9];
|
belts = [T5x6, T5x10, T2p5x6, GT2x6, GT2x9];
|
||||||
use <belt.scad>
|
use <belt.scad>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user