forked from 1b-agent/opencadstudio-upstream
Use modeler region bounds in automation queries and filters
This commit is contained in:
1 parent
b42ae9d4a8
commit
974d5997d0
2 files changed
+8
-14
No files matched your search
@@ -1718,7 +1718,7 @@ pub(crate) fn set_wire_aabb(w: &mut WireModel, entity_box: [f32; 4]) {
|
||||
w.aabb = out;
|
||||
}
|
||||
|
||||
fn entity_bounds(e: &acadrust::EntityType) -> ([f64; 3], [f64; 3]) {
|
||||
pub(crate) fn entity_bounds(e: &acadrust::EntityType) -> ([f64; 3], [f64; 3]) {
|
||||
if let acadrust::EntityType::Region(region) = e {
|
||||
if region.wires.is_empty() {
|
||||
if let Some(bounds) = super::solid3d_tess::kernel_region_body(region)
|
||||
|
||||
Reference in new issue
Block a user