@code3d/core 0.0.1-alpha.10 → 0.0.1-alpha.12

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.
Files changed (36) hide show
  1. package/README.md +18 -13
  2. package/bld/chunks/{chunk-TTJOM4DJ.js → chunk-CQKOD54C.js} +575 -32
  3. package/bld/chunks/chunk-CQKOD54C.js.map +7 -0
  4. package/bld/chunks/{chunk-IJHQ57VL.js → chunk-JF6QRICU.js} +2 -2
  5. package/bld/chunks/{chunk-5IP37Z5U.js → chunk-L4V6X7RH.js} +2 -2
  6. package/bld/chunks/{chunk-HBRLIGQN.js → chunk-QJVTVAYM.js} +3 -3
  7. package/bld/library/extrude.d.ts +5 -0
  8. package/bld/library/extrude.d.ts.map +1 -1
  9. package/bld/library/index.d.ts +2 -2
  10. package/bld/library/index.d.ts.map +1 -1
  11. package/bld/library/index.js +11 -1
  12. package/bld/library/inspect.d.ts +5 -1
  13. package/bld/library/inspect.d.ts.map +1 -1
  14. package/bld/library/loft.d.ts +7 -1
  15. package/bld/library/loft.d.ts.map +1 -1
  16. package/bld/library/replicad.js +2 -2
  17. package/bld/library/runtime.d.ts +68 -7
  18. package/bld/library/runtime.d.ts.map +1 -1
  19. package/bld/node/index.js +13 -3
  20. package/bld/node/replicad.js +4 -4
  21. package/bld/tooling/index.js +2 -2
  22. package/docs/api.md +134 -13
  23. package/docs/local-coordinates.md +2 -0
  24. package/docs/runtime.md +42 -2
  25. package/docs/topology.md +6 -0
  26. package/docs/values.md +9 -0
  27. package/package.json +1 -1
  28. package/src/library/extrude.ts +129 -2
  29. package/src/library/index.ts +6 -0
  30. package/src/library/inspect.ts +6 -2
  31. package/src/library/loft.ts +67 -2
  32. package/src/library/runtime.ts +624 -13
  33. package/bld/chunks/chunk-TTJOM4DJ.js.map +0 -7
  34. /package/bld/chunks/{chunk-IJHQ57VL.js.map → chunk-JF6QRICU.js.map} +0 -0
  35. /package/bld/chunks/{chunk-5IP37Z5U.js.map → chunk-L4V6X7RH.js.map} +0 -0
  36. /package/bld/chunks/{chunk-HBRLIGQN.js.map → chunk-QJVTVAYM.js.map} +0 -0
package/README.md CHANGED
@@ -6,7 +6,8 @@ in the App or a supported Node.js runtime.
6
6
 
7
7
  Model constructors define the initial origin; derived operations inherit their main
8
8
  input frame. `group`, `union`, and `intersect` use the first member or operand,
9
- `cut` uses the stock, and `loft` uses the first section. See the
9
+ `cut` uses the stock, `loft` uses the first section, and `revolve` and `sweep`
10
+ use the profile. See the
10
11
  [default origin rules](docs/local-coordinates.md#default-origin-rules)
11
12
  for all constructors and explicit origin operations.
12
13
 
@@ -38,18 +39,22 @@ and the [agent file workflow](../../docs/agents/files.md).
38
39
 
39
40
  ## Find the modeling API
40
41
 
41
- | Task | Start here |
42
- | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
43
- | Solids, planar profiles, curves, points, Boolean operations, extrusion and loft | [Modeling reference](docs/api.md) |
44
- | Place parts with bounds, align geometry or match coordinate frames | [Relations](docs/relations.mdx) |
45
- | Change origins and rotate parts | [Origins and rotation](docs/origins-and-rotation.mdx) |
46
- | Hollow a solid or choose openings | [Shells](docs/shells.mdx) |
47
- | Select vertices, edges and surfaces, or expose named elements | [Topology](docs/topology.md) |
48
- | Build reusable model functions | [Reusable models](../web/src/content/docs/docs/guides/reusable-models.mdx) |
49
- | Give functions editing tools and example arguments | [Model tools](../web/src/content/docs/docs/guides/model-tools.mdx) |
50
- | Customize parameter and call inspection | [Source inspection](docs/runtime.md#source-inspection) |
51
- | Extend the runtime with Replicad geometry | [Custom primitives](docs/custom-primitives.mdx) |
52
- | Known boundaries | [Current limitations](../web/src/content/docs/docs/getting-started/limitations.md) |
42
+ | Task | Start here |
43
+ | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
44
+ | Solids, profiles, curves, Boolean operations, extrusion, revolution, sweep and loft | [Modeling reference](docs/api.md) |
45
+ | Place parts with bounds, align geometry or match coordinate frames | [Relations](docs/relations.mdx) |
46
+ | Change origins and rotate parts | [Origins and rotation](docs/origins-and-rotation.mdx) |
47
+ | Hollow a solid or choose openings | [Shells](docs/shells.mdx) |
48
+ | Select vertices, edges and surfaces, or expose named elements | [Topology](docs/topology.md) |
49
+ | Build reusable model functions | [Reusable models](../web/src/content/docs/docs/guides/reusable-models.mdx) |
50
+ | Give functions editing tools and example arguments | [Model tools](../web/src/content/docs/docs/guides/model-tools.mdx) |
51
+ | Customize parameter and call inspection | [Source inspection](docs/runtime.md#source-inspection) |
52
+ | Extend the runtime with Replicad geometry | [Custom primitives](docs/custom-primitives.mdx) |
53
+ | Known boundaries | [Current limitations](../web/src/content/docs/docs/getting-started/limitations.md) |
54
+
55
+ Read finite edge `.length`, face or solid `.area`, and solid `.volume` as ordinary
56
+ numbers; select the property in App to inspect the measurement. See
57
+ [length and area](docs/api.md#length-and-area) and [volume](docs/api.md#volume).
53
58
 
54
59
  See also [model values and measurements](docs/values.md), [editable sketches](docs/sketches.md),
55
60
  [text and fonts](docs/text.md), and [runtime integration](docs/runtime.md).