Ziptie width added to BOM description.
This commit is contained in:
parent
61bec656d7
commit
e35fb695a2
14
readme.md
14
readme.md
|
@ -846,7 +846,7 @@ Needs updating as mostly obsolete versions.
|
|||
| 1 | | Tape self amalgamating silicone 110mm x 25mm |
|
||||
| 1 | ```resistor(Epcos)``` | Thermistor Epcos B57560G104F 100K 1% |
|
||||
| 2 | | Wire Red PTFE 16/0.2mm strands, length 170mm |
|
||||
| 4 | ```ziptie(small_ziptie, 8)``` | Ziptie 100mm min length |
|
||||
| 4 | ```ziptie(small_ziptie, 8)``` | Ziptie 2.5mm x 100mm min length |
|
||||
|
||||
|
||||
<a href="#top">Top</a>
|
||||
|
@ -3006,7 +3006,7 @@ Just a BOM entry at the moment and cable bundle size functions for holes, plus c
|
|||
| 1 | | Wire orange 7/0.2mm strands, length 90mm |
|
||||
| 1 | | Wire red 7/0.2mm strands, length 90mm |
|
||||
| 1 | | Wire yellow 7/0.2mm strands, length 90mm |
|
||||
| 1 | ```ziptie(small_ziptie, 2.1)``` | Ziptie 100mm min length |
|
||||
| 1 | ```ziptie(small_ziptie, 2.1)``` | Ziptie 2.5mm x 100mm min length |
|
||||
|
||||
|
||||
<a href="#top">Top</a>
|
||||
|
@ -3042,9 +3042,9 @@ Cable zipties.
|
|||
### Vitamins
|
||||
| Qty | Module call | BOM entry |
|
||||
| ---:|:--- |:---|
|
||||
| 1 | ```ziptie(small_ziptie, 5)``` | Ziptie 100mm min length |
|
||||
| 1 | ```ziptie(ziptie_3mm, 5)``` | Ziptie 100mm min length |
|
||||
| 1 | ```ziptie(ziptie_3p6mm, 5)``` | Ziptie 100mm min length |
|
||||
| 1 | ```ziptie(small_ziptie, 5)``` | Ziptie 2.5mm x 100mm min length |
|
||||
| 1 | ```ziptie(ziptie_3p6mm, 5)``` | Ziptie 3.6mm x 100mm min length |
|
||||
| 1 | ```ziptie(ziptie_3mm, 5)``` | Ziptie 3mm x 100mm min length |
|
||||
|
||||
|
||||
<a href="#top">Top</a>
|
||||
|
@ -3838,7 +3838,7 @@ The stl and assembly must be given a name and parameterless wrappers for the stl
|
|||
| 4 | ```screw(M3_cap_screw, 10)``` | Screw M3 cap x 10mm |
|
||||
| 4 | ```washer(M3_washer)``` | Washer M3 x 7mm x 0.5mm |
|
||||
| 4 | ```star_washer(M3_washer)``` | Washer star M3 x 0.5mm |
|
||||
| 2 | ```ziptie(small_ziptie, 3)``` | Ziptie 100mm min length |
|
||||
| 2 | ```ziptie(small_ziptie, 3)``` | Ziptie 2.5mm x 100mm min length |
|
||||
|
||||
### Printed
|
||||
| Qty | Filename |
|
||||
|
@ -4035,7 +4035,7 @@ The stl and assembly must be given a name and parameterless wrappers for the stl
|
|||
| 4 | ```screw(M3_cap_screw, 10)``` | Screw M3 cap x 10mm |
|
||||
| 4 | ```washer(M3_washer)``` | Washer M3 x 7mm x 0.5mm |
|
||||
| 4 | ```star_washer(M3_washer)``` | Washer star M3 x 0.5mm |
|
||||
| 4 | ```ziptie(small_ziptie, 3)``` | Ziptie 100mm min length |
|
||||
| 4 | ```ziptie(small_ziptie, 3)``` | Ziptie 2.5mm x 100mm min length |
|
||||
|
||||
### Printed
|
||||
| Qty | Filename |
|
||||
|
|
|
@ -48,11 +48,12 @@ module ziptie(type, r, t = 0) //! Draw specified ziptie wrapped around radius ``
|
|||
tangents = rounded_polygon_tangents(outside_path);
|
||||
length = ceil(rounded_polygon_length(outside_path, tangents) + ziptie_tail(type) + latch.z + 1);
|
||||
len = length <= 100 ? 100 : length;
|
||||
width = ziptie_width(type);
|
||||
|
||||
vitamin(str("ziptie(", type[0], ", ", r, "): Ziptie ", len, "mm min length"));
|
||||
vitamin(str("ziptie(", type[0], ", ", r, "): Ziptie ", width, "mm x ", len, "mm min length"));
|
||||
|
||||
color(ziptie_colour(type)){
|
||||
linear_extrude(height = ziptie_width(type), center = true)
|
||||
linear_extrude(height = width, center = true)
|
||||
difference() {
|
||||
rounded_polygon(outside_path, tangents);
|
||||
rounded_polygon(inside_path);
|
||||
|
|
Loading…
Reference in New Issue