@rulecad/rules 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/28byj48.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "_doc": "The 28BYJ-48 geared stepper, 5 V. Its torque varies a good deal between makers: treat every torque here as a floor. Its ratio is 1:64 on the datasheet and about 1:63.68 on most units actually made. kind as in x1c.json. Mounting face at z = 0, shaft up +z from the origin. The shaft is 8 mm from the body's centre.",
3
+ "name": "28byj48",
4
+ "part": "motor",
5
+ "rules": {
6
+ "type": { "value": "stepper", "rule": "What sort of motor it is, with its gearbox built in", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
7
+ "body_shape": { "value": "round", "rule": "A round can", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
8
+ "body_diameter": { "value": 28, "unit": "mm", "rule": "Can diameter", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
9
+ "body_length": { "value": 19, "unit": "mm", "rule": "Can length, mounting face to back", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
10
+ "boss_diameter": { "value": 9, "unit": "mm", "rule": "Boss diameter round the shaft", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
11
+ "boss_height": { "value": 1.5, "unit": "mm", "rule": "Boss height above the mounting face", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
12
+ "boss_offset": { "value": 8, "unit": "mm", "rule": "The shaft is this far from the can's centre", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
13
+ "shaft_diameter": { "value": 5, "unit": "mm", "rule": "Shaft diameter (+0, -0.1)", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
14
+ "shaft_length": { "value": 10, "unit": "mm", "rule": "Shaft length from the mounting face (±0.5)", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
15
+ "shaft_flat_across": { "value": 3, "unit": "mm", "rule": "Across the two flats (+0, -0.1)", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
16
+ "shaft_flat_length": { "value": 6, "unit": "mm", "rule": "Length of the flats, back from the shaft's tip (±0.2)", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
17
+ "shaft_flats": { "value": 2, "unit": "", "rule": "Two flats, opposite each other", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
18
+ "mount_pattern": { "value": "pair", "rule": "Two ears, either side of the can", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
19
+ "mount_hole_spacing": { "value": 35, "unit": "mm", "rule": "Between the ears' holes (±0.2)", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
20
+ "mount_hole_diameter": { "value": 4.2, "unit": "mm", "rule": "The ears' through holes (±0.15)", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
21
+ "mount_ear_radius": { "value": 3.5, "unit": "mm", "rule": "Radius of each ear round its hole", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
22
+ "mount_ear_thickness": { "value": 1, "unit": "mm", "rule": "Thickness of the ears (the drawing doesn't give it)", "kind": "estimate", "source": "pressed steel of about this; measure yours", "checked": "2026-11-08" },
23
+ "cable_width": { "value": 14.6, "unit": "mm", "rule": "Width of the wire housing on the can", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
24
+ "cable_reach": { "value": 17, "unit": "mm", "rule": "The housing's far side, from the can's centre", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
25
+ "mass": { "value": 0.03, "unit": "kg", "rule": "Mass of the motor, about 30 g", "kind": "community", "source": "https://components101.com/motors/28byj-48-stepper-motor", "checked": "2026-11-08" },
26
+ "rated_voltage": { "value": 5, "unit": "V", "rule": "Rated voltage", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
27
+ "resistance": { "value": 50, "unit": "ohm", "rule": "DC resistance per phase (±7%)", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
28
+ "holding_torque": { "value": 0.0343, "unit": "N m", "rule": "Self-positioning torque at the output, powered (at least)", "kind": "community", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
29
+ "pull_in_torque": { "value": 0.0343, "unit": "N m", "rule": "In-traction torque at the output, 120 Hz (at least)", "kind": "community", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
30
+ "friction_torque": { "value": 0.0588, "unit": "N m", "rule": "Friction torque of the gearbox, at the output: 600 to 1200 gf cm, the low end taken: this is what holds it unpowered", "kind": "community", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
31
+ "ratio": { "value": 64, "unit": ":1", "rule": "Built-in gearbox", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
32
+ "step_angle": { "value": 5.625, "unit": "deg", "rule": "Half step at the motor, before the gearbox", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
33
+ "step_rate": { "value": 600, "unit": "Hz", "rule": "The fastest it starts unloaded (idle in-traction, above 600 Hz; half steps)", "kind": "community", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" },
34
+ "temperature_rise": { "value": 40, "unit": "degC", "rule": "Temperature rise at 120 Hz, at most", "kind": "spec", "source": "28BYJ-48 5 V datasheet (drawing and table), https://cdn.shopify.com/s/files/1/0015/7571/4865/files/datasheet_28BYJ-48.pdf", "checked": "2026-11-08" }
35
+ }
36
+ }
package/README.md CHANGED
@@ -23,9 +23,15 @@ it comes from and when it was checked, so a design built on it can be traced and
23
23
  | `jlcpcb` | JLCPCB's limits for two-layer boards | 14 |
24
24
  | `wiring` | Room for hand wiring | 1 |
25
25
  | `m4`, `m5` | M4 and M5 socket head screws and hex nuts | 5 each |
26
+ | `nema17`, `nema14` | NEMA 17 (48 mm body, StepperOnline's drawing) and NEMA 14 steppers: frame, boss, D shaft, holes, torque, current, inductance. For a 40 mm NEMA 17 give its length and torque | 23, 23 |
27
+ | `28byj48` | The 28BYJ-48 5 V geared stepper: can, ears, the offset double-flat shaft, ratio, torque at the output | 28 |
28
+ | `n20` | An N20 gear motor (Pololu's 100:1 HP 6 V drawing and figures): section, D shaft, M1.6 holes, stall and free-running output | 23 |
29
+ | `sg90`, `mg90s` | 9 g and 13 g servos: case, tabs, holes, output, stall torque, speed and range | 24, 24 |
30
+ | `bldc2204` | A 2204 brushless gimbal motor, 260 KV: bell, hub, KV, current (its bolt pattern changes from maker to maker: measure yours) | 16 |
31
+ | `m1_6`, `m3` | M1.6 and M3 screws for motor faces | 3 each |
26
32
  | `rp2040` | The RP2040 microcontroller: which package pins carry which GPIO | 2 |
27
33
  | `dial-indicator` | A dial indicator with a plunger, for measuring small movements | 2 |
28
- | `pla`, `petg` | Bambu Lab PLA Basic and PETG HF, printed, for analysis: stiffness and strength along the layers and across them | 5, 6 |
34
+ | `pla`, `petg` | Bambu Lab PLA Basic and PETG HF, printed, for analysis: stiffness and strength along the layers and across them | 6, 7 |
29
35
  | `al6061`, `al7075`, `s275`, `ss304`, `ti64` | Aluminium 6061-T6 and 7075-T6, structural steel S275, stainless 304, titanium Ti-6Al-4V, for analysis | 4 or 5 each |
30
36
 
31
37
  `kind` says how far to trust a value: **spec** (a datasheet or manufacturer), **community** (a widely used figure, such
@@ -33,6 +39,18 @@ as KiCad's library or KeyV2), **default** (a setting that works), **derived** (r
33
39
  against the real thing, and see its `licence`), or **estimate** (nobody has published it: measure it and correct it). Use them with `@rulecad/variables` (`uses: ['x1c']`, then `x1c.line * 3` in any expression), or read
34
40
  the JSON from anywhere.
35
41
 
42
+ **Shared names.** A set that describes a part (`"part": "motor"`) uses the names in [`vocabulary.json`](vocabulary.json):
43
+ `body_*`, `boss_*`, `shaft_*`, `mount_*`, `cable_*` and the rest, each in its unit, so one piece of code can read any of
44
+ them. An older set keeps its own names and says which is which (`"interface": { "body_length": "length" }`). `cad rules
45
+ check` holds every set to all this. `cad rules draw nema17` draws what a set says the part mounts by, for comparing with
46
+ its datasheet by eye:
47
+
48
+ ![The NEMA 17 rule set as a drawing](drawings/nema17.svg)
49
+
50
+ `cad rules draft mymotor --from datasheet.pdf` pulls the figures out of a datasheet's text for you to name and check. It
51
+ marks every one `estimate`, and many datasheets are pictures it can't read at all: a person reads the datasheet, the
52
+ check and the drawing are how they catch a slip.
53
+
36
54
  **Corrections are the most useful contribution.** If you measured something, use the "Correct a rule" issue form on
37
55
  GitHub, or open a pull request with the value,
38
56
  `"kind": "measured"`, how you measured it, and the date.
package/bldc2204.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "_doc": "A 2204 brushless gimbal motor, 260 KV. Gimbal motors are wound for torque at low speed, the only kind worth driving a joint directly. Its bolt pattern changes from one maker to the next: measure yours before cutting. kind as in x1c.json. Mounting face at z = 0, shaft up +z from the origin. The face at z = 0 is the motor's base; the bell turns above it.",
3
+ "name": "bldc2204",
4
+ "part": "motor",
5
+ "rules": {
6
+ "type": { "value": "brushless", "rule": "A brushless motor", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
7
+ "body_shape": { "value": "round", "rule": "A round bell", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
8
+ "body_diameter": { "value": 27.85, "unit": "mm", "rule": "Bell diameter", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
9
+ "body_length": { "value": 0, "unit": "mm", "rule": "Nothing below the base", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
10
+ "body_top": { "value": 13.1, "unit": "mm", "rule": "Height of the bell above the base", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
11
+ "boss_diameter": { "value": 8, "unit": "mm", "rule": "Hub round the centre", "kind": "estimate", "source": "as commonly made; measure yours", "checked": "2026-11-08" },
12
+ "boss_height": { "value": 0, "unit": "mm", "rule": "No boss below the base", "kind": "estimate", "source": "as commonly made; measure yours", "checked": "2026-11-08" },
13
+ "shaft_diameter": { "value": 3.4, "unit": "mm", "rule": "The hollow centre's bore: the output is the bell, not a shaft", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
14
+ "shaft_length": { "value": 0, "unit": "mm", "rule": "The output is the bell itself: no shaft stands proud", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
15
+ "shaft_flats": { "value": 0, "unit": "", "rule": "A bore, no flats", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
16
+ "mount_pattern": { "value": "square", "rule": "Four holes on a square", "kind": "estimate", "source": "varies by maker; measure yours", "checked": "2026-11-08" },
17
+ "mount_hole_spacing": { "value": 12, "unit": "mm", "rule": "Hole centres along each side", "kind": "estimate", "source": "varies by maker; measure yours", "checked": "2026-11-08" },
18
+ "mount_hole_thread": { "value": "M2", "rule": "Tapped holes in the base", "kind": "estimate", "source": "varies by maker; measure yours", "checked": "2026-11-08" },
19
+ "mount_hole_depth": { "value": 2.5, "unit": "mm", "rule": "Thread depth in the base", "kind": "estimate", "source": "varies by maker; measure yours", "checked": "2026-11-08" },
20
+ "cable_width": { "value": 6, "unit": "mm", "rule": "Room for the three leads", "kind": "estimate", "source": "as commonly made; measure yours", "checked": "2026-11-08" },
21
+ "mass": { "value": 0.024, "unit": "kg", "rule": "Mass of the motor", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
22
+ "rated_voltage": { "value": 12, "unit": "V", "rule": "Working voltage, low end (12 to 24 V)", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
23
+ "rated_current": { "value": 0.6, "unit": "A", "rule": "Most current it works at", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" },
24
+ "kv": { "value": 260, "unit": "rpm/V", "rule": "Speed per volt", "kind": "spec", "source": "2204 260KV brushless gimbal motor listing, https://robu.in/?p=57801", "checked": "2026-11-08" }
25
+ }
26
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 449 348" width="449" height="348"><rect width="100%" height="100%" fill="#fff"/><circle cx="86.5" cy="176" r="10.5" fill="#f6f4ee" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="191.5" cy="176" r="10.5" fill="#f6f4ee" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="139" cy="176" r="42" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="139" cy="152" r="13.5" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="139" cy="152" r="7.5" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="133" y1="147.5" x2="145" y2="147.5" stroke="#1a1a1a" stroke-width="1.4"/><line x1="133" y1="156.5" x2="145" y2="156.5" stroke="#1a1a1a" stroke-width="1.4"/><circle cx="86.5" cy="176" r="6.3" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="191.5" cy="176" r="6.3" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><line x1="70" y1="152" x2="208" y2="152" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="139" y1="221" x2="139" y2="83" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="97" y1="218" x2="97" y2="236" stroke="#666" stroke-width="0.6"/><line x1="181" y1="218" x2="181" y2="236" stroke="#666" stroke-width="0.6"/><line x1="97" y1="236" x2="181" y2="236" stroke="#666" stroke-width="0.8"/><line x1="94" y1="239" x2="100" y2="233" stroke="#666" stroke-width="0.8"/><line x1="178" y1="239" x2="184" y2="233" stroke="#666" stroke-width="0.8"/><text x="139" y="249" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">Ø28</text><line x1="86.5" y1="218" x2="86.5" y2="258" stroke="#666" stroke-width="0.6"/><line x1="191.5" y1="218" x2="191.5" y2="258" stroke="#666" stroke-width="0.6"/><line x1="86.5" y1="258" x2="191.5" y2="258" stroke="#666" stroke-width="0.8"/><line x1="83.5" y1="261" x2="89.5" y2="255" stroke="#666" stroke-width="0.8"/><line x1="188.5" y1="261" x2="194.5" y2="255" stroke="#666" stroke-width="0.8"/><text x="139" y="271" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">holes 35</text><line x1="125.5" y1="134" x2="125.5" y2="120" stroke="#666" stroke-width="0.6"/><line x1="152.5" y1="134" x2="152.5" y2="120" stroke="#666" stroke-width="0.6"/><line x1="125.5" y1="120" x2="152.5" y2="120" stroke="#666" stroke-width="0.8"/><line x1="122.5" y1="123" x2="128.5" y2="117" stroke="#666" stroke-width="0.8"/><line x1="149.5" y1="123" x2="155.5" y2="117" stroke="#666" stroke-width="0.8"/><text x="139" y="116" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">boss Ø9</text><text x="208" y="85" text-anchor="end" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 8 from centre</text><text x="139" y="296" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">2 × Ø4.2</text><rect x="298" y="134" width="57" height="84" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><rect x="355" y="138.5" width="4.5" height="27" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><rect x="355" y="144.5" width="30" height="15" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="367" y1="147.5" x2="385" y2="147.5" stroke="#1a1a1a" stroke-width="1.2"/><line x1="367" y1="156.5" x2="385" y2="156.5" stroke="#1a1a1a" stroke-width="1.2"/><line x1="355" y1="83" x2="355" y2="221" stroke="#666" stroke-width="0.6" stroke-dasharray="4 3"/><text x="355" y="77" text-anchor="middle" font-size="10" font-family="system-ui, sans-serif" fill="#1a1a1a">mounting face</text><line x1="298" y1="224" x2="298" y2="238" stroke="#666" stroke-width="0.6"/><line x1="355" y1="224" x2="355" y2="238" stroke="#666" stroke-width="0.6"/><line x1="298" y1="238" x2="355" y2="238" stroke="#666" stroke-width="0.8"/><line x1="295" y1="241" x2="301" y2="235" stroke="#666" stroke-width="0.8"/><line x1="352" y1="241" x2="358" y2="235" stroke="#666" stroke-width="0.8"/><text x="326.5" y="251" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">19</text><line x1="355" y1="224" x2="355" y2="260" stroke="#666" stroke-width="0.6"/><line x1="385" y1="224" x2="385" y2="260" stroke="#666" stroke-width="0.6"/><line x1="355" y1="260" x2="385" y2="260" stroke="#666" stroke-width="0.8"/><line x1="352" y1="263" x2="358" y2="257" stroke="#666" stroke-width="0.8"/><line x1="382" y1="263" x2="388" y2="257" stroke="#666" stroke-width="0.8"/><text x="370" y="273" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 10</text><line x1="367" y1="140.5" x2="367" y2="126.5" stroke="#666" stroke-width="0.6"/><line x1="385" y1="140.5" x2="385" y2="126.5" stroke="#666" stroke-width="0.6"/><line x1="367" y1="126.5" x2="385" y2="126.5" stroke="#666" stroke-width="0.8"/><line x1="364" y1="129.5" x2="370" y2="123.5" stroke="#666" stroke-width="0.8"/><line x1="382" y1="129.5" x2="388" y2="123.5" stroke="#666" stroke-width="0.8"/><text x="376" y="122.5" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">flat 6</text><text x="357.25" y="298" text-anchor="middle" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">boss 1.5 high</text><text x="20" y="26" text-anchor="start" font-size="16" font-family="system-ui, sans-serif" fill="#1a1a1a">28byj48</text><text x="20" y="44" text-anchor="start" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">all in mm. 23 spec, 1 estimate, 5 community: compare it with the datasheet</text></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 452.42 361.84" width="452.42" height="361.84"><rect width="100%" height="100%" fill="#fff"/><circle cx="145.92" cy="158.92" r="66.38" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="145.92" cy="158.92" r="19.07" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="145.92" cy="158.92" r="8.1" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="117.31" cy="187.52" r="4.77" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="174.52" cy="187.52" r="4.77" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="174.52" cy="130.31" r="4.77" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="117.31" cy="130.31" r="4.77" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><line x1="70" y1="158.92" x2="221.84" y2="158.92" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="145.92" y1="234.84" x2="145.92" y2="83" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="79.53" y1="225.3" x2="79.53" y2="243.3" stroke="#666" stroke-width="0.6"/><line x1="212.3" y1="225.3" x2="212.3" y2="243.3" stroke="#666" stroke-width="0.6"/><line x1="79.53" y1="243.3" x2="212.3" y2="243.3" stroke="#666" stroke-width="0.8"/><line x1="76.53" y1="246.3" x2="82.53" y2="240.3" stroke="#666" stroke-width="0.8"/><line x1="209.3" y1="246.3" x2="215.3" y2="240.3" stroke="#666" stroke-width="0.8"/><text x="145.92" y="256.3" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">Ø27.85</text><line x1="117.31" y1="225.3" x2="117.31" y2="265.3" stroke="#666" stroke-width="0.6"/><line x1="174.52" y1="225.3" x2="174.52" y2="265.3" stroke="#666" stroke-width="0.6"/><line x1="117.31" y1="265.3" x2="174.52" y2="265.3" stroke="#666" stroke-width="0.8"/><line x1="114.31" y1="268.3" x2="120.31" y2="262.3" stroke="#666" stroke-width="0.8"/><line x1="171.52" y1="268.3" x2="177.52" y2="262.3" stroke="#666" stroke-width="0.8"/><text x="145.92" y="278.3" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">holes 12</text><line x1="126.85" y1="92.53" x2="126.85" y2="78.53" stroke="#666" stroke-width="0.6"/><line x1="164.99" y1="92.53" x2="164.99" y2="78.53" stroke="#666" stroke-width="0.6"/><line x1="126.85" y1="78.53" x2="164.99" y2="78.53" stroke="#666" stroke-width="0.8"/><line x1="123.85" y1="81.53" x2="129.85" y2="75.53" stroke="#666" stroke-width="0.8"/><line x1="161.99" y1="81.53" x2="167.99" y2="75.53" stroke="#666" stroke-width="0.8"/><text x="145.92" y="74.53" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">boss Ø8</text><text x="145.92" y="303.3" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">4 × M2, 2.5 deep</text><rect x="311.84" y="92.53" width="62.45" height="132.77" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><line x1="311.84" y1="83" x2="311.84" y2="234.84" stroke="#666" stroke-width="0.6" stroke-dasharray="4 3"/><text x="311.84" y="77" text-anchor="middle" font-size="10" font-family="system-ui, sans-serif" fill="#1a1a1a">mounting face</text><text x="20" y="26" text-anchor="start" font-size="16" font-family="system-ui, sans-serif" fill="#1a1a1a">bldc2204</text><text x="20" y="44" text-anchor="start" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">all in mm. 12 spec, 7 estimate: compare it with the datasheet</text></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 451.54 340" width="451.54" height="340"><rect width="100%" height="100%" fill="#fff"/><rect x="59.29" y="128.22" width="107.14" height="39.56" fill="#f6f4ee" stroke="#1a1a1a" stroke-width="1.2"/><rect x="75.77" y="128.22" width="74.18" height="39.56" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="130.16" cy="148" r="19.45" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="130.16" cy="148" r="7.75" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="67.53" cy="148" r="3.3" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="158.19" cy="148" r="3.3" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><line x1="70" y1="148" x2="190.33" y2="148" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="130.16" y1="208.16" x2="130.16" y2="87.84" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="59.29" y1="201.57" x2="59.29" y2="219.57" stroke="#666" stroke-width="0.6"/><line x1="166.43" y1="201.57" x2="166.43" y2="219.57" stroke="#666" stroke-width="0.6"/><line x1="59.29" y1="219.57" x2="166.43" y2="219.57" stroke="#666" stroke-width="0.8"/><line x1="56.29" y1="222.57" x2="62.29" y2="216.57" stroke="#666" stroke-width="0.8"/><line x1="163.43" y1="222.57" x2="169.43" y2="216.57" stroke="#666" stroke-width="0.8"/><text x="112.86" y="232.57" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">tabs 32.5</text><line x1="67.53" y1="201.57" x2="67.53" y2="241.57" stroke="#666" stroke-width="0.6"/><line x1="158.19" y1="201.57" x2="158.19" y2="241.57" stroke="#666" stroke-width="0.6"/><line x1="67.53" y1="241.57" x2="158.19" y2="241.57" stroke="#666" stroke-width="0.8"/><line x1="64.53" y1="244.57" x2="70.53" y2="238.57" stroke="#666" stroke-width="0.8"/><line x1="155.19" y1="244.57" x2="161.19" y2="238.57" stroke="#666" stroke-width="0.8"/><text x="112.86" y="254.57" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">holes 27.5</text><line x1="110.71" y1="128.22" x2="110.71" y2="114.22" stroke="#666" stroke-width="0.6"/><line x1="149.62" y1="128.22" x2="149.62" y2="114.22" stroke="#666" stroke-width="0.6"/><line x1="110.71" y1="114.22" x2="149.62" y2="114.22" stroke="#666" stroke-width="0.8"/><line x1="107.71" y1="117.22" x2="113.71" y2="111.22" stroke="#666" stroke-width="0.8"/><line x1="146.62" y1="117.22" x2="152.62" y2="111.22" stroke="#666" stroke-width="0.8"/><text x="130.16" y="110.22" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">boss Ø11.8</text><text x="190.33" y="89.84" text-anchor="end" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 5.25 from centre</text><text x="130.16" y="279.57" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">2 × Ø2</text><rect x="280.33" y="128.22" width="69.23" height="39.56" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><rect x="349.56" y="128.22" width="24.73" height="39.56" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><rect x="374.29" y="128.55" width="10.88" height="38.9" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><rect x="374.29" y="140.25" width="21.76" height="15.49" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="349.56" y1="87.84" x2="349.56" y2="208.16" stroke="#666" stroke-width="0.6" stroke-dasharray="4 3"/><text x="349.56" y="81.84" text-anchor="middle" font-size="10" font-family="system-ui, sans-serif" fill="#1a1a1a">mounting face</text><line x1="280.33" y1="173.78" x2="280.33" y2="187.78" stroke="#666" stroke-width="0.6"/><line x1="349.56" y1="173.78" x2="349.56" y2="187.78" stroke="#666" stroke-width="0.6"/><line x1="280.33" y1="187.78" x2="349.56" y2="187.78" stroke="#666" stroke-width="0.8"/><line x1="277.33" y1="190.78" x2="283.33" y2="184.78" stroke="#666" stroke-width="0.8"/><line x1="346.56" y1="190.78" x2="352.56" y2="184.78" stroke="#666" stroke-width="0.8"/><text x="314.95" y="200.78" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">21</text><line x1="385.16" y1="173.78" x2="385.16" y2="209.78" stroke="#666" stroke-width="0.6"/><line x1="396.04" y1="173.78" x2="396.04" y2="209.78" stroke="#666" stroke-width="0.6"/><line x1="385.16" y1="209.78" x2="396.04" y2="209.78" stroke="#666" stroke-width="0.8"/><line x1="382.16" y1="212.78" x2="388.16" y2="206.78" stroke="#666" stroke-width="0.8"/><line x1="393.04" y1="212.78" x2="399.04" y2="206.78" stroke="#666" stroke-width="0.8"/><text x="390.6" y="222.78" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 3.3</text><text x="379.73" y="247.78" text-anchor="middle" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">boss 3.3 high</text><text x="20" y="26" text-anchor="start" font-size="16" font-family="system-ui, sans-serif" fill="#1a1a1a">mg90s</text><text x="20" y="44" text-anchor="start" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">all in mm. 12 spec, 12 community: compare it with the datasheet</text></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 447.77 340" width="447.77" height="340"><rect width="100%" height="100%" fill="#fff"/><rect x="78.79" y="127.07" width="50.22" height="41.85" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="103.9" cy="148" r="8.37" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="103.9" cy="148" r="6.28" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="99.22" y1="143.81" x2="108.58" y2="143.81" stroke="#1a1a1a" stroke-width="1.4"/><circle cx="85.07" cy="148" r="3.35" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="122.73" cy="148" r="3.35" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><line x1="70" y1="148" x2="137.8" y2="148" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="103.9" y1="181.9" x2="103.9" y2="114.1" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="78.79" y1="173.53" x2="78.79" y2="191.53" stroke="#666" stroke-width="0.6"/><line x1="129.01" y1="173.53" x2="129.01" y2="191.53" stroke="#666" stroke-width="0.6"/><line x1="78.79" y1="191.53" x2="129.01" y2="191.53" stroke="#666" stroke-width="0.8"/><line x1="75.79" y1="194.53" x2="81.79" y2="188.53" stroke="#666" stroke-width="0.8"/><line x1="126.01" y1="194.53" x2="132.01" y2="188.53" stroke="#666" stroke-width="0.8"/><text x="103.9" y="204.53" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">12</text><line x1="85.07" y1="173.53" x2="85.07" y2="213.53" stroke="#666" stroke-width="0.6"/><line x1="122.73" y1="173.53" x2="122.73" y2="213.53" stroke="#666" stroke-width="0.6"/><line x1="85.07" y1="213.53" x2="122.73" y2="213.53" stroke="#666" stroke-width="0.8"/><line x1="82.07" y1="216.53" x2="88.07" y2="210.53" stroke="#666" stroke-width="0.8"/><line x1="119.73" y1="216.53" x2="125.73" y2="210.53" stroke="#666" stroke-width="0.8"/><text x="103.9" y="226.53" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">holes 9</text><line x1="95.53" y1="127.07" x2="95.53" y2="113.07" stroke="#666" stroke-width="0.6"/><line x1="112.27" y1="127.07" x2="112.27" y2="113.07" stroke="#666" stroke-width="0.6"/><line x1="95.53" y1="113.07" x2="112.27" y2="113.07" stroke="#666" stroke-width="0.8"/><line x1="92.53" y1="116.07" x2="98.53" y2="110.07" stroke="#666" stroke-width="0.8"/><line x1="109.27" y1="116.07" x2="115.27" y2="110.07" stroke="#666" stroke-width="0.8"/><text x="103.9" y="109.07" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">boss Ø4</text><text x="103.9" y="251.53" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">2 × M1.6, 2.5 deep</text><rect x="227.8" y="127.07" width="104.63" height="41.85" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><rect x="332.43" y="139.63" width="2.93" height="16.74" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><rect x="332.43" y="141.72" width="41.85" height="12.56" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="340.8" y1="143.81" x2="374.29" y2="143.81" stroke="#1a1a1a" stroke-width="1.2"/><line x1="332.43" y1="114.1" x2="332.43" y2="181.9" stroke="#666" stroke-width="0.6" stroke-dasharray="4 3"/><text x="332.43" y="108.1" text-anchor="middle" font-size="10" font-family="system-ui, sans-serif" fill="#1a1a1a">mounting face</text><line x1="227.8" y1="174.93" x2="227.8" y2="188.93" stroke="#666" stroke-width="0.6"/><line x1="332.43" y1="174.93" x2="332.43" y2="188.93" stroke="#666" stroke-width="0.6"/><line x1="227.8" y1="188.93" x2="332.43" y2="188.93" stroke="#666" stroke-width="0.8"/><line x1="224.8" y1="191.93" x2="230.8" y2="185.93" stroke="#666" stroke-width="0.8"/><line x1="329.43" y1="191.93" x2="335.43" y2="185.93" stroke="#666" stroke-width="0.8"/><text x="280.12" y="201.93" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">25</text><line x1="332.43" y1="174.93" x2="332.43" y2="210.93" stroke="#666" stroke-width="0.6"/><line x1="374.29" y1="174.93" x2="374.29" y2="210.93" stroke="#666" stroke-width="0.6"/><line x1="332.43" y1="210.93" x2="374.29" y2="210.93" stroke="#666" stroke-width="0.8"/><line x1="329.43" y1="213.93" x2="335.43" y2="207.93" stroke="#666" stroke-width="0.8"/><line x1="371.29" y1="213.93" x2="377.29" y2="207.93" stroke="#666" stroke-width="0.8"/><text x="353.36" y="223.93" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 10</text><line x1="340.8" y1="137.72" x2="340.8" y2="123.72" stroke="#666" stroke-width="0.6"/><line x1="374.29" y1="137.72" x2="374.29" y2="123.72" stroke="#666" stroke-width="0.6"/><line x1="340.8" y1="123.72" x2="374.29" y2="123.72" stroke="#666" stroke-width="0.8"/><line x1="337.8" y1="126.72" x2="343.8" y2="120.72" stroke="#666" stroke-width="0.8"/><line x1="371.29" y1="126.72" x2="377.29" y2="120.72" stroke="#666" stroke-width="0.8"/><text x="357.54" y="119.72" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">flat 8</text><text x="333.9" y="248.93" text-anchor="middle" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">boss 0.7 high</text><text x="20" y="26" text-anchor="start" font-size="16" font-family="system-ui, sans-serif" fill="#1a1a1a">n20</text><text x="20" y="44" text-anchor="start" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">all in mm. 23 spec, 1 estimate: compare it with the datasheet</text></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 515.6 340" width="515.6" height="340"><rect width="100%" height="100%" fill="#fff"/><polygon points="88,200.8 169.6,200.8 181.6,188.8 181.6,107.2 169.6,95.2 88,95.2 76,107.2 76,188.8" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="128.8" cy="148" r="33" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="128.8" cy="148" r="7.5" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="124.3" y1="142" x2="133.3" y2="142" stroke="#1a1a1a" stroke-width="1.4"/><circle cx="89.8" cy="187" r="4.5" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="167.8" cy="187" r="4.5" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="167.8" cy="109" r="4.5" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="89.8" cy="109" r="4.5" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><line x1="70" y1="148" x2="187.6" y2="148" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="128.8" y1="206.8" x2="128.8" y2="89.2" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="76" y1="200.8" x2="76" y2="218.8" stroke="#666" stroke-width="0.6"/><line x1="181.6" y1="200.8" x2="181.6" y2="218.8" stroke="#666" stroke-width="0.6"/><line x1="76" y1="218.8" x2="181.6" y2="218.8" stroke="#666" stroke-width="0.8"/><line x1="73" y1="221.8" x2="79" y2="215.8" stroke="#666" stroke-width="0.8"/><line x1="178.6" y1="221.8" x2="184.6" y2="215.8" stroke="#666" stroke-width="0.8"/><text x="128.8" y="231.8" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">35.2</text><line x1="89.8" y1="200.8" x2="89.8" y2="240.8" stroke="#666" stroke-width="0.6"/><line x1="167.8" y1="200.8" x2="167.8" y2="240.8" stroke="#666" stroke-width="0.6"/><line x1="89.8" y1="240.8" x2="167.8" y2="240.8" stroke="#666" stroke-width="0.8"/><line x1="86.8" y1="243.8" x2="92.8" y2="237.8" stroke="#666" stroke-width="0.8"/><line x1="164.8" y1="243.8" x2="170.8" y2="237.8" stroke="#666" stroke-width="0.8"/><text x="128.8" y="253.8" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">holes 26</text><line x1="95.8" y1="95.2" x2="95.8" y2="81.2" stroke="#666" stroke-width="0.6"/><line x1="161.8" y1="95.2" x2="161.8" y2="81.2" stroke="#666" stroke-width="0.6"/><line x1="95.8" y1="81.2" x2="161.8" y2="81.2" stroke="#666" stroke-width="0.8"/><line x1="92.8" y1="84.2" x2="98.8" y2="78.2" stroke="#666" stroke-width="0.8"/><line x1="158.8" y1="84.2" x2="164.8" y2="78.2" stroke="#666" stroke-width="0.8"/><text x="128.8" y="77.2" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">boss Ø22</text><text x="128.8" y="278.8" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">4 × M3, 3.5 deep</text><rect x="277.6" y="95.2" width="102" height="105.6" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><rect x="379.6" y="115" width="6" height="66" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><rect x="379.6" y="140.5" width="72" height="15" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="402.1" y1="142" x2="451.6" y2="142" stroke="#1a1a1a" stroke-width="1.2"/><line x1="379.6" y1="89.2" x2="379.6" y2="206.8" stroke="#666" stroke-width="0.6" stroke-dasharray="4 3"/><text x="379.6" y="83.2" text-anchor="middle" font-size="10" font-family="system-ui, sans-serif" fill="#1a1a1a">mounting face</text><line x1="277.6" y1="206.8" x2="277.6" y2="220.8" stroke="#666" stroke-width="0.6"/><line x1="379.6" y1="206.8" x2="379.6" y2="220.8" stroke="#666" stroke-width="0.6"/><line x1="277.6" y1="220.8" x2="379.6" y2="220.8" stroke="#666" stroke-width="0.8"/><line x1="274.6" y1="223.8" x2="280.6" y2="217.8" stroke="#666" stroke-width="0.8"/><line x1="376.6" y1="223.8" x2="382.6" y2="217.8" stroke="#666" stroke-width="0.8"/><text x="328.6" y="233.8" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">34</text><line x1="379.6" y1="206.8" x2="379.6" y2="242.8" stroke="#666" stroke-width="0.6"/><line x1="451.6" y1="206.8" x2="451.6" y2="242.8" stroke="#666" stroke-width="0.6"/><line x1="379.6" y1="242.8" x2="451.6" y2="242.8" stroke="#666" stroke-width="0.8"/><line x1="376.6" y1="245.8" x2="382.6" y2="239.8" stroke="#666" stroke-width="0.8"/><line x1="448.6" y1="245.8" x2="454.6" y2="239.8" stroke="#666" stroke-width="0.8"/><text x="415.6" y="255.8" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 24</text><line x1="402.1" y1="136.5" x2="402.1" y2="122.5" stroke="#666" stroke-width="0.6"/><line x1="451.6" y1="136.5" x2="451.6" y2="122.5" stroke="#666" stroke-width="0.6"/><line x1="402.1" y1="122.5" x2="451.6" y2="122.5" stroke="#666" stroke-width="0.8"/><line x1="399.1" y1="125.5" x2="405.1" y2="119.5" stroke="#666" stroke-width="0.8"/><line x1="448.6" y1="125.5" x2="454.6" y2="119.5" stroke="#666" stroke-width="0.8"/><text x="426.85" y="118.5" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">flat 16.5</text><text x="382.6" y="280.8" text-anchor="middle" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">boss 2 high</text><text x="20" y="26" text-anchor="start" font-size="16" font-family="system-ui, sans-serif" fill="#1a1a1a">nema14</text><text x="20" y="44" text-anchor="start" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">all in mm. 11 spec, 5 estimate, 9 community: compare it with the datasheet</text></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 578.9 348.9" width="578.9" height="348.9"><rect width="100%" height="100%" fill="#fff"/><polygon points="89.5,215.9 189.4,215.9 202.9,202.4 202.9,102.5 189.4,89 89.5,89 76,102.5 76,202.4" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="139.45" cy="152.45" r="33" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="139.45" cy="152.45" r="7.5" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="134.95" y1="146.45" x2="143.95" y2="146.45" stroke="#1a1a1a" stroke-width="1.4"/><circle cx="92.95" cy="198.95" r="4.5" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="185.95" cy="198.95" r="4.5" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="185.95" cy="105.95" r="4.5" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="92.95" cy="105.95" r="4.5" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><line x1="70" y1="152.45" x2="208.9" y2="152.45" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="139.45" y1="221.9" x2="139.45" y2="83" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="76" y1="215.9" x2="76" y2="233.9" stroke="#666" stroke-width="0.6"/><line x1="202.9" y1="215.9" x2="202.9" y2="233.9" stroke="#666" stroke-width="0.6"/><line x1="76" y1="233.9" x2="202.9" y2="233.9" stroke="#666" stroke-width="0.8"/><line x1="73" y1="236.9" x2="79" y2="230.9" stroke="#666" stroke-width="0.8"/><line x1="199.9" y1="236.9" x2="205.9" y2="230.9" stroke="#666" stroke-width="0.8"/><text x="139.45" y="246.9" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">42.3</text><line x1="92.95" y1="215.9" x2="92.95" y2="255.9" stroke="#666" stroke-width="0.6"/><line x1="185.95" y1="215.9" x2="185.95" y2="255.9" stroke="#666" stroke-width="0.6"/><line x1="92.95" y1="255.9" x2="185.95" y2="255.9" stroke="#666" stroke-width="0.8"/><line x1="89.95" y1="258.9" x2="95.95" y2="252.9" stroke="#666" stroke-width="0.8"/><line x1="182.95" y1="258.9" x2="188.95" y2="252.9" stroke="#666" stroke-width="0.8"/><text x="139.45" y="268.9" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">holes 31</text><line x1="106.45" y1="89" x2="106.45" y2="75" stroke="#666" stroke-width="0.6"/><line x1="172.45" y1="89" x2="172.45" y2="75" stroke="#666" stroke-width="0.6"/><line x1="106.45" y1="75" x2="172.45" y2="75" stroke="#666" stroke-width="0.8"/><line x1="103.45" y1="78" x2="109.45" y2="72" stroke="#666" stroke-width="0.8"/><line x1="169.45" y1="78" x2="175.45" y2="72" stroke="#666" stroke-width="0.8"/><text x="139.45" y="71" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">boss Ø22</text><text x="139.45" y="293.9" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">4 × M3, 4.5 deep</text><rect x="298.9" y="89" width="144" height="126.9" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><rect x="442.9" y="119.45" width="6" height="66" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><rect x="442.9" y="144.95" width="72" height="15" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="469.9" y1="146.45" x2="514.9" y2="146.45" stroke="#1a1a1a" stroke-width="1.2"/><line x1="442.9" y1="83" x2="442.9" y2="221.9" stroke="#666" stroke-width="0.6" stroke-dasharray="4 3"/><text x="442.9" y="77" text-anchor="middle" font-size="10" font-family="system-ui, sans-serif" fill="#1a1a1a">mounting face</text><line x1="298.9" y1="221.9" x2="298.9" y2="235.9" stroke="#666" stroke-width="0.6"/><line x1="442.9" y1="221.9" x2="442.9" y2="235.9" stroke="#666" stroke-width="0.6"/><line x1="298.9" y1="235.9" x2="442.9" y2="235.9" stroke="#666" stroke-width="0.8"/><line x1="295.9" y1="238.9" x2="301.9" y2="232.9" stroke="#666" stroke-width="0.8"/><line x1="439.9" y1="238.9" x2="445.9" y2="232.9" stroke="#666" stroke-width="0.8"/><text x="370.9" y="248.9" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">48</text><line x1="442.9" y1="221.9" x2="442.9" y2="257.9" stroke="#666" stroke-width="0.6"/><line x1="514.9" y1="221.9" x2="514.9" y2="257.9" stroke="#666" stroke-width="0.6"/><line x1="442.9" y1="257.9" x2="514.9" y2="257.9" stroke="#666" stroke-width="0.8"/><line x1="439.9" y1="260.9" x2="445.9" y2="254.9" stroke="#666" stroke-width="0.8"/><line x1="511.9" y1="260.9" x2="517.9" y2="254.9" stroke="#666" stroke-width="0.8"/><text x="478.9" y="270.9" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 24</text><line x1="469.9" y1="140.95" x2="469.9" y2="126.95" stroke="#666" stroke-width="0.6"/><line x1="514.9" y1="140.95" x2="514.9" y2="126.95" stroke="#666" stroke-width="0.6"/><line x1="469.9" y1="126.95" x2="514.9" y2="126.95" stroke="#666" stroke-width="0.8"/><line x1="466.9" y1="129.95" x2="472.9" y2="123.95" stroke="#666" stroke-width="0.8"/><line x1="511.9" y1="129.95" x2="517.9" y2="123.95" stroke="#666" stroke-width="0.8"/><text x="492.4" y="122.95" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">flat 15</text><text x="445.9" y="295.9" text-anchor="middle" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">boss 2 high</text><text x="20" y="26" text-anchor="start" font-size="16" font-family="system-ui, sans-serif" fill="#1a1a1a">nema17</text><text x="20" y="44" text-anchor="start" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">all in mm. 23 spec, 3 estimate, 1 community: compare it with the datasheet</text></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 452.54 340" width="452.54" height="340"><rect width="100%" height="100%" fill="#fff"/><rect x="58.66" y="127.35" width="109.34" height="41.3" fill="#f6f4ee" stroke="#1a1a1a" stroke-width="1.2"/><rect x="74.91" y="127.35" width="76.84" height="41.3" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="131.44" cy="148" r="19.97" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="131.44" cy="148" r="7.96" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="66.78" cy="148" r="3.39" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><circle cx="159.88" cy="148" r="3.39" fill="#fff" stroke="#1a1a1a" stroke-width="1.2"/><line x1="70" y1="148" x2="192.88" y2="148" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="131.44" y1="209.44" x2="131.44" y2="86.56" stroke="#666" stroke-width="0.5" stroke-dasharray="8 3 2 3"/><line x1="58.66" y1="202.67" x2="58.66" y2="220.67" stroke="#666" stroke-width="0.6"/><line x1="168" y1="202.67" x2="168" y2="220.67" stroke="#666" stroke-width="0.6"/><line x1="58.66" y1="220.67" x2="168" y2="220.67" stroke="#666" stroke-width="0.8"/><line x1="55.66" y1="223.67" x2="61.66" y2="217.67" stroke="#666" stroke-width="0.8"/><line x1="165" y1="223.67" x2="171" y2="217.67" stroke="#666" stroke-width="0.8"/><text x="113.33" y="233.67" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">tabs 32.3</text><line x1="66.78" y1="202.67" x2="66.78" y2="242.67" stroke="#666" stroke-width="0.6"/><line x1="159.88" y1="202.67" x2="159.88" y2="242.67" stroke="#666" stroke-width="0.6"/><line x1="66.78" y1="242.67" x2="159.88" y2="242.67" stroke="#666" stroke-width="0.8"/><line x1="63.78" y1="245.67" x2="69.78" y2="239.67" stroke="#666" stroke-width="0.8"/><line x1="156.88" y1="245.67" x2="162.88" y2="239.67" stroke="#666" stroke-width="0.8"/><text x="113.33" y="255.67" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">holes 27.5</text><line x1="111.47" y1="127.35" x2="111.47" y2="113.35" stroke="#666" stroke-width="0.6"/><line x1="151.42" y1="127.35" x2="151.42" y2="113.35" stroke="#666" stroke-width="0.6"/><line x1="111.47" y1="113.35" x2="151.42" y2="113.35" stroke="#666" stroke-width="0.8"/><line x1="108.47" y1="116.35" x2="114.47" y2="110.35" stroke="#666" stroke-width="0.8"/><line x1="148.42" y1="116.35" x2="154.42" y2="110.35" stroke="#666" stroke-width="0.8"/><text x="131.44" y="109.35" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">boss Ø11.8</text><text x="192.88" y="88.56" text-anchor="end" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 5.35 from centre</text><text x="131.44" y="280.67" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">2 × Ø2</text><rect x="282.88" y="127.35" width="57.55" height="41.3" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><rect x="340.43" y="127.35" width="33.85" height="41.3" fill="#eceae4" stroke="#1a1a1a" stroke-width="1.2"/><rect x="374.29" y="128.03" width="11.17" height="39.95" fill="#ddd9cf" stroke="#1a1a1a" stroke-width="1.2"/><rect x="374.29" y="140.04" width="22.34" height="15.91" fill="#c4c8cc" stroke="#1a1a1a" stroke-width="1.2"/><line x1="340.43" y1="86.56" x2="340.43" y2="209.44" stroke="#666" stroke-width="0.6" stroke-dasharray="4 3"/><text x="340.43" y="80.56" text-anchor="middle" font-size="10" font-family="system-ui, sans-serif" fill="#1a1a1a">mounting face</text><line x1="282.88" y1="174.65" x2="282.88" y2="188.65" stroke="#666" stroke-width="0.6"/><line x1="340.43" y1="174.65" x2="340.43" y2="188.65" stroke="#666" stroke-width="0.6"/><line x1="282.88" y1="188.65" x2="340.43" y2="188.65" stroke="#666" stroke-width="0.8"/><line x1="279.88" y1="191.65" x2="285.88" y2="185.65" stroke="#666" stroke-width="0.8"/><line x1="337.43" y1="191.65" x2="343.43" y2="185.65" stroke="#666" stroke-width="0.8"/><text x="311.66" y="201.65" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">17</text><line x1="385.46" y1="174.65" x2="385.46" y2="210.65" stroke="#666" stroke-width="0.6"/><line x1="396.63" y1="174.65" x2="396.63" y2="210.65" stroke="#666" stroke-width="0.6"/><line x1="385.46" y1="210.65" x2="396.63" y2="210.65" stroke="#666" stroke-width="0.8"/><line x1="382.46" y1="213.65" x2="388.46" y2="207.65" stroke="#666" stroke-width="0.8"/><line x1="393.63" y1="213.65" x2="399.63" y2="207.65" stroke="#666" stroke-width="0.8"/><text x="391.04" y="223.65" text-anchor="middle" font-size="12" font-family="system-ui, sans-serif" fill="#1a1a1a">shaft 3.3</text><text x="379.87" y="248.65" text-anchor="middle" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">boss 3.3 high</text><text x="20" y="26" text-anchor="start" font-size="16" font-family="system-ui, sans-serif" fill="#1a1a1a">sg90</text><text x="20" y="44" text-anchor="start" font-size="11" font-family="system-ui, sans-serif" fill="#1a1a1a">all in mm. 14 spec, 10 community: compare it with the datasheet</text></svg>
package/jlcpcb.json CHANGED
@@ -69,7 +69,7 @@
69
69
  "annular": {
70
70
  "value": 0.25,
71
71
  "unit": "mm",
72
- "rule": "Annular ring, recommended (0.18 mm absolute minimum)",
72
+ "rule": "Annular ring of a plated hole (a part's pin), recommended (0.18 mm absolute minimum). Vias have their own: via_annular",
73
73
  "kind": "spec",
74
74
  "source": "https://jlcpcb.com/capabilities/pcb-capabilities",
75
75
  "checked": "2026-11-07"
@@ -77,7 +77,31 @@
77
77
  "annular_min": {
78
78
  "value": 0.18,
79
79
  "unit": "mm",
80
- "rule": "Annular ring, absolute minimum: a via or plated hole with less fails; between this and annular is a warning",
80
+ "rule": "Annular ring of a plated hole (a part's pin), absolute minimum: less fails; between this and annular is a warning. Vias have their own: via_annular_min",
81
+ "kind": "spec",
82
+ "source": "https://jlcpcb.com/capabilities/pcb-capabilities",
83
+ "checked": "2026-11-07"
84
+ },
85
+ "via_annular_min": {
86
+ "value": 0.05,
87
+ "unit": "mm",
88
+ "rule": "A via's ring, least: its pad at least 0.1 mm wider than its hole; less fails",
89
+ "kind": "spec",
90
+ "source": "https://jlcpcb.com/capabilities/pcb-capabilities",
91
+ "checked": "2026-11-07"
92
+ },
93
+ "via_annular": {
94
+ "value": 0.075,
95
+ "unit": "mm",
96
+ "rule": "A via's ring, preferred: its pad 0.15 mm wider than its hole; between via_annular_min and this is a warning",
97
+ "kind": "spec",
98
+ "source": "https://jlcpcb.com/capabilities/pcb-capabilities",
99
+ "checked": "2026-11-07"
100
+ },
101
+ "via_hole_track": {
102
+ "value": 0.2,
103
+ "unit": "mm",
104
+ "rule": "A via's hole to a track of another net, edge to edge, at least",
81
105
  "kind": "spec",
82
106
  "source": "https://jlcpcb.com/capabilities/pcb-capabilities",
83
107
  "checked": "2026-11-07"
@@ -109,7 +133,7 @@
109
133
  "cheap_size": {
110
134
  "value": 100,
111
135
  "unit": "mm",
112
- "rule": "Two-layer boards up to 100 \u00d7 100 mm get JLCPCB's lowest price; past that it rises steeply",
136
+ "rule": "Two-layer boards up to 100 × 100 mm get JLCPCB's lowest price; past that it rises steeply",
113
137
  "kind": "community",
114
138
  "source": "https://hwdocs.hackclub.dev/user-contrib-guides/jlc-cost-optimizing/",
115
139
  "checked": "2026-10-14"
package/m1_6.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "_doc": "M1.6 pan head screws, for N20 gearboxes. kind as in x1c.json.",
3
+ "name": "m1_6",
4
+ "interface": {"screw_clearance":"clearance","screw_head":"head","screw_head_height":"head_height"},
5
+ "rules": {
6
+ "clearance": { "value": 1.8, "unit": "mm", "rule": "Clearance hole for an M1.6 screw, medium fit", "kind": "spec", "source": "ISO 273 medium fit", "checked": "2026-11-08" },
7
+ "head": { "value": 3, "unit": "mm", "rule": "M1.6 socket head cap screw head diameter", "kind": "spec", "source": "ISO 4762", "checked": "2026-11-08" },
8
+ "head_height": { "value": 1.6, "unit": "mm", "rule": "M1.6 socket head cap screw head height", "kind": "spec", "source": "ISO 4762", "checked": "2026-11-08" }
9
+ }
10
+ }
package/m2.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "_doc": "M2 screws and brass heat-set inserts, for holding printed parts together. kind as in x1c.json.",
3
3
  "name": "m2",
4
+ "interface": {"screw_clearance": "clearance", "screw_head": "head", "screw_head_height": "head_height"},
4
5
  "rules": {
5
6
  "clearance": { "value": 2.4, "unit": "mm", "rule": "Clearance hole for an M2 screw, medium fit", "kind": "spec", "source": "ISO 273", "checked": "2026-10-12" },
6
7
  "head": { "value": 3.8, "unit": "mm", "rule": "M2 socket head cap screw head diameter", "kind": "spec", "source": "ISO 4762", "checked": "2026-10-12" },
package/m3.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "_doc": "M3 socket head screws, for motor faces. kind as in x1c.json.",
3
+ "name": "m3",
4
+ "interface": {"screw_clearance":"clearance","screw_head":"head","screw_head_height":"head_height"},
5
+ "rules": {
6
+ "clearance": { "value": 3.4, "unit": "mm", "rule": "Clearance hole for an M3 screw, medium fit", "kind": "spec", "source": "ISO 273 medium fit", "checked": "2026-11-08" },
7
+ "head": { "value": 5.5, "unit": "mm", "rule": "M3 socket head cap screw head diameter", "kind": "spec", "source": "ISO 4762", "checked": "2026-11-08" },
8
+ "head_height": { "value": 3, "unit": "mm", "rule": "M3 socket head cap screw head height", "kind": "spec", "source": "ISO 4762", "checked": "2026-11-08" }
9
+ }
10
+ }
package/m4.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "_doc": "M4 socket head screws and hex nuts. kind as in x1c.json.",
3
3
  "name": "m4",
4
+ "interface": {"screw_clearance": "clearance", "screw_head": "head", "screw_head_height": "head_height"},
4
5
  "rules": {
5
6
  "clearance": {"value": 4.5, "unit": "mm", "rule": "Clearance hole for an M4 screw, medium fit", "kind": "spec", "source": "ISO 273", "checked": "2026-10-27"},
6
7
  "head": {"value": 7, "unit": "mm", "rule": "M4 socket head cap screw head diameter", "kind": "spec", "source": "ISO 4762", "checked": "2026-10-27"},
package/m5.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "_doc": "M5 socket head screws and hex nuts. kind as in x1c.json.",
3
3
  "name": "m5",
4
+ "interface": {"screw_clearance": "clearance", "screw_head": "head", "screw_head_height": "head_height"},
4
5
  "rules": {
5
6
  "clearance": {"value": 5.5, "unit": "mm", "rule": "Clearance hole for an M5 screw, medium fit", "kind": "spec", "source": "ISO 273", "checked": "2026-10-27"},
6
7
  "head": {"value": 8.5, "unit": "mm", "rule": "M5 socket head cap screw head diameter", "kind": "spec", "source": "ISO 4762", "checked": "2026-10-27"},
package/mg90s.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "_doc": "An MG90S 13 g metal-geared servo. kind as in x1c.json. Mounting face at z = 0, shaft up +z from the origin. The face at z = 0 is the underside of the tabs; the body goes down through the plate.",
3
+ "name": "mg90s",
4
+ "part": "motor",
5
+ "rules": {
6
+ "type": { "value": "servo", "rule": "A position servo: it turns to an angle and holds it", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
7
+ "body_shape": { "value": "box", "rule": "A rectangular case", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
8
+ "body_width": { "value": 22.5, "unit": "mm", "rule": "Case length", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
9
+ "body_depth": { "value": 12, "unit": "mm", "rule": "Case width", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
10
+ "body_length": { "value": 21, "unit": "mm", "rule": "Case below the tabs", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
11
+ "body_top": { "value": 7.5, "unit": "mm", "rule": "Case above the tabs, to make the usual 28.5 mm total", "kind": "community", "source": "common MG90S listings; measure yours", "checked": "2026-11-08" },
12
+ "boss_diameter": { "value": 11.8, "unit": "mm", "rule": "Boss round the output", "kind": "community", "source": "common MG90S drawings; measure yours", "checked": "2026-11-08" },
13
+ "boss_height": { "value": 3.3, "unit": "mm", "rule": "Output boss above the case", "kind": "community", "source": "common MG90S drawings; measure yours", "checked": "2026-11-08" },
14
+ "boss_offset": { "value": 5.25, "unit": "mm", "rule": "The output is this far from the case's centre, towards one end (6 mm from that end)", "kind": "community", "source": "common MG90S drawings; measure yours", "checked": "2026-11-08" },
15
+ "shaft_diameter": { "value": 4.7, "unit": "mm", "rule": "Output spline outside diameter (finer than a printer draws: drive it through a horn)", "kind": "community", "source": "common MG90S horns", "checked": "2026-11-08" },
16
+ "shaft_length": { "value": 3.3, "unit": "mm", "rule": "Spline height above the boss", "kind": "community", "source": "common MG90S drawings; measure yours", "checked": "2026-11-08" },
17
+ "shaft_flats": { "value": 0, "unit": "", "rule": "A spline, no flats", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
18
+ "horn_screw": { "value": "M2", "rule": "The screw that holds a horn on", "kind": "community", "source": "https://forum.arduino.cc/t/servo-arm-screw-mount-size/696481", "checked": "2026-11-08" },
19
+ "horn_spline": { "value": 21, "unit": "teeth", "rule": "Teeth on the output", "kind": "community", "source": "common MG90S horns", "checked": "2026-11-08" },
20
+ "mount_pattern": { "value": "pair", "rule": "Two tabs, one at each end of the case", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
21
+ "mount_tab_length": { "value": 32.5, "unit": "mm", "rule": "End to end of the tabs", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
22
+ "mount_tab_thickness": { "value": 2.5, "unit": "mm", "rule": "Tab thickness", "kind": "community", "source": "common MG90S drawings; measure yours", "checked": "2026-11-08" },
23
+ "mount_hole_spacing": { "value": 27.5, "unit": "mm", "rule": "Between the tabs' holes", "kind": "community", "source": "common MG90S drawings; measure yours", "checked": "2026-11-08" },
24
+ "mount_hole_diameter": { "value": 2, "unit": "mm", "rule": "The tabs' holes, for the self-tapping screws supplied", "kind": "community", "source": "common MG90S drawings; measure yours", "checked": "2026-11-08" },
25
+ "mass": { "value": 0.0134, "unit": "kg", "rule": "Mass of the motor", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
26
+ "rated_voltage": { "value": 4.8, "unit": "V", "rule": "Voltage for these figures", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
27
+ "stall_torque": { "value": 0.1765, "unit": "N m", "rule": "Stall torque at 4.8 V: 1.8 kg cm (2.2 at 6 V)", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
28
+ "speed_60": { "value": 0.1, "unit": "s", "rule": "Time to turn 60° at 4.8 V", "kind": "spec", "source": "MG90S data sheet (drawing and table), https://w3.braude.ac.il/wp-content/uploads/2021/03/MG90.pdf", "checked": "2026-11-08" },
29
+ "range": { "value": 180, "unit": "deg", "rule": "Range of travel, ±15° between units", "kind": "community", "source": "https://protosupplies.com/product/servo-motor-micro-mg90s/", "checked": "2026-11-08" }
30
+ }
31
+ }
package/n20.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "_doc": "An N20 gear motor, as Pololu's 100:1 HP 6 V Micro Metal Gearmotor. Unbranded N20s look the same but vary widely: treat their torque as about half this until measured. Give ratio for another gearbox, and the torque and speed follow it. kind as in x1c.json. Mounting face at z = 0, shaft up +z from the origin.",
3
+ "name": "n20",
4
+ "part": "motor",
5
+ "rules": {
6
+ "type": { "value": "dc", "rule": "A brushed DC motor with its gearbox built in", "kind": "spec", "source": "Pololu 100:1 Micro Metal Gearmotor HP 6V, https://www.pololu.com/product/1101/specs", "checked": "2026-11-08" },
7
+ "body_shape": { "value": "box", "rule": "A 12 × 10 mm section", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
8
+ "body_width": { "value": 12, "unit": "mm", "rule": "Gearbox and can width", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
9
+ "body_depth": { "value": 10, "unit": "mm", "rule": "Gearbox and can depth", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
10
+ "body_length": { "value": 25, "unit": "mm", "rule": "Gearbox and can length, mounting face to back (9 mm gearbox on all ratios but 1000:1)", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
11
+ "boss_diameter": { "value": 4, "unit": "mm", "rule": "Bearing boss round the shaft", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
12
+ "boss_height": { "value": 0.7, "unit": "mm", "rule": "Boss height above the gearbox's face", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
13
+ "shaft_diameter": { "value": 3, "unit": "mm", "rule": "Output shaft diameter", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
14
+ "shaft_length": { "value": 10, "unit": "mm", "rule": "Shaft length from the mounting face (9 mm from the boss)", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
15
+ "shaft_flat_across": { "value": 2.5, "unit": "mm", "rule": "Across the shaft and its D flat", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
16
+ "shaft_flat_length": { "value": 8, "unit": "mm", "rule": "Length of the D flat", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
17
+ "shaft_flats": { "value": 1, "unit": "", "rule": "One flat: a D shaft", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
18
+ "mount_pattern": { "value": "pair", "rule": "Two tapped holes in the gearbox's face, either side of the shaft", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
19
+ "mount_hole_spacing": { "value": 9, "unit": "mm", "rule": "Between the two holes", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
20
+ "mount_hole_thread": { "value": "M1.6", "rule": "Tapped holes in the gearbox's face", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
21
+ "mount_hole_depth": { "value": 2.5, "unit": "mm", "rule": "Thread depth in the gearbox", "kind": "estimate", "source": "through its front plate; measure yours", "checked": "2026-11-08" },
22
+ "cable_width": { "value": 10, "unit": "mm", "rule": "Room for the terminals at the back", "kind": "spec", "source": "Pololu Micro Metal Gearmotors datasheet rev 6.2, drawings for precious-metal brushes, https://www.pololu.com/file/0J1487/pololu-micro-metal-gearmotors-rev-5-1.pdf", "checked": "2026-11-08" },
23
+ "mass": { "value": 0.0095, "unit": "kg", "rule": "Mass of the motor", "kind": "spec", "source": "Pololu 100:1 Micro Metal Gearmotor HP 6V, https://www.pololu.com/product/1101/specs", "checked": "2026-11-08" },
24
+ "rated_voltage": { "value": 6, "unit": "V", "rule": "Rated voltage", "kind": "spec", "source": "Pololu 100:1 Micro Metal Gearmotor HP 6V, https://www.pololu.com/product/1101/specs", "checked": "2026-11-08" },
25
+ "ratio": { "value": 100.37, "unit": ":1", "rule": "Built-in gearbox (the catalogue's motor)", "kind": "spec", "source": "Pololu 100:1 Micro Metal Gearmotor HP 6V, https://www.pololu.com/product/1101/specs", "checked": "2026-11-08" },
26
+ "stall_torque": { "value": 0.1667, "unit": "N m", "rule": "Stall torque at the output at 6 V: 1.7 kg cm", "kind": "spec", "source": "Pololu 100:1 Micro Metal Gearmotor HP 6V, https://www.pololu.com/product/1101/specs", "checked": "2026-11-08" },
27
+ "no_load_speed": { "value": 310, "unit": "rpm", "rule": "Free-running output speed at 6 V (±20%)", "kind": "spec", "source": "Pololu 100:1 Micro Metal Gearmotor HP 6V, https://www.pololu.com/product/1101/specs", "checked": "2026-11-08" },
28
+ "stall_current": { "value": 1.6, "unit": "A", "rule": "Stall current at 6 V", "kind": "spec", "source": "Pololu 100:1 Micro Metal Gearmotor HP 6V, https://www.pololu.com/product/1101/specs", "checked": "2026-11-08" },
29
+ "torque_limit": { "value": 0.1961, "unit": "N m", "rule": "Most the gearbox should see, even for an instant: 2 kg cm", "kind": "spec", "source": "https://www.pololu.com/product/1101", "checked": "2026-11-08" }
30
+ }
31
+ }
package/nema14.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "_doc": "A NEMA 14 stepper, 34 mm body (14HS13-0804S). kind as in x1c.json. Mounting face at z = 0, shaft up +z from the origin.",
3
+ "name": "nema14",
4
+ "part": "motor",
5
+ "variants": {"14HS13-0804S":{"kind":"spec","source":"StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s","values":{}}},
6
+ "rules": {
7
+ "type": { "value": "stepper", "rule": "What sort of motor it is", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
8
+ "body_shape": { "value": "square", "rule": "A square frame with its corners cut", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
9
+ "body_width": { "value": 35.2, "unit": "mm", "rule": "Frame width", "kind": "spec", "source": "https://www.omc-stepperonline.com/dual-shaft-nema-14-1-8deg-18ncm-25-56oz-in-0-8a-5-4v-35-2x35-2x34mm-4-wires-14hs13-0804d", "checked": "2026-11-08" },
10
+ "body_length": { "value": 34, "unit": "mm", "rule": "Body length", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
11
+ "body_corner": { "value": 4, "unit": "mm", "rule": "How far each corner is cut back, along each side", "kind": "estimate", "source": "as NEMA 17, scaled; measure yours", "checked": "2026-11-08" },
12
+ "boss_diameter": { "value": 22, "unit": "mm", "rule": "Pilot boss diameter", "kind": "community", "source": "NEMA ICS 16, frame size 14: the 1.4 in frame, 26 mm hole square, as every maker of it draws it", "checked": "2026-11-08" },
13
+ "boss_height": { "value": 2, "unit": "mm", "rule": "Pilot boss height above the mounting face", "kind": "community", "source": "NEMA ICS 16, frame size 14: the 1.4 in frame, 26 mm hole square, as every maker of it draws it", "checked": "2026-11-08" },
14
+ "shaft_diameter": { "value": 5, "unit": "mm", "rule": "Shaft diameter", "kind": "community", "source": "NEMA ICS 16, frame size 14: the 1.4 in frame, 26 mm hole square, as every maker of it draws it", "checked": "2026-11-08" },
15
+ "shaft_length": { "value": 24, "unit": "mm", "rule": "Shaft length from the mounting face", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
16
+ "shaft_flat_across": { "value": 4.5, "unit": "mm", "rule": "Across the shaft and its D flat", "kind": "community", "source": "NEMA ICS 16, frame size 14: the 1.4 in frame, 26 mm hole square, as every maker of it draws it", "checked": "2026-11-08" },
17
+ "shaft_flat_length": { "value": 16.5, "unit": "mm", "rule": "Length of the D flat", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
18
+ "shaft_flats": { "value": 1, "unit": "", "rule": "One flat: a D shaft", "kind": "community", "source": "NEMA ICS 16, frame size 14: the 1.4 in frame, 26 mm hole square, as every maker of it draws it", "checked": "2026-11-08" },
19
+ "mount_pattern": { "value": "square", "rule": "Four holes on a square, centred on the shaft", "kind": "community", "source": "NEMA ICS 16, frame size 14: the 1.4 in frame, 26 mm hole square, as every maker of it draws it", "checked": "2026-11-08" },
20
+ "mount_hole_spacing": { "value": 26, "unit": "mm", "rule": "Hole centres along each side", "kind": "community", "source": "NEMA ICS 16, frame size 14: the 1.4 in frame, 26 mm hole square, as every maker of it draws it", "checked": "2026-11-08" },
21
+ "mount_hole_thread": { "value": "M3", "rule": "Tapped holes in the motor's face", "kind": "community", "source": "NEMA ICS 16, frame size 14: the 1.4 in frame, 26 mm hole square, as every maker of it draws it", "checked": "2026-11-08" },
22
+ "mount_hole_depth": { "value": 3.5, "unit": "mm", "rule": "Least thread depth in the motor", "kind": "estimate", "source": "less than the NEMA 17's 4.5 mm; measure yours", "checked": "2026-11-08" },
23
+ "cable_width": { "value": 16, "unit": "mm", "rule": "Room for the leads at the back, across the frame", "kind": "estimate", "source": "the leads' exit; measure yours", "checked": "2026-11-08" },
24
+ "mass": { "value": 0.19, "unit": "kg", "rule": "Mass of the motor", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
25
+ "rated_current": { "value": 0.8, "unit": "A", "rule": "Amps per phase", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
26
+ "rated_voltage": { "value": 5.4, "unit": "V", "rule": "Rated voltage", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
27
+ "holding_torque": { "value": 0.18, "unit": "N m", "rule": "Holding torque", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
28
+ "inductance": { "value": 9, "unit": "mH", "rule": "Phase inductance (not on the listing: typical of a 5.4 V, 0.8 A NEMA 14)", "kind": "estimate", "source": "measure yours, or read it from the motor's own datasheet", "checked": "2026-11-08" },
29
+ "detent_torque": { "value": 0.008, "unit": "N m", "rule": "Torque with the power off, a few percent of holding torque", "kind": "estimate", "source": "typical of hybrid steppers of this size; measure yours", "checked": "2026-11-08" },
30
+ "step_angle": { "value": 1.8, "unit": "deg", "rule": "Full step", "kind": "spec", "source": "StepperOnline 14HS13-0804S listing, https://www.omc-stepperonline.com/nema-14-bipolar-1-8deg-18ncm-25-5oz-in-0-8a-5-4v-35x35x34mm-4-wires-14hs13-0804s", "checked": "2026-11-08" },
31
+ "temperature_rise": { "value": 80, "unit": "degC", "rule": "Case temperature rise at rated current, at most (the NEMA 17 datasheet's figure, Class B insulation)", "kind": "community", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" }
32
+ }
33
+ }
package/nema17.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "_doc": "A NEMA 17 stepper, 48 mm body (17HS19-2004S1). For the 40 mm body (17HS4401, 0.40 N m) give body_length 40 and holding_torque 0.4. kind as in x1c.json. Mounting face at z = 0, shaft up +z from the origin.",
3
+ "name": "nema17",
4
+ "part": "motor",
5
+ "variants": {"17HS4401":{"kind":"community","source":"https://market.samm.com/17hs4401-nema17-step-motor-en","values":{"body_length":40,"holding_torque":0.4,"rated_current":1.5,"resistance":1.8,"inductance":4.2,"mass":0.28}},"17HS19-2004S1":{"kind":"spec","source":"StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf","values":{}}},
6
+ "rules": {
7
+ "type": { "value": "stepper", "rule": "What sort of motor it is", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
8
+ "body_shape": { "value": "square", "rule": "A square frame with its corners cut", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
9
+ "body_width": { "value": 42.3, "unit": "mm", "rule": "Frame width (42.3 max)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
10
+ "body_length": { "value": 48, "unit": "mm", "rule": "Body length, mounting face to back (48 max)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
11
+ "body_corner": { "value": 4.5, "unit": "mm", "rule": "How far each corner is cut back, along each side (the drawing shows the cut but not its size: as read off common frames)", "kind": "estimate", "source": "read off the drawing's proportions; measure yours", "checked": "2026-11-08" },
12
+ "boss_diameter": { "value": 22, "unit": "mm", "rule": "Pilot boss diameter (+0, -0.05)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
13
+ "boss_height": { "value": 2, "unit": "mm", "rule": "Pilot boss height above the mounting face", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
14
+ "shaft_diameter": { "value": 5, "unit": "mm", "rule": "Shaft diameter (+0, -0.012)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
15
+ "shaft_length": { "value": 24, "unit": "mm", "rule": "Shaft length from the mounting face (±1)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
16
+ "shaft_flat_across": { "value": 4.5, "unit": "mm", "rule": "Across the shaft and its D flat (±0.1)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
17
+ "shaft_flat_length": { "value": 15, "unit": "mm", "rule": "Length of the D flat, back from the shaft's tip (±0.25)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
18
+ "shaft_flats": { "value": 1, "unit": "", "rule": "One flat: a D shaft", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
19
+ "mount_pattern": { "value": "square", "rule": "Four holes on a square, centred on the shaft", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
20
+ "mount_hole_spacing": { "value": 31, "unit": "mm", "rule": "Hole centres along each side (±0.2)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
21
+ "mount_hole_thread": { "value": "M3", "rule": "Tapped holes in the motor's face", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
22
+ "mount_hole_depth": { "value": 4.5, "unit": "mm", "rule": "Least thread depth in the motor", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
23
+ "cable_width": { "value": 16, "unit": "mm", "rule": "Room for the connector at the back, across the frame", "kind": "estimate", "source": "the JST housing and its leads; measure yours", "checked": "2026-11-08" },
24
+ "mass": { "value": 0.39, "unit": "kg", "rule": "Mass of the 48 mm motor (the drawing gives none: as sold, about 0.39 kg)", "kind": "community", "source": "https://manuals.plus/asin/B00PNEQKC0", "checked": "2026-11-08" },
25
+ "rated_current": { "value": 2, "unit": "A", "rule": "Amps per phase", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
26
+ "resistance": { "value": 1.6, "unit": "ohm", "rule": "Phase resistance at 25 °C (±10%)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
27
+ "inductance": { "value": 3, "unit": "mH", "rule": "Phase inductance at 1 kHz (±20%)", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
28
+ "holding_torque": { "value": 0.59, "unit": "N m", "rule": "Holding torque, both phases at rated current", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
29
+ "detent_torque": { "value": 0.025, "unit": "N m", "rule": "Torque with the power off (the drawing gives none: a few percent of holding torque, about 4% here)", "kind": "estimate", "source": "typical of hybrid steppers of this size; measure yours", "checked": "2026-11-08" },
30
+ "step_angle": { "value": 1.8, "unit": "deg", "rule": "Full step", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
31
+ "rotor_inertia": { "value": 82, "unit": "g cm2", "rule": "Rotor inertia", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
32
+ "temperature_rise": { "value": 80, "unit": "degC", "rule": "Case temperature rise at rated current, at most", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" },
33
+ "radial_load": { "value": 21, "unit": "N", "rule": "Most sideways load on the shaft, 20 mm out", "kind": "spec", "source": "StepperOnline 17HS19-2004S1 drawing A0842, https://static.maritex.eu/file/display/5sXxpHH1SP-JwnhJEZ0lhfX-xdYKZRi3/17HS19-2004S1_Full_Datasheet.pdf", "checked": "2026-11-08" }
34
+ }
35
+ }
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@rulecad/rules",
3
- "version": "0.3.5",
4
- "description": "Researched rule sets as open data: a Bambu Lab X1C, Cherry MX switches, OEM keycaps, M2 inserts, the Raspberry Pi Pico, materials for analysis (printed PLA and PETG, aluminium, steel, titanium) and more, each value with its source.",
3
+ "version": "0.3.7",
4
+ "description": "Researched rule sets as open data: a Bambu Lab X1C, Cherry MX switches, OEM keycaps, M2 inserts, the Raspberry Pi Pico, motors and servos, materials for analysis (printed PLA and PETG, aluminium, steel, titanium) and more, each value with its source.",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./*": "./*"
8
8
  },
9
9
  "files": [
10
10
  "*.json",
11
+ "drawings/*.svg",
11
12
  "README.md",
12
13
  "LICENSE"
13
14
  ],
@@ -16,6 +17,8 @@
16
17
  "3d-printing",
17
18
  "cherry-mx",
18
19
  "keycaps",
20
+ "motors",
21
+ "stepper",
19
22
  "raspberry-pi-pico",
20
23
  "bambu-lab",
21
24
  "open-data"
@@ -24,5 +27,9 @@
24
27
  "type": "git",
25
28
  "url": "git+https://github.com/JoniBach/rulecad.git",
26
29
  "directory": "packages/rules"
30
+ },
31
+ "homepage": "https://github.com/JoniBach/rulecad/tree/main/packages/rules#readme",
32
+ "bugs": {
33
+ "url": "https://github.com/JoniBach/rulecad/issues"
27
34
  }
28
35
  }
package/petg.json CHANGED
@@ -7,6 +7,7 @@
7
7
  "strength": {"value": 34, "unit": "MPa", "rule": "Tensile strength along the layers (x-y), ± 4", "kind": "spec", "source": "Bambu Lab PETG HF technical data sheet V1.0 (ISO 527)", "checked": "2026-10-27"},
8
8
  "strength_z": {"value": 23, "unit": "MPa", "rule": "Tensile strength across the layers (z), ± 4", "kind": "spec", "source": "Bambu Lab PETG HF technical data sheet V1.0 (ISO 527)", "checked": "2026-10-27"},
9
9
  "poisson": {"value": 0.38, "rule": "Poisson's ratio (Bambu publish none)", "kind": "estimate", "source": "Typical for PETG; printed parts vary", "checked": "2026-10-27"},
10
- "density": {"value": 1.27, "unit": "g/cm³", "rule": "Density of PETG", "kind": "estimate", "source": "Typical for PETG (1.23 to 1.29 g/cm³ across makers' data sheets)", "checked": "2026-10-27"}
10
+ "density": {"value": 1.27, "unit": "g/cm³", "rule": "Density of PETG", "kind": "estimate", "source": "Typical for PETG (1.23 to 1.29 g/cm³ across makers' data sheets)", "checked": "2026-10-27"},
11
+ "softening": { "value": 69, "unit": "°C", "rule": "Heat deflection temperature, ISO 75 at 0.45 MPa: where a part under a little load starts to creep", "kind": "spec", "source": "Bambu PETG HF technical data, ISO 75 at 0.45 MPa, https://bambulab.com/hu/filament/guide", "checked": "2026-11-08" }
11
12
  }
12
13
  }
package/pico.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "_doc": "Raspberry Pi Pico (the base model: RP2040, micro-USB), and the cable that plugs into it. kind as in x1c.json.",
3
3
  "name": "pico",
4
+ "interface": {"body_length": "length", "body_width": "width", "mount_hole_diameter": "mount_hole"},
4
5
  "rules": {
5
6
  "length": {
6
7
  "value": 51,
package/pla.json CHANGED
@@ -6,6 +6,7 @@
6
6
  "modulus_z": {"value": 2160, "unit": "MPa", "rule": "Young's modulus across the layers (z), ± 90", "kind": "spec", "source": "Bambu Lab PLA Basic technical data sheet V2.0 (ISO 527)", "checked": "2026-10-27"},
7
7
  "strength": {"value": 39, "unit": "MPa", "rule": "Tensile strength along the layers (x-y), ± 2", "kind": "community", "source": "Bambu Lab PLA Basic technical data sheet V2.0 (ISO 527), as quoted by resellers: check the current sheet", "checked": "2026-10-27"},
8
8
  "poisson": {"value": 0.36, "rule": "Poisson's ratio (Bambu publish none)", "kind": "estimate", "source": "Typical for PLA; Farah, Anderson, Langer (2016), Physical and mechanical properties of PLA, Advanced Drug Delivery Reviews 107", "checked": "2026-10-27"},
9
- "density": {"value": 1.26, "unit": "g/cm³", "rule": "Density of the filament", "kind": "spec", "source": "Bambu Lab PLA Basic technical data sheet V2.0", "checked": "2026-10-27"}
9
+ "density": {"value": 1.26, "unit": "g/cm³", "rule": "Density of the filament", "kind": "spec", "source": "Bambu Lab PLA Basic technical data sheet V2.0", "checked": "2026-10-27"},
10
+ "softening": { "value": 57, "unit": "°C", "rule": "Heat deflection temperature, ISO 75 at 0.45 MPa: where a part under a little load starts to creep", "kind": "spec", "source": "Bambu PLA Basic Technical Data Sheet, ISO 75 at 0.45 MPa, https://cdn.shopify.com/s/files/1/0380/5149/files/Bambu_PLA_Basic_Technical_Data_Sheet.pdf", "checked": "2026-11-08" }
10
11
  }
11
12
  }
package/sg90.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "_doc": "A TowerPro SG90 9 g servo. Its clones vary, so measure the one you have before cutting a tight slot. kind as in x1c.json. Mounting face at z = 0, shaft up +z from the origin. The face at z = 0 is the underside of the tabs; the body goes down through the plate.",
3
+ "name": "sg90",
4
+ "part": "motor",
5
+ "rules": {
6
+ "type": { "value": "servo", "rule": "A position servo: it turns to an angle and holds it", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
7
+ "body_shape": { "value": "box", "rule": "A rectangular case", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
8
+ "body_width": { "value": 22.7, "unit": "mm", "rule": "Case length (B)", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
9
+ "body_depth": { "value": 12.2, "unit": "mm", "rule": "Case width (D)", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
10
+ "body_length": { "value": 17, "unit": "mm", "rule": "Case below the tabs (F)", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
11
+ "body_top": { "value": 10, "unit": "mm", "rule": "Case above the tabs: the height C of 27 less F", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
12
+ "boss_diameter": { "value": 11.8, "unit": "mm", "rule": "Boss round the output, about the case's width", "kind": "community", "source": "common SG90 drawings; measure yours", "checked": "2026-11-08" },
13
+ "boss_height": { "value": 3.3, "unit": "mm", "rule": "Output boss above the case: A of 30.3 less C of 27", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
14
+ "boss_offset": { "value": 5.35, "unit": "mm", "rule": "The output is this far from the case's centre, towards one end (6 mm from that end)", "kind": "community", "source": "common SG90 drawings; measure yours", "checked": "2026-11-08" },
15
+ "shaft_diameter": { "value": 4.7, "unit": "mm", "rule": "Output spline outside diameter (21 teeth, finer than a printer draws: drive it through a horn)", "kind": "community", "source": "common SG90 horns", "checked": "2026-11-08" },
16
+ "shaft_length": { "value": 3.3, "unit": "mm", "rule": "Spline height above the boss", "kind": "community", "source": "common SG90 drawings; measure yours", "checked": "2026-11-08" },
17
+ "shaft_flats": { "value": 0, "unit": "", "rule": "A spline, no flats", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
18
+ "horn_screw": { "value": "M2", "rule": "The screw that holds a horn on", "kind": "community", "source": "https://forum.arduino.cc/t/servo-arm-screw-mount-size/696481", "checked": "2026-11-08" },
19
+ "horn_spline": { "value": 21, "unit": "teeth", "rule": "Teeth on the output", "kind": "community", "source": "common SG90 horns", "checked": "2026-11-08" },
20
+ "mount_pattern": { "value": "pair", "rule": "Two tabs, one at each end of the case", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
21
+ "mount_tab_length": { "value": 32.3, "unit": "mm", "rule": "End to end of the tabs (E)", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
22
+ "mount_tab_thickness": { "value": 2.5, "unit": "mm", "rule": "Tab thickness", "kind": "community", "source": "common SG90 drawings; measure yours", "checked": "2026-11-08" },
23
+ "mount_hole_spacing": { "value": 27.5, "unit": "mm", "rule": "Between the tabs' holes", "kind": "community", "source": "common SG90 drawings; measure yours", "checked": "2026-11-08" },
24
+ "mount_hole_diameter": { "value": 2, "unit": "mm", "rule": "The tabs' holes, for the self-tapping screws supplied", "kind": "community", "source": "common SG90 drawings; measure yours", "checked": "2026-11-08" },
25
+ "mass": { "value": 0.009, "unit": "kg", "rule": "Mass of the motor", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
26
+ "rated_voltage": { "value": 4.8, "unit": "V", "rule": "Voltage for these figures", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
27
+ "stall_torque": { "value": 0.1765, "unit": "N m", "rule": "Stall torque at 4.8 V: 1.8 kg cm", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
28
+ "speed_60": { "value": 0.1, "unit": "s", "rule": "Time to turn 60° at 4.8 V", "kind": "spec", "source": "TowerPro SG90 digital servo data sheet (dimensions A to F), https://www.rcscomponents.kiev.ua/datasheets/SG90_Digital-info.pdf", "checked": "2026-11-08" },
29
+ "range": { "value": 180, "unit": "deg", "rule": "Range of travel, ±15° between units", "kind": "community", "source": "https://protosupplies.com/product/servo-motor-micro-sg90/", "checked": "2026-11-08" }
30
+ }
31
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "_doc": "The names rule sets share for what a part mounts by and what it does, so one piece of code can read any of them: a motor, a board, a screw. A set with \"part\" uses these names directly. An older set keeps its own names and says which is which in \"interface\". Read by cad rules check and cad rules draw.",
3
+ "units": ["mm", "deg", "kg", "g", "N m", "N", "V", "A", "ohm", "mH", "rpm", "rpm/V", "Hz", "s", "degC", "g cm2", ":1", "teeth", ""],
4
+ "prefixes": ["body_", "boss_", "shaft_", "mount_", "cable_", "horn_", "screw_"],
5
+ "fields": {
6
+ "type": { "choice": ["stepper", "dc", "servo", "brushless"], "says": "what sort of motor" },
7
+ "body_shape": { "choice": ["square", "round", "box"], "says": "the body's outline, seen from the mounting face" },
8
+ "body_width": { "unit": "mm", "says": "a square frame's side, or a box's long side" },
9
+ "body_depth": { "unit": "mm", "says": "a box's short side" },
10
+ "body_diameter": { "unit": "mm", "says": "a round body" },
11
+ "body_length": { "unit": "mm", "says": "from the mounting face back" },
12
+ "body_top": { "unit": "mm", "says": "what stands above the mounting face, beside the shaft" },
13
+ "body_corner": { "unit": "mm", "says": "how far each corner of a square frame is cut back" },
14
+ "boss_diameter": { "unit": "mm", "says": "the pilot boss round the shaft" },
15
+ "boss_height": { "unit": "mm", "says": "how far the boss stands proud of the mounting face" },
16
+ "boss_offset": { "unit": "mm", "says": "the shaft's distance from the body's centre, where it isn't central" },
17
+ "shaft_diameter": { "unit": "mm", "says": "the output shaft or spline" },
18
+ "shaft_length": { "unit": "mm", "says": "from the mounting face to the shaft's tip" },
19
+ "shaft_flat_across": { "unit": "mm", "says": "across the shaft at its flat, or across two flats" },
20
+ "shaft_flat_length": { "unit": "mm", "says": "the flat's length, back from the tip" },
21
+ "shaft_flats": { "unit": "", "says": "how many flats: 0, 1 (a D) or 2" },
22
+ "horn_screw": { "says": "the thread that holds a servo's horn" },
23
+ "horn_spline": { "unit": "teeth", "says": "teeth on a servo's output" },
24
+ "mount_pattern": { "choice": ["square", "pair"], "says": "four holes on a square, or two" },
25
+ "mount_hole_spacing": { "unit": "mm", "says": "between hole centres" },
26
+ "mount_hole_thread": { "says": "a tapped hole's thread: M3" },
27
+ "mount_hole_depth": { "unit": "mm", "says": "the thread's depth in the part" },
28
+ "mount_hole_diameter": { "unit": "mm", "says": "a plain hole's diameter" },
29
+ "mount_ear_radius": { "unit": "mm", "says": "the radius of an ear round its hole" },
30
+ "mount_ear_thickness": { "unit": "mm", "says": "how thick an ear is" },
31
+ "mount_tab_length": { "unit": "mm", "says": "a servo's tabs, end to end" },
32
+ "mount_tab_thickness": { "unit": "mm", "says": "how thick a tab is" },
33
+ "cable_width": { "unit": "mm", "says": "room for the wires, across the part" },
34
+ "cable_reach": { "unit": "mm", "says": "the wire housing's far side, from the body's centre" },
35
+ "screw_clearance": { "unit": "mm", "says": "a clearance hole for the screw" },
36
+ "screw_head": { "unit": "mm", "says": "the screw head's diameter" },
37
+ "screw_head_height": { "unit": "mm", "says": "the screw head's height" },
38
+ "mass": { "unit": "kg", "says": "the part's mass" },
39
+ "rated_voltage": { "unit": "V", "says": "the voltage its figures are given at" },
40
+ "rated_current": { "unit": "A", "says": "amps per phase, or the most it works at" },
41
+ "resistance": { "unit": "ohm", "says": "per phase" },
42
+ "inductance": { "unit": "mH", "says": "per phase" },
43
+ "holding_torque": { "unit": "N m", "says": "powered, standing still" },
44
+ "detent_torque": { "unit": "N m", "says": "unpowered, standing still" },
45
+ "pull_in_torque": { "unit": "N m", "says": "what a geared stepper starts against" },
46
+ "friction_torque": { "unit": "N m", "says": "friction in a built-in gearbox, at the output" },
47
+ "stall_torque": { "unit": "N m", "says": "at the rated voltage" },
48
+ "stall_current": { "unit": "A", "says": "at the rated voltage" },
49
+ "torque_limit": { "unit": "N m", "says": "the most its gearbox should see" },
50
+ "no_load_speed": { "unit": "rpm", "says": "free running at the rated voltage" },
51
+ "ratio": { "unit": ":1", "says": "a built-in gearbox" },
52
+ "step_angle": { "unit": "deg", "says": "one step" },
53
+ "step_rate": { "unit": "Hz", "says": "the fastest it starts unloaded" },
54
+ "speed_60": { "unit": "s", "says": "a servo's time to turn 60°" },
55
+ "range": { "unit": "deg", "says": "a servo's travel" },
56
+ "kv": { "unit": "rpm/V", "says": "a brushless motor's speed per volt" },
57
+ "rotor_inertia": { "unit": "g cm2", "says": "the rotor's inertia" },
58
+ "temperature_rise": { "unit": "degC", "says": "the case above the room, at rated current" },
59
+ "radial_load": { "unit": "N", "says": "the most sideways load on the shaft" }
60
+ },
61
+ "parts": {
62
+ "motor": ["type", "body_shape", "body_length", "shaft_diameter", "shaft_length", "shaft_flats", "mount_pattern", "mount_hole_spacing", "mass"]
63
+ }
64
+ }
package/xiao.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "_doc": "Seeed Studio XIAO modules (ESP32-C3/C6/S3, nRF52840, RP2040, RP2350, SAMD21 ...): one size and pinout across the family, so a board can take any of them. kind as in x1c.json.",
3
3
  "name": "xiao",
4
+ "interface": {"body_length": "length", "body_width": "width"},
4
5
  "rules": {
5
6
  "length": { "value": 21, "unit": "mm", "rule": "Module length, USB end to far end", "kind": "spec", "source": "https://wiki.seeedstudio.com/xiao_rp2350_arduino", "checked": "2026-10-16" },
6
7
  "width": { "value": 17.8, "unit": "mm", "rule": "Module width", "kind": "spec", "source": "https://wiki.seeedstudio.com/xiao_rp2350_arduino", "checked": "2026-10-16" },