@rulecad/rules 0.3.20 → 0.3.22
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/CHANGELOG.md +13 -0
- package/README.md +1 -0
- package/dmls.json +12 -0
- package/mill-3axis.json +13 -0
- package/mould-injection.json +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
What changed in each release, for someone upgrading a workspace. A rule set's **values** are the figures designs
|
|
4
4
|
read (`m3.clearance`, `x1c.hole_comp`). Each release says whether any value changed, and why.
|
|
5
5
|
|
|
6
|
+
## 0.3.22: how parts are made
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `mill-3axis`: 3-axis milling's thinnest walls (metal 0.8 mm, plastic 1.5 mm, and what is feasible), inside corners
|
|
10
|
+
a third of the pocket's depth, pockets at most four times as deep as wide, and holes from 1 mm (community, Protolabs
|
|
11
|
+
Network's CNC design guide).
|
|
12
|
+
- `mould-injection`: draft for injection moulding: a degree per inch of depth, 0.5 at least, 3 at a shutoff and for a
|
|
13
|
+
light texture, 5 for a heavy one (community, Protolabs' draft guidelines).
|
|
14
|
+
- `dmls`: metal powder bed printing: overhangs at 45 degrees (316L: 55), 2.032 mm bridges, holes from 0.635 mm,
|
|
15
|
+
features from 0.3048 mm (community, Protolabs' DMLS guide), and powder escape holes from 2 mm (community, Xometry).
|
|
16
|
+
|
|
17
|
+
No existing value changed.
|
|
18
|
+
|
|
6
19
|
## 0.3.20: MISUMI slot 10 nuts
|
|
7
20
|
### Added
|
|
8
21
|
|
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ it comes from and when it was checked, so a design built on it can be traced and
|
|
|
55
55
|
| `gt2-belt-6` | GT2 (2MGT) belt, 6 mm wide: pitch, pitch line offset, width, stiffness per unit strain and per width, rated tension, smallest idlers (Gates's figures; unbranded belt community until measured) | 11 |
|
|
56
56
|
| `pulley-gt2-16`, `pulley-gt2-20` | GT2 16 and 20 tooth pulleys for 6 mm belt with a 5 mm bore: teeth, pitch and tooth diameters (Gates's), bore, rim, width. Community until measured, Gates's own sprockets as variants | 8, 8 |
|
|
57
57
|
| `idler-gt2-toothed-20`, `idler-gt2-smooth-20` | GT2 idlers with bearings for 6 mm belt, 5 mm bore, toothed and smooth. Community until measured | 6, 5 |
|
|
58
|
+
| `mill-3axis`, `mould-injection`, `dmls` | How parts are made other than by an FDM printer, for optimisation problems (topopt's mill, cast and overhang with voids): 3-axis milling's walls, inside corners, pocket depth and holes; injection moulding's draft; metal powder bed printing's overhang, bridge, holes, features and powder escape holes. Each from a service's design guide, community until your shop's figures replace them | 7, 5, 6 |
|
|
58
59
|
| `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 |
|
|
59
60
|
| `al6063-t5`, `al6063-t6`, `al6063-t66`, `al6060-t66`, `al6005a-t6` | The extrusion alloys framing profiles are made of, each in its temper: modulus, shear modulus, the least proof stress and tensile strength EN 755-2 allows, density (Hydro's alloy data sheets) | 6 each |
|
|
60
61
|
| `al6n01-t5`, `al6060-rexroth` | The same for two makers' own material figures: MISUMI's JIS A6N01SS-T5 and Bosch Rexroth's EN AW-6060 | 5 each |
|
package/dmls.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_doc": "Metal printing in a powder bed (direct metal laser sintering, DMLS, or laser powder bed fusion), from a printing service's design guide: a part optimised for it has the problem's overhang ('+z') and no enclosed voids, since powder left inside can't be got out (topopt voids finds them). The optimiser holds overhangs at 45 degrees, which this set's 45 matches; 316L stainless asks 55, which it does not model. kind community: a service's published guidance; your printer's figures beat it.",
|
|
3
|
+
"name": "dmls",
|
|
4
|
+
"rules": {
|
|
5
|
+
"overhang": { "value": 45, "unit": "deg", "rule": "Faces held up by themselves at no less than this from the build plate", "kind": "community", "source": "Protolabs, DMLS design guide, https://Protolabs.com/media/1020535/protolabs_dmls_design_guide.pdf", "checked": "2026-11-24" },
|
|
6
|
+
"overhang_316l": { "value": 55, "unit": "deg", "rule": "The same for 316L stainless steel", "kind": "community", "source": "Protolabs, DMLS design guide, https://Protolabs.com/media/1020535/protolabs_dmls_design_guide.pdf", "checked": "2026-11-24" },
|
|
7
|
+
"bridge": { "value": 2.032, "unit": "mm", "rule": "The longest span left unsupported (0.080 in.); longer, the faces underneath come out poor", "kind": "community", "source": "Protolabs, DMLS design guide, https://Protolabs.com/media/1020535/protolabs_dmls_design_guide.pdf", "checked": "2026-11-24" },
|
|
8
|
+
"hole_min": { "value": 0.635, "unit": "mm", "rule": "Holes smaller than this (0.025 in.) tend to seal shut or come out small", "kind": "community", "source": "Protolabs, DMLS design guide, https://Protolabs.com/media/1020535/protolabs_dmls_design_guide.pdf", "checked": "2026-11-24" },
|
|
9
|
+
"feature_min": { "value": 0.3048, "unit": "mm", "rule": "The smallest solid feature at normal resolution (0.012 in.)", "kind": "community", "source": "Protolabs, design tip: 7 mistakes to avoid when designing 3D printed parts, https://protolabs.com/resources/design-tips/7-mistakes-to-avoid-when-designing-3d-printed-parts", "checked": "2026-11-24" },
|
|
10
|
+
"escape_hole": { "value": 2, "unit": "mm", "rule": "A hollow needs a hole at least this wide (2 to 5 mm are used) to let its powder out, on a face nobody sees", "kind": "community", "source": "Xometry, DMLS design tips, https://xometry.pro/en-eu/articles/dmls-design-tips/", "checked": "2026-11-24" }
|
|
11
|
+
}
|
|
12
|
+
}
|
package/mill-3axis.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_doc": "Milling on a 3-axis machine, from a machining service's design guide: the tool comes in along one axis, so a part optimised for it has no undercuts from that side (the problem's mill, '+z' for a tool from above). Read with the problem's filter (about the thinnest wall) and cell. kind community: a service's published guidance, not a standard; your shop's own figures beat it.",
|
|
3
|
+
"name": "mill-3axis",
|
|
4
|
+
"rules": {
|
|
5
|
+
"wall_metal": { "value": 0.8, "unit": "mm", "rule": "Thinnest wall recommended in a metal part (0.5 mm is feasible)", "kind": "community", "source": "Protolabs Network (Hubs), How to design parts for CNC machining, https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/", "checked": "2026-11-24" },
|
|
6
|
+
"wall_metal_feasible": { "value": 0.5, "unit": "mm", "rule": "Thinnest wall feasible in a metal part, at a cost", "kind": "community", "source": "Protolabs Network (Hubs), How to design parts for CNC machining, https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/", "checked": "2026-11-24" },
|
|
7
|
+
"wall_plastic": { "value": 1.5, "unit": "mm", "rule": "Thinnest wall recommended in a plastic part (1.0 mm is feasible): plastics warp from residual stress and soften with heat", "kind": "community", "source": "Protolabs Network (Hubs), How to design parts for CNC machining, https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/", "checked": "2026-11-24" },
|
|
8
|
+
"wall_plastic_feasible": { "value": 1.0, "unit": "mm", "rule": "Thinnest wall feasible in a plastic part, at a cost", "kind": "community", "source": "Protolabs Network (Hubs), How to design parts for CNC machining, https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/", "checked": "2026-11-24" },
|
|
9
|
+
"corner_per_depth": { "value": 0.3333, "rule": "An inside corner along the tool's axis is round: its radius at least a third of the pocket's depth (a little more lets the tool follow an arc)", "kind": "community", "source": "Protolabs Network (Hubs), How to design parts for CNC machining, https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/", "checked": "2026-11-24" },
|
|
10
|
+
"depth_per_width": { "value": 4, "unit": ":1", "rule": "A pocket at most four times as deep as it is wide, with standard tools", "kind": "community", "source": "Protolabs Network (Hubs), How to design parts for CNC machining, https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/", "checked": "2026-11-24" },
|
|
11
|
+
"hole_min": { "value": 1, "unit": "mm", "rule": "Smallest hole feasible; a standard drill size is recommended", "kind": "community", "source": "Protolabs Network (Hubs), How to design parts for CNC machining, https://www.hubs.com/knowledge-base/how-design-parts-cnc-machining/", "checked": "2026-11-24" }
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_doc": "Injection moulding (and, as far as these go, casting in a two-part mould): the mould's halves are drawn off along one axis from a parting plane, so a part optimised for it has no undercuts from either side (the problem's cast: { draw, parting }). Draft is not modelled by the optimiser (a degree or two is less than a cell): add it when the part is drawn. kind community: a moulding service's published guidance; your moulder's figures beat it.",
|
|
3
|
+
"name": "mould-injection",
|
|
4
|
+
"rules": {
|
|
5
|
+
"draft_per_inch": { "value": 1, "unit": "deg", "rule": "Rule of thumb: a degree of draft for each inch (25.4 mm) of a cavity's depth, more for deeper features", "kind": "community", "source": "Protolabs, Draft Angle Guidelines for Injection Molding, https://protolabs.com/resources/design-tips/improving-part-moldability-with-draft/", "checked": "2026-11-24" },
|
|
6
|
+
"draft_min": { "value": 0.5, "unit": "deg", "rule": "The least draft worth asking for; 0.25 to 0.5 degrees can work in some cases, confirmed with the moulder first", "kind": "community", "source": "Protolabs, Draft Angle Guidelines for Injection Molding, https://protolabs.com/resources/design-tips/improving-part-moldability-with-draft/", "checked": "2026-11-24" },
|
|
7
|
+
"draft_shutoff": { "value": 3, "unit": "deg", "rule": "Least draft where metal slides on metal in the mould (a shutoff)", "kind": "community", "source": "Protolabs, Draft Angle Guidelines for Injection Molding, https://protolabs.com/resources/design-tips/improving-part-moldability-with-draft/", "checked": "2026-11-24" },
|
|
8
|
+
"draft_texture_light": { "value": 3, "unit": "deg", "rule": "Draft a lightly textured face needs (PM-T1)", "kind": "community", "source": "Protolabs, Draft Angle Guidelines for Injection Molding, https://protolabs.com/resources/design-tips/improving-part-moldability-with-draft/", "checked": "2026-11-24" },
|
|
9
|
+
"draft_texture_heavy": { "value": 5, "unit": "deg", "rule": "Draft a heavily textured face needs (PM-T2), or more", "kind": "community", "source": "Protolabs, Draft Angle Guidelines for Injection Molding, https://protolabs.com/resources/design-tips/improving-part-moldability-with-draft/", "checked": "2026-11-24" }
|
|
10
|
+
}
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulecad/rules",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.22",
|
|
4
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": {
|