forked from 1b-agent/opencadstudio-upstream
Map RasterImage with host-created image definitions
Scripts name an image file; the host reads its pixel size, creates and links the ImageDefinition and derives size and the default clip boundary. staged_python_raster_image_lifecycle_over_real_ipc passes every gate in OCS with a real PNG. ACAD_IMAGE_DICT and reactor linkage are not created, so the kind is recorded as integration-tested. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d4c2520907
commit
7f65d6d373
10 files changed
+207
-13
No files matched your search
@@ -30,7 +30,8 @@
|
||||
"PolygonMesh",
|
||||
"PolyfaceMesh",
|
||||
"Mesh",
|
||||
"Helix"
|
||||
"Helix",
|
||||
"RasterImage"
|
||||
],
|
||||
"manual_kinds": ["Dimension"],
|
||||
"base_fields": ["handle", "layer", "owner_handle"],
|
||||
@@ -340,6 +341,16 @@
|
||||
"major_version": { "read_only": true },
|
||||
"maintenance_version": { "read_only": true }
|
||||
}
|
||||
},
|
||||
"RasterImage": {
|
||||
"fields": {
|
||||
"insertion_point": { "required": true },
|
||||
"file_path": { "required": true },
|
||||
"class_version": { "read_only": true },
|
||||
"size": { "read_only": true, "_comment": "Pixel size of the image; the host takes it from the file." },
|
||||
"definition_handle": { "read_only": true },
|
||||
"definition_reactor_handle": { "read_only": true }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user