cad-editor/src/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven a2fb334966 fix: world_offset precision fix for large-coordinate DXF files (e.g. Turkish UTM)
Subtracts the DXF header extents centroid (world_offset) from all coordinates
in f64 BEFORE casting to f32. This eliminates the ~0.5 m ULP error that occurs
at 4,000,000 m UTM coordinates and caused geometry to disappear on zoom-out.

- Scene: adds world_offset field + compute_and_set_world_offset() method
- tessellate.rs: threads world_offset through all f64→f32 conversions
  (legacy_geometry, dimension_geometry, solid_wire_fallback, multileader)
- truck_tess.rs: to_local() helper already in place from prior session
- mod.rs: tessellate_entity() and entity_aabb() apply world_offset
- update.rs: compute_and_set_world_offset() called after doc load
- cmd_result.rs / solid3d_cmds.rs: pass correct offset to truck tessellators

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 07:41:38 +03:00
..
cmd_result.rs fix: world_offset precision fix for large-coordinate DXF files (e.g. Turkish UTM) 2026-04-27 07:41:38 +03:00
commands.rs fix: NAVVCUBE and UCSICON commands now properly toggle visibility 2026-04-24 01:31:52 +03:00
document.rs fix: set A4 landscape limits on initial Layout1 at document creation 2026-04-23 14:23:38 +03:00
helpers.rs refactor: deduplicate entity type name mapping 2026-04-24 01:44:33 +03:00
history.rs feat: Solid3D (3DSOLID) ACIS tessellation 2026-04-07 19:11:24 +03:00
layers.rs feat: add style selector comboboxes to Annotate ribbon tab 2026-04-09 03:38:23 +03:00
mod.rs feat: view tab widget toggle commands and unified SVG icon color scheme 2026-04-24 01:23:06 +03:00
properties.rs fix: paper background no longer resizes when a viewport is added 2026-04-24 12:02:33 +03:00
update.rs fix: world_offset precision fix for large-coordinate DXF files (e.g. Turkish UTM) 2026-04-27 07:41:38 +03:00
view.rs fix: NAVVCUBE and UCSICON commands now properly toggle visibility 2026-04-24 01:31:52 +03:00