forked from 1b-agent/opencadstudio-upstream
fix(wipeout): mask block-internal wipeouts once inserted
A wipeout defined inside a block never masked the geometry once the block was inserted — wipeout_models only scanned top-level entities, so the wipeout was invisible unless you entered block-edit (where it is top-level). It also drew a stray mask at its raw block-local coordinates because the top-level scan lacked the block-defn reject the hatch path uses. Descend visible inserts and place each block-internal wipeout in world space, applying the accumulated insert transform via apply / apply_rotation. Add the belongs_to_visible_block filter so block-defn wipeouts only appear through the descent, in world space. Bumps acadrust for the matching transform_wipeout fix: its u/v basis was double-scaled (apply_rotation then another scale-factor multiply), so a scaled insert grew the mask; the descent sidesteps that path but the explode/copy commands need the crate fix. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
d54fb9e2aa
commit
de5c35d44a
2 files changed
+138
-1
No files matched your search
Generated
+1
-1
@@ -74,7 +74,7 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
|
||||
[[package]]
|
||||
name = "acadrust"
|
||||
version = "0.4.0"
|
||||
source = "git+https://github.com/OpenAEC-Foundation/acadifc?branch=main#022290a3a2a548c54c8fdf580ef5e44de36b4520"
|
||||
source = "git+https://github.com/OpenAEC-Foundation/acadifc?branch=main#824270e9c0463b8fb926424c9ac61eda5c09d752"
|
||||
dependencies = [
|
||||
"ahash 0.8.12",
|
||||
"anyhow",
|
||||
|
||||
Reference in new issue
Block a user