forked from 1b-agent/opencadstudio-upstream
ocs_doc_api: Phase 5 typed raster image create
- CreateRasterImage(RasterImageSpec) op (append-only). - backend add_raster_image (RasterImage with file_path/insertion/u/v/size; the scene auto-registers the ImageDefinition on add_entity). - facade create_raster_image; spec RasterImage constructor; api_reference + binding_schema regenerated; mocks + baseline. - Test phase5_create_raster_image_registers_definition (asserts definition_handle auto-registered + 4-corner bounds) -> 610 host lib + 3 consistency green. - Phase 5 complete.
This commit is contained in:
1 parent
e6c132e0eb
commit
46a5922520
12 files changed
+109
-6
No files matched your search
@@ -102,9 +102,11 @@ Phase 2b (annotations/hatch/dimension typed ops), attributes + nested traversal
|
||||
`Region`, `Body`, `Surface`, `Face3D`, `Dimension`, `Hatch`) instead of "Other";
|
||||
`RasterImage` has coarse bounds (insertion + u·width + v·height); generic
|
||||
`delete` works on all. Covered by `phase5_*` test.
|
||||
- **Remaining:** typed create/property ops for `RasterImage`/`Table`/light;
|
||||
these largely stay read-only `EntityView` DTOs (typed ops only where the spec
|
||||
declares an action mapping).
|
||||
- **Done (typed create):** `create_raster_image(file_path, insertion, u, v, size)`
|
||||
→ `Operation::CreateRasterImage`; the host auto-registers the `ImageDefinition`
|
||||
(asserted by `phase5_create_raster_image_registers_definition`). Covered by that
|
||||
test. `Table`/light stay read-only `EntityView` DTOs (typed ops only where the
|
||||
spec declares an action mapping).
|
||||
|
||||
## 🔧 Outstanding methods on supported families
|
||||
|
||||
|
||||
Reference in new issue
Block a user