create-rulecad 0.3.14 → 0.3.15

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.14",
3
+ "version": "0.3.15",
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": {
@@ -21,6 +21,10 @@ variable says which rule it comes from. Follow these steps; they're what makes a
21
21
  - When a part must fit something whose model exists (a maker's CAD, a model site), measure that model:
22
22
  `npx cad measure <file> --rules <name> --source <url> --licence "…"`. Look at the drawing in `.preview/measure/`,
23
23
  then rename the draft rules for what they are and say in each `rule` what the feature does.
24
+ - For a beam (an aluminium extrusion) the kit has no profile for, measure the maker's model or a DXF of its section:
25
+ `npx cad measure <beam.stl|section.dxf> --profile <name> --source <url> --licence "…"`. It writes a draft profile
26
+ set and the section's outline into this workspace's `rules/`. Look at the drawing, check the slot figures against
27
+ the maker's sheet, and never copy the outline out of the workspace: it is the maker's shape.
24
28
  - Model it from those rules, then `npx cad match <project>/<object> <file>`: report the worst places with their numbers,
25
29
  and look at the sections picture. A deliberate clearance shows as an even offset; anything else is a finding.
26
30
  - Don't copy the shape of a model whose licence is non-commercial, no-derivatives or share-alike into a design under