@code3d/core 0.0.1-alpha.0 → 0.0.1-alpha.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/README.md +43 -807
- package/THIRD_PARTY.md +40 -0
- package/bld/THIRD_PARTY_NOTICES.txt +182 -0
- package/bld/chunks/chunk-5IP37Z5U.js +30 -0
- package/bld/chunks/chunk-5IP37Z5U.js.map +7 -0
- package/bld/chunks/chunk-7FIFPADJ.js +1 -0
- package/bld/chunks/chunk-7FIFPADJ.js.map +7 -0
- package/bld/chunks/chunk-HBRLIGQN.js +31 -0
- package/bld/chunks/chunk-HBRLIGQN.js.map +7 -0
- package/bld/chunks/chunk-IJHQ57VL.js +19 -0
- package/bld/chunks/chunk-IJHQ57VL.js.map +7 -0
- package/bld/chunks/chunk-TTJOM4DJ.js +26458 -0
- package/bld/chunks/chunk-TTJOM4DJ.js.map +7 -0
- package/bld/library/bound-solver.d.ts +29 -5
- package/bld/library/bound-solver.d.ts.map +1 -1
- package/bld/library/cached.d.ts +35 -0
- package/bld/library/cached.d.ts.map +1 -0
- package/bld/library/font.d.ts +39 -0
- package/bld/library/font.d.ts.map +1 -0
- package/bld/library/google-font.d.ts +14 -0
- package/bld/library/google-font.d.ts.map +1 -0
- package/bld/library/index.d.ts +10 -2
- package/bld/library/index.d.ts.map +1 -1
- package/bld/library/index.js +94 -3
- package/bld/library/index.js.map +7 -1
- package/bld/library/inspect.d.ts +98 -0
- package/bld/library/inspect.d.ts.map +1 -0
- package/bld/library/kernel-artifact-codec.d.ts.map +1 -1
- package/bld/library/kernel-cache.d.ts +28 -7
- package/bld/library/kernel-cache.d.ts.map +1 -1
- package/bld/library/loft.d.ts.map +1 -1
- package/bld/library/material.d.ts +1 -1
- package/bld/library/material.d.ts.map +1 -1
- package/bld/library/open-cascade.d.ts +4 -0
- package/bld/library/open-cascade.d.ts.map +1 -0
- package/bld/library/relation-solver.d.ts +19 -8
- package/bld/library/relation-solver.d.ts.map +1 -1
- package/bld/library/replicad.d.ts +3 -2
- package/bld/library/replicad.d.ts.map +1 -1
- package/bld/library/replicad.js +10 -24
- package/bld/library/replicad.js.map +7 -1
- package/bld/library/retained-memory.d.ts.map +1 -1
- package/bld/library/runtime.d.ts +518 -155
- package/bld/library/runtime.d.ts.map +1 -1
- package/bld/library/sketch-solver.d.ts +1 -1
- package/bld/library/sketch-solver.d.ts.map +1 -1
- package/bld/library/sketch.d.ts +21 -1
- package/bld/library/sketch.d.ts.map +1 -1
- package/bld/library/text.d.ts +53 -0
- package/bld/library/text.d.ts.map +1 -0
- package/bld/library/three.js +3 -3
- package/bld/library/three.js.map +7 -1
- package/bld/library/topology.d.ts +6 -2
- package/bld/library/topology.d.ts.map +1 -1
- package/bld/node/index.d.ts.map +1 -1
- package/bld/node/index.js +96 -14
- package/bld/node/index.js.map +7 -1
- package/bld/node/replicad.js +13 -3
- package/bld/node/replicad.js.map +7 -1
- package/bld/tooling/index.d.ts +18 -15
- package/bld/tooling/index.d.ts.map +1 -1
- package/bld/tooling/index.js +165 -19
- package/bld/tooling/index.js.map +7 -1
- package/docs/api.md +764 -0
- package/docs/custom-primitives.mdx +58 -0
- package/docs/local-coordinates.md +187 -0
- package/docs/origins-and-rotation.mdx +105 -0
- package/docs/relations.mdx +450 -0
- package/docs/runtime.md +297 -0
- package/docs/shells.mdx +70 -0
- package/docs/sketches.md +83 -0
- package/docs/text.md +23 -0
- package/docs/topology.md +152 -0
- package/docs/values.md +119 -0
- package/package.json +20 -7
- package/src/library/bound-solver.ts +103 -73
- package/src/library/cached.ts +153 -0
- package/src/library/font.ts +186 -0
- package/src/library/google-font.ts +97 -0
- package/src/library/index.ts +53 -5
- package/src/library/inspect.ts +176 -0
- package/src/library/kernel-artifact-codec.ts +129 -20
- package/src/library/kernel-cache.ts +175 -39
- package/src/library/loft.ts +9 -1
- package/src/library/material.ts +3 -4
- package/src/library/open-cascade.ts +13 -0
- package/src/library/relation-solver.ts +230 -113
- package/src/library/replicad.ts +5 -5
- package/src/library/retained-memory.ts +6 -1
- package/src/library/runtime.ts +3753 -1181
- package/src/library/shell.ts +3 -3
- package/src/library/sketch-solver.ts +3 -1
- package/src/library/sketch.ts +112 -13
- package/src/library/text.ts +477 -0
- package/src/library/topology.ts +61 -17
- package/src/library/tsconfig.json +2 -1
- package/src/node/index.ts +14 -3
- package/src/node/tsconfig.json +2 -1
- package/src/tooling/index.ts +64 -51
- package/src/tooling/tsconfig.json +2 -1
- package/bld/library/alignment-geometry.js +0 -322
- package/bld/library/alignment-geometry.js.map +0 -1
- package/bld/library/bound-solver.js +0 -252
- package/bld/library/bound-solver.js.map +0 -1
- package/bld/library/extrude.js +0 -28
- package/bld/library/extrude.js.map +0 -1
- package/bld/library/kernel-artifact-codec.js +0 -148
- package/bld/library/kernel-artifact-codec.js.map +0 -1
- package/bld/library/kernel-cache.js +0 -245
- package/bld/library/kernel-cache.js.map +0 -1
- package/bld/library/kernel-shapes.js +0 -108
- package/bld/library/kernel-shapes.js.map +0 -1
- package/bld/library/loft.js +0 -161
- package/bld/library/loft.js.map +0 -1
- package/bld/library/material.js +0 -176
- package/bld/library/material.js.map +0 -1
- package/bld/library/model-color.js +0 -36
- package/bld/library/model-color.js.map +0 -1
- package/bld/library/open-cascade-error.js +0 -22
- package/bld/library/open-cascade-error.js.map +0 -1
- package/bld/library/relation-solver.js +0 -258
- package/bld/library/relation-solver.js.map +0 -1
- package/bld/library/retained-memory.js +0 -27
- package/bld/library/retained-memory.js.map +0 -1
- package/bld/library/runtime.js +0 -2954
- package/bld/library/runtime.js.map +0 -1
- package/bld/library/shell.js +0 -221
- package/bld/library/shell.js.map +0 -1
- package/bld/library/sketch-curve-intersections.js +0 -117
- package/bld/library/sketch-curve-intersections.js.map +0 -1
- package/bld/library/sketch-curves.js +0 -89
- package/bld/library/sketch-curves.js.map +0 -1
- package/bld/library/sketch-drag-rules.js +0 -522
- package/bld/library/sketch-drag-rules.js.map +0 -1
- package/bld/library/sketch-face.js +0 -72
- package/bld/library/sketch-face.js.map +0 -1
- package/bld/library/sketch-incidence.js +0 -114
- package/bld/library/sketch-incidence.js.map +0 -1
- package/bld/library/sketch-precision.js +0 -55
- package/bld/library/sketch-precision.js.map +0 -1
- package/bld/library/sketch-regions.js +0 -193
- package/bld/library/sketch-regions.js.map +0 -1
- package/bld/library/sketch-solver.js +0 -578
- package/bld/library/sketch-solver.js.map +0 -1
- package/bld/library/sketch.js +0 -650
- package/bld/library/sketch.js.map +0 -1
- package/bld/library/spatial.js +0 -195
- package/bld/library/spatial.js.map +0 -1
- package/bld/library/topology-id.js +0 -67
- package/bld/library/topology-id.js.map +0 -1
- package/bld/library/topology-inspection.js +0 -267
- package/bld/library/topology-inspection.js.map +0 -1
- package/bld/library/topology.js +0 -455
- package/bld/library/topology.js.map +0 -1
package/bld/tooling/index.js
CHANGED
|
@@ -1,19 +1,165 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import {
|
|
2
|
+
installOpenCascade
|
|
3
|
+
} from "../chunks/chunk-IJHQ57VL.js";
|
|
4
|
+
import {
|
|
5
|
+
SketchConstraintError,
|
|
6
|
+
TopologyIdSet,
|
|
7
|
+
assertSketchDragConnections,
|
|
8
|
+
authoringApi,
|
|
9
|
+
beginModelEvaluation,
|
|
10
|
+
beginModelInspection,
|
|
11
|
+
captureModelMaterial,
|
|
12
|
+
clearKernelOperationCache,
|
|
13
|
+
compareTopologyIds,
|
|
14
|
+
composeTransforms,
|
|
15
|
+
createModelSnapshotter,
|
|
16
|
+
currentRelationSelf,
|
|
17
|
+
describeOpenCascadeException,
|
|
18
|
+
disposeModelObjects,
|
|
19
|
+
executeSnapshotQueryBatch,
|
|
20
|
+
formatTopologyId,
|
|
21
|
+
googleFontSources,
|
|
22
|
+
googleFontUrl,
|
|
23
|
+
identifyCachedFunction,
|
|
24
|
+
identityRigidTransform,
|
|
25
|
+
inspectionIdentity,
|
|
26
|
+
installFontEngine,
|
|
27
|
+
installModelResourceReader,
|
|
28
|
+
installSketchSolver,
|
|
29
|
+
instrumentModelOperation,
|
|
30
|
+
instrumentRelation,
|
|
31
|
+
invertTransform,
|
|
32
|
+
isConstraint,
|
|
33
|
+
isModelObject,
|
|
34
|
+
isRelationExpression,
|
|
35
|
+
isSketch,
|
|
36
|
+
isSolidModel,
|
|
37
|
+
isTopologyId,
|
|
38
|
+
kernelOperationCacheStats,
|
|
39
|
+
modelElementReference,
|
|
40
|
+
modelMaterialColor,
|
|
41
|
+
modelObjectRuntimeInfo,
|
|
42
|
+
modelTopologyIds,
|
|
43
|
+
modelTopologyReference,
|
|
44
|
+
parseModelColor,
|
|
45
|
+
planModelSnapshotQueries,
|
|
46
|
+
previewAnchorReference,
|
|
47
|
+
quaternionAxisAngle,
|
|
48
|
+
recordInspectionCalls,
|
|
49
|
+
relatedModelObjects,
|
|
50
|
+
relationPreview,
|
|
51
|
+
relationSelectionPreview,
|
|
52
|
+
relationTraceReference,
|
|
53
|
+
relativeTransform,
|
|
54
|
+
retainModelGeometry,
|
|
55
|
+
rotateVector,
|
|
56
|
+
rotationAround,
|
|
57
|
+
sameTopologyId,
|
|
58
|
+
setKernelArtifactStore,
|
|
59
|
+
setKernelCacheBudget,
|
|
60
|
+
setKernelCachePersistenceThreshold,
|
|
61
|
+
setKernelExternalBytes,
|
|
62
|
+
sketchArcGeometry,
|
|
63
|
+
sketchCurveBounds,
|
|
64
|
+
sketchCurveClosestParameter,
|
|
65
|
+
sketchCurveGeometry,
|
|
66
|
+
sketchCurveIntersections,
|
|
67
|
+
sketchCurvePosition,
|
|
68
|
+
sketchCurveTolerance,
|
|
69
|
+
sketchDefinition,
|
|
70
|
+
sketchDragRequiresSolver,
|
|
71
|
+
sketchEntityParameters,
|
|
72
|
+
sketchFrame,
|
|
73
|
+
sketchPointResolver,
|
|
74
|
+
sketchPositiveAngle,
|
|
75
|
+
sketchRegions,
|
|
76
|
+
sketchSource,
|
|
77
|
+
snapshotSketch,
|
|
78
|
+
solveSketchSnapshot,
|
|
79
|
+
topologyIdKey,
|
|
80
|
+
transformsAreEquivalent,
|
|
81
|
+
withSketchEntityParameters,
|
|
82
|
+
xyzRotation
|
|
83
|
+
} from "../chunks/chunk-TTJOM4DJ.js";
|
|
84
|
+
export {
|
|
85
|
+
SketchConstraintError,
|
|
86
|
+
TopologyIdSet,
|
|
87
|
+
assertSketchDragConnections,
|
|
88
|
+
authoringApi,
|
|
89
|
+
beginModelEvaluation,
|
|
90
|
+
beginModelInspection,
|
|
91
|
+
captureModelMaterial,
|
|
92
|
+
clearKernelOperationCache,
|
|
93
|
+
compareTopologyIds,
|
|
94
|
+
composeTransforms,
|
|
95
|
+
createModelSnapshotter,
|
|
96
|
+
currentRelationSelf,
|
|
97
|
+
describeOpenCascadeException,
|
|
98
|
+
disposeModelObjects,
|
|
99
|
+
executeSnapshotQueryBatch,
|
|
100
|
+
formatTopologyId,
|
|
101
|
+
googleFontSources,
|
|
102
|
+
googleFontUrl,
|
|
103
|
+
identifyCachedFunction,
|
|
104
|
+
identityRigidTransform,
|
|
105
|
+
inspectionIdentity,
|
|
106
|
+
installFontEngine,
|
|
107
|
+
installModelResourceReader,
|
|
108
|
+
installOpenCascade,
|
|
109
|
+
installSketchSolver,
|
|
110
|
+
instrumentModelOperation,
|
|
111
|
+
instrumentRelation,
|
|
112
|
+
invertTransform,
|
|
113
|
+
isConstraint,
|
|
114
|
+
isModelObject,
|
|
115
|
+
isRelationExpression,
|
|
116
|
+
isSketch,
|
|
117
|
+
isSolidModel,
|
|
118
|
+
isTopologyId,
|
|
119
|
+
kernelOperationCacheStats,
|
|
120
|
+
modelElementReference,
|
|
121
|
+
modelMaterialColor,
|
|
122
|
+
modelObjectRuntimeInfo,
|
|
123
|
+
modelTopologyIds,
|
|
124
|
+
modelTopologyReference,
|
|
125
|
+
parseModelColor,
|
|
126
|
+
planModelSnapshotQueries,
|
|
127
|
+
previewAnchorReference,
|
|
128
|
+
quaternionAxisAngle,
|
|
129
|
+
recordInspectionCalls,
|
|
130
|
+
relatedModelObjects,
|
|
131
|
+
relationPreview,
|
|
132
|
+
relationSelectionPreview,
|
|
133
|
+
relationTraceReference,
|
|
134
|
+
relativeTransform,
|
|
135
|
+
retainModelGeometry,
|
|
136
|
+
rotateVector,
|
|
137
|
+
rotationAround,
|
|
138
|
+
sameTopologyId,
|
|
139
|
+
setKernelArtifactStore,
|
|
140
|
+
setKernelCacheBudget,
|
|
141
|
+
setKernelCachePersistenceThreshold,
|
|
142
|
+
setKernelExternalBytes,
|
|
143
|
+
sketchArcGeometry,
|
|
144
|
+
sketchCurveBounds,
|
|
145
|
+
sketchCurveClosestParameter,
|
|
146
|
+
sketchCurveGeometry,
|
|
147
|
+
sketchCurveIntersections,
|
|
148
|
+
sketchCurvePosition,
|
|
149
|
+
sketchCurveTolerance,
|
|
150
|
+
sketchDefinition,
|
|
151
|
+
sketchDragRequiresSolver,
|
|
152
|
+
sketchEntityParameters,
|
|
153
|
+
sketchFrame,
|
|
154
|
+
sketchPointResolver,
|
|
155
|
+
sketchPositiveAngle,
|
|
156
|
+
sketchRegions,
|
|
157
|
+
sketchSource,
|
|
158
|
+
snapshotSketch,
|
|
159
|
+
solveSketchSnapshot,
|
|
160
|
+
topologyIdKey,
|
|
161
|
+
transformsAreEquivalent,
|
|
162
|
+
withSketchEntityParameters,
|
|
163
|
+
xyzRotation
|
|
164
|
+
};
|
|
165
|
+
//# sourceMappingURL=index.js.map
|
package/bld/tooling/index.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": [],
|
|
4
|
+
"sourcesContent": [],
|
|
5
|
+
"mappings": "",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|