1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-25 16:31:01 +02:00

Fixed cable_bundle() bugs and added test.

Added cable_bundle_positions().
Can now mark cables as ribbon to force a flat layout.
This commit is contained in:
Chris Palmer
2022-02-11 09:07:34 +00:00
parent 14ba135169
commit ed46cbb147
4 changed files with 41 additions and 11 deletions

View File

@@ -4391,7 +4391,9 @@ Just a BOM entry at the moment and cable bundle size functions for holes, plus c
| Function | Description |
|:--- |:--- |
| `cable_bundle(cable)` | Arrangement of a bundle in a flat cable clip |
| `cable_bundle_positions(cable)` | Positions of wires in a bundle to go through a cable strip |
| `cable_height(cable)` | Height in flat clip |
| `cable_is_ribbon(cable)` | Is a ribbon cable? |
| `cable_radius(cable)` | Radius of a bundle of wires, see <http://mathworld.wolfram.com/CirclePacking.html>. |
| `cable_width(cable)` | Width in flat clip |
| `cable_wire_size(cable)` | Size of each wire in a bundle |