forked from 1b-agent/opencadstudio-upstream
ocs_doc_api: fix review findings (layouts, Helix bounds, points_aabb, mass-properties budget, docs)
- layouts.json: append the 6 missing ops (CreateDimensionRadius/Diameter/Angular,
CreateAttributeDefinition, CreateTable, CreateDimensionAngular2Ln); regenerate
binding_schema.json + api_reference.md wire vocabulary (all 28 ops).
- Helix bounds: bound the evaluated spline control polygon (was a degenerate
single-start-point AABB).
- points_aabb: empty -> Geometry::Empty('entity has no points to bound'), not
UnknownId (the entity exists; don't misclassify as stale/deleted).
- mass_properties: accuracy-first fine tessellation + graceful degradation to the
approximate meshes.metrics value when the cold-tess budget is exhausted (large
distinct-solid batches no longer hard-fail).
- IMPLEMENTATION.md: Volume/Centroid rows + accuracy paragraph + test count (618)
consistent with the final design.
- 618 host lib + 8 crate + 3 consistency green.
This commit is contained in:
1 parent
28c8e0ef1a
commit
ac54d6079b
6 files changed
+52
-16
No files matched your search
@@ -278,6 +278,12 @@ Every `Operation` is ONE atomic write op (one undo step); every `Query` is read-
|
||||
- `SetViewportView { id: ObjectId, view_target: [f64; 3], view_height: f64 }`
|
||||
- `CreateRasterImage(RasterImageSpec)`
|
||||
- `Loft { profiles: Vec<ObjectId> }`
|
||||
- `CreateDimensionRadius(DimensionRadialSpec)`
|
||||
- `CreateDimensionDiameter(DimensionRadialSpec)`
|
||||
- `CreateDimensionAngular(DimensionAngularSpec)`
|
||||
- `CreateAttributeDefinition(AttributeDefinitionSpec)`
|
||||
- `CreateTable(TableSpec)`
|
||||
- `CreateDimensionAngular2Ln(DimensionAngularSpec)`
|
||||
|
||||
### `Query`
|
||||
|
||||
|
||||
@@ -428,7 +428,13 @@
|
||||
"SetAttribute { id: ObjectId, tag: String, value: String }",
|
||||
"SetViewportView { id: ObjectId, view_target: [f64; 3], view_height: f64 }",
|
||||
"CreateRasterImage(RasterImageSpec)",
|
||||
"Loft { profiles: Vec<ObjectId> }"
|
||||
"Loft { profiles: Vec<ObjectId> }",
|
||||
"CreateDimensionRadius(DimensionRadialSpec)",
|
||||
"CreateDimensionDiameter(DimensionRadialSpec)",
|
||||
"CreateDimensionAngular(DimensionAngularSpec)",
|
||||
"CreateAttributeDefinition(AttributeDefinitionSpec)",
|
||||
"CreateTable(TableSpec)",
|
||||
"CreateDimensionAngular2Ln(DimensionAngularSpec)"
|
||||
]
|
||||
},
|
||||
"Query": {
|
||||
|
||||
@@ -23,7 +23,13 @@
|
||||
"SetAttribute { id: ObjectId, tag: String, value: String }",
|
||||
"SetViewportView { id: ObjectId, view_target: [f64; 3], view_height: f64 }",
|
||||
"CreateRasterImage(RasterImageSpec)",
|
||||
"Loft { profiles: Vec<ObjectId> }"
|
||||
"Loft { profiles: Vec<ObjectId> }",
|
||||
"CreateDimensionRadius(DimensionRadialSpec)",
|
||||
"CreateDimensionDiameter(DimensionRadialSpec)",
|
||||
"CreateDimensionAngular(DimensionAngularSpec)",
|
||||
"CreateAttributeDefinition(AttributeDefinitionSpec)",
|
||||
"CreateTable(TableSpec)",
|
||||
"CreateDimensionAngular2Ln(DimensionAngularSpec)"
|
||||
]
|
||||
},
|
||||
"Query": {
|
||||
|
||||
Reference in new issue
Block a user