forked from 1b-agent/opencadstudio-upstream
fix(hatch): mirrored-block arcs — bump acadrust, document angle convention
Hatches inside mirrored INSERTs (x_scale = -1, e.g. the *U blocks in xref_Plan-Sade) drew some boundary arcs swept the wrong way, covering huge complementary regions — in the pattern clip before EXPLODE, and in both pattern and boundary wires after (the exploded entity bakes the broken angles). Root cause was in acadrust's transform_hatch, not the renderer: DXF stores CW (ccw=false) boundary-arc angles MIRRORED (verified against AutoCAD output by endpoint continuity — mirrored interpretation gives Δ=0.0 against adjacent edges), and the transform stored geometric angles after flipping the direction flag. The legacy (TAU-θ) sampling flip in arc_signed_span is exactly right for file data and stays; its comment now records the verification so the convention isn't "fixed" away again. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
25715d1b03
commit
14b5067e25
2 files changed
+10
-1
No files matched your search
Generated
+1
-1
@@ -56,7 +56,7 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
|
||||
[[package]]
|
||||
name = "acadrust"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/HakanSeven12/acadrust?branch=main#db110124facbab3fbb4d947871638d73dc8b8a3a"
|
||||
source = "git+https://github.com/HakanSeven12/acadrust?branch=main#ddd6888b261cb104fcf3acd6e62dc197f5d4e769"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
"anyhow",
|
||||
|
||||
Reference in new issue
Block a user