Hakan Seven
db653c5a07
fix: derive dimension text rotation from axis geometry
...
acadrust's DXF reader does not parse group code 53 (text rotation),
so DimensionBase.text_rotation is always zero for DXF-loaded files.
Fall back to the natural axis-aligned rotation computed from geometry:
Linear dimensions use d.rotation (radians), Aligned dimensions use
atan2 of the second-first vector. Normalize to (-π/2, π/2] so text
never appears upside-down. Explicit non-zero overrides stored by the
DWG reader are preserved.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 17:08:12 +03:00
..
pipeline
perf: cache hatch/wipeout/image/mesh models per geometry epoch (F+G+H)
2026-04-26 11:34:52 +03:00
acad_to_truck.rs
first commit
2026-03-22 14:56:27 +03:00
camera.rs
Feat: implement WCS↔UCS coordinate transform pipeline
2026-04-06 14:16:06 +03:00
complex_lt.rs
perf: AABB snap pre-rejection via acadrust bounding_box() (Option K upgrade)
2026-04-26 12:21:51 +03:00
cxf.rs
Feat: ROADMAP Phase 1-5 batch — trim/extend, plot scale, viewport UX, mline caps, table alignment
2026-04-03 15:31:05 +03:00
dispatch.rs
first commit
2026-03-22 14:56:27 +03:00
grip.rs
first commit
2026-03-22 14:56:27 +03:00
hatch_model.rs
first commit
2026-03-22 14:56:27 +03:00
hatch_patterns.rs
first commit
2026-03-22 14:56:27 +03:00
hit_test.rs
first commit
2026-03-22 14:56:27 +03:00
image_model.rs
perf: cache hatch/wipeout/image/mesh models per geometry epoch (F+G+H)
2026-04-26 11:34:52 +03:00
mesh_model.rs
first commit
2026-03-22 14:56:27 +03:00
mod.rs
fix: hatch visibility in synced_hatch_models()
2026-04-26 16:43:37 +03:00
object.rs
first commit
2026-03-22 14:56:27 +03:00
paper_canvas.rs
perf: Arc-cache paper_canvas_wires() to eliminate O(N) clone on navigation
2026-04-26 16:30:21 +03:00
properties.rs
refactor: deduplicate entity type name mapping
2026-04-24 01:44:33 +03:00
render.rs
perf: viewport wire cache, Arc hit_test_wires, snap world-space pre-rejection (I+J+K)
2026-04-26 11:55:08 +03:00
selection.rs
Split large files: ribbon widgets and scene render/selection
2026-03-22 23:07:43 +03:00
solid3d_tess.rs
feat: Region and Body entity tessellation + render
2026-04-08 18:37:24 +03:00
tessellate.rs
fix: derive dimension text rotation from axis geometry
2026-04-26 17:08:12 +03:00
transform.rs
first commit
2026-03-22 14:56:27 +03:00
truck_tess.rs
first commit
2026-03-22 14:56:27 +03:00
viewport_pane.rs
fix: NAVVCUBE and UCSICON commands now properly toggle visibility
2026-04-24 01:31:52 +03:00
wire_model.rs
perf: AABB snap pre-rejection via acadrust bounding_box() (Option K upgrade)
2026-04-26 12:21:51 +03:00