cad-editor/src/entities
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 50f6196594 fix(render): flag 2D overlay fills so they show in every view mode
A SOLID's filled quad and a dimension/MultiLeader text background are flat 2-D
overlays that should draw in wireframe and shaded alike, but face3d_gpu
classified fills by `!fill_tris_low.is_empty()` — and a 2-D fill at UTM scale
carries a double-single low residual for precision just like a real 3-D mesh
face. So the arrowhead fill and the "5;8" cyan text background were routed to
the 3-D buffer and only appeared in shaded mode, vanishing back to nothing on
return to wireframe.

WireModel now carries an explicit `fill_is_3d`: true only for a real surface
(PolyfaceMesh / PolygonMesh face, set in the tessellator), false for every flat
overlay fill. face3d_gpu classifies on the flag, so 2-D fills stay in the
always-visible buffer while keeping their low residual (and UTM precision).

Verified on budweiser: the `_BoxFilled` arrow SOLID and the dim '5;8' MTEXT
background both tessellate with fill_is_3d = false.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 15:15:24 +03:00
..
arc.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
attribute.rs feat(mtext): lay out \N columns and stack \S fractions 2026-07-17 16:48:10 +03:00
circle.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
common.rs fix(pick): catch a wide polyline on its band, not just its centreline 2026-07-17 15:22:56 +03:00
dim_override.rs feat(props): make dim-line colour editable for leaders and dimensions 2026-07-13 17:31:09 +03:00
dimension.rs fix(render): flag 2D overlay fills so they show in every view mode 2026-07-18 15:15:24 +03:00
ellipse.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
hatch.rs feat(hatch): editable gradient colors + background color 2026-07-08 23:35:27 +03:00
helix.rs feat(entities): render + property builder for loaded Helix entities 2026-07-03 00:05:58 +03:00
insert.rs feat(annotative): scale text/dims/tables/blocks at the annotation scale + editable property pickers 2026-07-12 23:16:44 +03:00
leader.rs fix(render): flag 2D overlay fills so they show in every view mode 2026-07-18 15:15:24 +03:00
line.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
lwpolyline.rs fix(pick): catch a wide polyline on its band, not just its centreline 2026-07-17 15:22:56 +03:00
mesh.rs fix(pick): catch a wide polyline on its band, not just its centreline 2026-07-17 15:22:56 +03:00
mline.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
mod.rs feat(properties): editable per-object leader dimension overrides 2026-07-13 00:28:42 +03:00
mtext.rs feat(mtext): lay out \N columns and stack \S fractions 2026-07-17 16:48:10 +03:00
multileader.rs fix(render): flag 2D overlay fills so they show in every view mode 2026-07-18 15:15:24 +03:00
names.rs fix(paper): keep model 3D solids off the paper-space sheet 2026-07-03 23:29:18 +03:00
ole2frame.rs feat(ole): render the OLE2FRAME embedded presentation bitmap 2026-07-18 13:33:46 +03:00
point.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
polyline.rs fix(pick): catch a wide polyline on its band, not just its centreline 2026-07-17 15:22:56 +03:00
raster_image.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
ray.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
shape.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
solid.rs fix(solid): fill 2D SOLIDs so block-nested ones aren't hollow 2026-07-18 14:15:13 +03:00
solid3d.rs feat(solid3d): draw ISOLINES on curved faces in wireframe 2026-07-17 19:45:42 +03:00
spline.rs fix(spline): interpolate fit-point splines with end tangents, grip via fit points 2026-07-18 12:46:09 +03:00
table.rs fix(render): flag 2D overlay fills so they show in every view mode 2026-07-18 15:15:24 +03:00
text.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
text_support.rs fix(mtext): size \S fractions to fill and persist paragraph alignment 2026-07-17 18:26:29 +03:00
tolerance.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
traits.rs feat(entities): render + property builder for loaded Helix entities 2026-07-03 00:05:58 +03:00
underlay.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
viewport.rs feat(properties): fill solid-history + viewport clipped rows 2026-07-03 00:17:58 +03:00