forked from 1b-agent/opencadstudio-upstream
ocs_doc_api: Phase 2b-b (Hatch)
- CreateHatch(HatchSpec) op + GetHatchBoundary query (append-only).
- HatchSpec{boundary: Vec<[f64;2]>, solid}; executor validates >= 3 boundary points.
- backend add_hatch (Line-edge BoundaryPath, solid/pattern) + hatch_boundary
(reconstruct loops from Line edges; non-line edges -> Unsupported).
- Hatch bounds from boundary edges; facade create_hatch + Entity handle.
- spec Hatch family; api_reference + binding_schema regenerated; mocks + baseline.
- Test phase2b_hatch_create_boundary_bounds_delete -> 606 host lib + 8 crate + 3 consistency green.
This commit is contained in:
1 parent
fc0e2c2c9d
commit
ba8e5ed0cd
16 files changed
+223
-3
No files matched your search
@@ -65,8 +65,10 @@ Phase 2b (annotations/hatch/dimension typed ops), attributes + nested traversal
|
||||
(`CreateText`/`CreateMText` wire ops), `content()`/`set_content()` (new
|
||||
`GetTextContent` query + `SetTextContent` op), transform (insertion point),
|
||||
coarse bounds. Covered by `phase2b_*` test.
|
||||
- **Remaining (2b-b/c):** `Hatch` (create + boundary query), `Dimension` (typed
|
||||
sub-types).
|
||||
- **Done (2b-b):** `Hatch` — `create_hatch(boundary, solid)` (`CreateHatch`,
|
||||
validates ≥3 points), `boundary()` → loops (`GetHatchBoundary`), bounds from
|
||||
boundary edges, delete. Covered by `phase2b_hatch_*` test.
|
||||
- **Remaining (2b-c):** `Dimension` (typed sub-types).
|
||||
- **Unblocked:** `add_vertex` (polyline) and sweep profiles (Line/Circle/Arc/LwPolyline)
|
||||
are supported (Phase 0).
|
||||
|
||||
|
||||
Reference in new issue
Block a user