create-rulecad 0.3.8 → 0.3.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rulecad",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "description": "Start a rulecad project: npm create rulecad my-designs. A workspace with a soap tray to start from, ready to check, preview, export and share.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -90,9 +90,14 @@ variable says which rule it comes from. Follow these steps; they're what makes a
90
90
  `"overhang"` to the way up it will print, so the result needs no supports, and give horizontal bosses and holes a
91
91
  `teardrop` (`"down"`, `"up"`). Draw the part as it prints; if that isn't the problem's frame, give its `analysis` a
92
92
  `rotate` and `move` back. Build with `v.shapes.optimisedSolid(...)` and `"engine": "manifold"`; look at the four views.
93
+ The result is made printable before it's drawn (hanging cells emptied, tips lifted, loose bits dropped), but a kept
94
+ region is never emptied: if `cad optimise` says part of one has nothing holding it up, give the part more material
95
+ to stand it on, or keep less. `cad check` tests the part for one piece and nothing starting in mid-air.
93
96
  - Before reporting numbers for a final shape, verify them: give the `analysis` a smaller `cell` (solids: about a
94
97
  third of the problem's) and check the stiffness has settled (`fea.settled`). Report the verified numbers, the safety
95
98
  factor, and where the peak stress is.
99
+ - For a part that must not break (a lever, a pedal), give its problem a `"stress"` limit (the material's strength
100
+ over a safety factor) instead of a `"volume"`: the lightest layout under it. Then verify it on finer cells.
96
101
  - Mark a problem `"critical": true` if the part could hurt someone if it broke. Say plainly that the analysis is a
97
102
  design aid and the material values are data-sheet figures: such a part needs testing, recorded under
98
103
  `"verification"`, not just a check.