scene.csg
1 functions / 2 types
Index
| Function | Description |
|---|---|
| BlockModel | Combines two block-model scene entities without changing project data. |
| Type | Description |
|---|---|
| BlockModel | Combines two block-model scene entities without changing project data. |
| Result | The stored result and the transform needed to display it. |
BlockModel
RPC
BlockModel(request: scene.csg.BlockModel) -> scene.csg.ResultCombines two block-model scene entities without changing project data.
Returns a stored model and its world transform. The inputs remain unchanged. Both entities must have unit scale and the same world rotation.
Service method: spatialengine.v1.scene.csg.SceneCsg.BlockModel.
Returns scene.csg.Result.
left : scene.Node
Scene node ID.
right : scene.Node
Scene node ID.
csg_op : csg.BlockModelCsgOp
Boolean operation to apply to the inputs.
run_on_server optional : bool
Execute on the configured remote service. Required in the browser.
config optional : csg.BlockModelCsgConfig
Geometry settings. Absent uses the default settings.
BlockModel
Message
Combines two block-model scene entities without changing project data.
Returns a stored model and its world transform. The inputs remain unchanged. Both entities must have unit scale and the same world rotation.
left : scene.Node
Scene node ID.
right : scene.Node
Scene node ID.
csg_op : csg.BlockModelCsgOp
Boolean operation to apply to the inputs.
run_on_server optional : bool
Execute on the configured remote service. Required in the browser.
config optional : csg.BlockModelCsgConfig
Geometry settings. Absent uses the default settings.
Result
Message
The stored result and the transform needed to display it.
model : RemoteHandle
Handle of the stored result.
transform : scene.Transform
World placement for a display centered on the result’s bounds.