cad-editor/src/scene
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 42e11b9250 fix(hatch): render user-defined hatches from angle + spacing
A user-defined hatch (angle + spacing + optional cross) carries the
placeholder pattern name "_USER", which isn't in the predefined catalog,
so it fell to a fallback that forced every one to flat horizontal lines
at the wrong spacing — ignoring the angle, the spacing and the double
flag.

Build base line families (angle 0, plus 90 when `is_double`) with unit
perpendicular spacing and let the HatchModel's existing angle_offset
(= pattern_angle) and scale (= pattern_scale) rotate and space them, the
same way predefined .PAT patterns are applied — so the angle/scale is
applied once, not doubled. Verified against the sample (0°/30°/90°-cross/
315°-cross at spacing 5/10).

Closes #278

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 11:58:44 +03:00
..
cache feat(properties): show Thickness in the General group 2026-07-03 16:51:05 +03:00
convert chore(solid): drop needless mut on full_circle 2026-07-04 23:47:00 +03:00
model feat(render): draw ACIS solids as B-rep feature edges, meshes as tri edges 2026-07-04 17:57:00 +03:00
pick feat(pick): select mesh entities by clicking their shaded faces 2026-07-04 23:11:47 +03:00
pipeline perf(render): skip hatch pass while navigating (interaction LOD) 2026-07-05 09:48:49 +02:00
text fix(scene): correct MIRROR of TEXT under MIRRTEXT (commit + preview) 2026-07-03 12:42:55 +03:00
view perf(render): skip hatch pass while navigating (interaction LOD) 2026-07-05 09:48:49 +02:00
camera_ops.rs fix(camera): keep ortho depth precision constant across zoom 2026-07-02 01:23:27 +03:00
entity.rs fix(hatch): render user-defined hatches from angle + spacing 2026-07-05 11:58:44 +03:00
group_layer.rs feat(ui): bulk layer on/off, lock, freeze, transparency + Ctrl+A (#236) 2026-07-03 16:06:10 +03:00
layout.rs refactor(viewport): migrate model-space tiling to iced pane_grid 2026-06-27 11:50:11 +03:00
mod.rs perf(render): skip hatch pass while navigating (interaction LOD) 2026-07-05 09:48:49 +02:00
modify.rs fix(scene): correct MIRROR of TEXT under MIRRTEXT (commit + preview) 2026-07-03 12:42:55 +03:00
mspace.rs feat(nav): turntable orbit, selection/cursor pivot, Shift+MMB rotate (#229) 2026-07-01 21:58:04 +03:00
paper.rs refactor: split four oversized files into submodule trees 2026-06-26 22:51:29 +03:00
preview.rs fix(scene): correct MIRROR of TEXT under MIRRTEXT (commit + preview) 2026-07-03 12:42:55 +03:00
project.rs refactor: split four oversized files into submodule trees 2026-06-26 22:51:29 +03:00
selection.rs refactor(properties): entity property groups return Vec<PropSection> 2026-07-02 22:46:19 +03:00