section_box_set
Cuts away everything outside the axis-aligned box min..max (f64 world space; min < max on every axis). Cut faces of closed solids are capped. Cut-away geometry is not pickable.
Usage
surface.execute('section_box_set', { min, max })Parameters
minobjectf64 world-space point
maxobjectf64 world-space point
Returns
object with box, in the ok: true envelope.
{
"type": "object",
"properties": {
"box": {
"type": [
"object",
"null"
],
"properties": {
"min": {
"type": "object",
"description": "f64 world-space point",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"required": [
"x",
"y",
"z"
]
},
"max": {
"type": "object",
"description": "f64 world-space point",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"required": [
"x",
"y",
"z"
]
}
},
"required": [
"min",
"max"
]
}
},
"required": [
"box"
]
}