forked from 1b-agent/opencadstudio-upstream
fix(table): place a baked *T table block at the table's insertion point
A Table whose cells are baked into a *T block (block_record_handle) was rendered by tessellating the block's sub-entities directly. Those are laid out in block-local space (origin at the table's top-left corner) — the Table entity carries the world placement in insertion_point + horizontal_direction, exactly like an INSERT — so the whole table drew at the world origin instead of its location. Each baked sub-entity is now cloned and placed (rotated about the local origin by the horizontal_direction angle, then translated by insertion_point) before tessellation, so tessellate_entity produces correctly located, relative-to-eye geometry. Verified on budweiser handle 9378: its baked lines move from (0,0) to the insertion point (-1200018.7, -800071.4). Also bumps acadrust to pull the OLE2FRAME corner-decode fix, which places OLE2FRAME entities (e.g. handle 3088) at their real corners instead of the (1,1)/(0,0) defaults. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
db896ec632
commit
5e127ffa75
2 files changed
+108
-39
No files matched your search
Generated
+1
-1
@@ -73,7 +73,7 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
|
||||
[[package]]
|
||||
name = "acadrust"
|
||||
version = "0.4.0"
|
||||
source = "git+https://github.com/OpenAEC-Foundation/acadifc?branch=main#5ce1e312d8c9e7e8bd9911a5f68f13f3cc83992b"
|
||||
source = "git+https://github.com/OpenAEC-Foundation/acadifc?branch=main#59398a8010bb2227a94a9625eaf74ae5fc55fa2f"
|
||||
dependencies = [
|
||||
"ahash 0.8.12",
|
||||
"anyhow",
|
||||
|
||||
Reference in new issue
Block a user