cad-editor/src/entities
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 930d8c51ea feat(gradient): selectable gradient types + working creation
GRADIENT silently degraded to a plain hatch: add_hatch rebuilt the
render model from the DXF entity but never encoded the gradient on it,
so the committed fill lost its gradient entirely. The entity now
carries the full gradient record (name, angle, colour stops,
solid-fill flag), and the standard shape set became selectable:
Linear / Cylinder / Spherical / Hemispherical / Curved plus an Invert
toggle, offered as prompt buttons on the GRADIENT command and as a
Gradient type dropdown + Invert box in the properties panel. All nine
standard DXF names round-trip (inverted linear persists by swapping
the colour stops), and the shaders shape each kind distinctly —
mirrored cylinder, eased curve, dome-profiled hemisphere — on both the
native and web pipelines without changing the GPU struct sizes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 12:51:08 +03:00
..
arc.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
attribute.rs fix(attribute): blank INSERT attribute renders nothing, not "[]" 2026-07-20 18:04:41 +03:00
circle.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
common.rs feat(pick): select frame-like entities by clicking inside them 2026-07-21 09:28:07 +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 feat(polyline): smooth per-segment taper for varying-width wide polylines 2026-07-20 16:36:06 +03:00
ellipse.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
field.rs feat(mtext): evaluate dynamic text fields at render time 2026-07-20 00:06:58 +03:00
hatch.rs feat(gradient): selectable gradient types + working creation 2026-07-21 12:51:08 +03:00
helix.rs feat(entities): render + property builder for loaded Helix entities 2026-07-03 00:05:58 +03:00
insert.rs feat(props): uniform-scale checkbox for block references 2026-07-21 10:27:50 +03:00
leader.rs feat(polyline): smooth per-segment taper for varying-width wide polylines 2026-07-20 16:36:06 +03:00
light.rs feat(scene): draw nonprint light, camera and geo-location glyphs 2026-07-19 22:15:40 +03:00
line.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
lwpolyline.rs feat(pline): snap onto the start point closes the polyline 2026-07-21 11:25:33 +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(mtext): evaluate dynamic text fields at render time 2026-07-20 00:06:58 +03:00
mtext.rs feat(mtext): evaluate dynamic text fields at render time 2026-07-20 00:06:58 +03:00
multileader.rs feat(polyline): smooth per-segment taper for varying-width wide polylines 2026-07-20 16:36:06 +03:00
names.rs refactor(dwg): use the first-class SectionSymbol and ViewBorder entities 2026-07-21 00:19:51 +03:00
ole2frame.rs feat(pick): select frame-like entities by clicking inside them 2026-07-21 09:28:07 +03:00
point.rs fix(point): match AutoCAD PDMODE glyph geometry 2026-07-18 17:07:27 +03:00
polyline.rs feat(polyline): smooth per-segment taper for varying-width wide polylines 2026-07-20 16:36:06 +03:00
raster_image.rs feat(pick): select frame-like entities by clicking inside them 2026-07-21 09:28:07 +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 feat(polyline): smooth per-segment taper for varying-width wide polylines 2026-07-20 16:36:06 +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 the empty-line caret slot to the text, not the entity 2026-07-19 17:24:37 +03:00
tolerance.rs fix(pick): hit-test lineweight width and thickness walls 2026-07-17 14:58:55 +03:00
traits.rs refactor(dwg): use the first-class SectionSymbol and ViewBorder entities 2026-07-21 00:19:51 +03:00
underlay.rs feat(pick): select frame-like entities by clicking inside them 2026-07-21 09:28:07 +03:00
viewport.rs feat(properties): fill solid-history + viewport clipped rows 2026-07-03 00:17:58 +03:00