cad-editor/src/scene
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan 2f751c08f4 fix(scene): drop Z gate in fit_all so high-elevation entities show
Civil 3D files can legitimately carry profile geometry at huge Z
(10^6+ units) inside an otherwise small XY footprint — long-section
polylines on a road, for example. fit_all's outlier gate previously
filtered any point whose |x|, |y|, or |z| exceeded 10× the header
extent half-size, which dropped those polylines and made ZOOM
EXTENTS center on the main drawing only, leaving the profile
geometry permanently invisible.

The gate exists to reject origin-stuck entities and Ray/XLine far
points, both of which manifest as large XY excursions after
world_offset subtraction. Z-axis outliers are not a known garbage
pattern, so the gate now only checks XY.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-13 10:05:38 +03:00
..
pipeline cargo fmt 2026-05-12 10:36:15 +03:00
acad_to_truck.rs fix(render): preserve f64 precision until world_offset subtraction 2026-05-12 23:47:40 +03:00
camera.rs cargo fmt 2026-05-12 10:36:15 +03:00
complex_lt.rs cargo fmt 2026-05-12 10:36:15 +03:00
cxf.rs cargo fmt 2026-05-12 10:36:15 +03:00
dispatch.rs first commit 2026-03-22 14:56:27 +03:00
grip.rs cargo fmt 2026-05-12 10:36:15 +03:00
hatch_model.rs fix(hatch): more improvement on arc boundary and pattern 2026-05-10 20:29:39 +03:00
hatch_patterns.rs first commit 2026-03-22 14:56:27 +03:00
hit_test.rs cargo fmt 2026-05-12 10:36:15 +03:00
image_model.rs cargo fmt 2026-05-12 10:36:15 +03:00
mesh_model.rs first commit 2026-03-22 14:56:27 +03:00
mod.rs fix(scene): drop Z gate in fit_all so high-elevation entities show 2026-05-13 10:05:38 +03:00
object.rs first commit 2026-03-22 14:56:27 +03:00
paper_canvas.rs cargo fmt 2026-05-12 10:36:15 +03:00
properties.rs refactor: deduplicate entity type name mapping 2026-04-24 01:44:33 +03:00
render.rs cargo fmt 2026-05-12 10:36:15 +03:00
selection.rs Split large files: ribbon widgets and scene render/selection 2026-03-22 23:07:43 +03:00
solid3d_tess.rs cargo fmt 2026-05-12 10:36:15 +03:00
tessellate.rs fix(render): preserve f64 precision until world_offset subtraction 2026-05-12 23:47:40 +03:00
transform.rs cargo fmt 2026-05-12 10:36:15 +03:00
truck_tess.rs cargo fmt 2026-05-12 10:36:15 +03:00
viewport_pane.rs cargo fmt 2026-05-12 10:36:15 +03:00
wire_model.rs cargo fmt 2026-05-12 10:36:15 +03:00