@code3d/core 0.0.1-alpha.11 → 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.
- package/README.md +18 -13
- package/bld/chunks/{chunk-JBVIAMJ6.js → chunk-CQKOD54C.js} +552 -25
- package/bld/chunks/chunk-CQKOD54C.js.map +7 -0
- package/bld/chunks/{chunk-CL3E2DE4.js → chunk-JF6QRICU.js} +2 -2
- package/bld/chunks/{chunk-HZRQUHM2.js → chunk-L4V6X7RH.js} +2 -2
- package/bld/chunks/{chunk-QK6ZET47.js → chunk-QJVTVAYM.js} +3 -3
- package/bld/library/extrude.d.ts +5 -0
- package/bld/library/extrude.d.ts.map +1 -1
- package/bld/library/index.d.ts +2 -2
- package/bld/library/index.d.ts.map +1 -1
- package/bld/library/index.js +11 -1
- package/bld/library/inspect.d.ts +3 -1
- package/bld/library/inspect.d.ts.map +1 -1
- package/bld/library/loft.d.ts +7 -1
- package/bld/library/loft.d.ts.map +1 -1
- package/bld/library/replicad.js +2 -2
- package/bld/library/runtime.d.ts +68 -7
- package/bld/library/runtime.d.ts.map +1 -1
- package/bld/node/index.js +13 -3
- package/bld/node/replicad.js +4 -4
- package/bld/tooling/index.js +2 -2
- package/docs/api.md +134 -13
- package/docs/local-coordinates.md +2 -0
- package/docs/runtime.md +42 -2
- package/docs/topology.md +6 -0
- package/docs/values.md +9 -0
- package/package.json +1 -1
- package/src/library/extrude.ts +129 -2
- package/src/library/index.ts +6 -0
- package/src/library/inspect.ts +4 -2
- package/src/library/loft.ts +67 -2
- package/src/library/runtime.ts +599 -7
- package/bld/chunks/chunk-JBVIAMJ6.js.map +0 -7
- /package/bld/chunks/{chunk-CL3E2DE4.js.map → chunk-JF6QRICU.js.map} +0 -0
- /package/bld/chunks/{chunk-HZRQUHM2.js.map → chunk-L4V6X7RH.js.map} +0 -0
- /package/bld/chunks/{chunk-QK6ZET47.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,
|
|
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
|
|
42
|
-
|
|
|
43
|
-
| Solids,
|
|
44
|
-
| Place parts with bounds, align geometry or match coordinate frames
|
|
45
|
-
| Change origins and rotate parts
|
|
46
|
-
| Hollow a solid or choose openings
|
|
47
|
-
| Select vertices, edges and surfaces, or expose named elements
|
|
48
|
-
| Build reusable model functions
|
|
49
|
-
| Give functions editing tools and example arguments
|
|
50
|
-
| Customize parameter and call inspection
|
|
51
|
-
| Extend the runtime with Replicad geometry
|
|
52
|
-
| Known boundaries
|
|
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).
|