Commit Graph
2704 Commits
Author SHA1 Message Date
ramox81 eee077cbce Use blue for the transient LOFT preview cage 2026-09-04 17:36:33 +03:00
ramox81 22e707072d Update kernel for deep negative PRESSPULL cuts 2026-09-04 16:49:19 +03:00
ramox81 c9c5b35d29 Retain native PRESSPULL surface data across CAD formats 2026-09-04 15:53:15 +03:00
ramox81 43c7992967 Use corrected mixed-profile extrusion kernel 2026-09-04 15:33:31 +03:00
ramox81 9279384e9a Complete PRESSPULL selection, face editing and extrusion history 2026-09-04 15:31:30 +03:00
ramox81 509e4b7e7f Use stable repeated binary CAD serialization 2026-09-04 13:52:18 +03:00
ramox81 6e3c625e34 Use persistent LOFT surface history 2026-09-04 13:42:09 +03:00
ramox81 8bd8ff3e33 Fix LOFT scripted picks and binary history persistence 2026-09-04 13:31:11 +03:00
ramox81 c995995db5 Use orientation-safe loft guide curves 2026-09-04 13:18:51 +03:00
ramox81 abb8c91ca7 Use complete loft curve and orientation handling 2026-09-04 13:10:48 +03:00
ramox81 479bf87988 Complete LOFT commands, surfaces, previews and editable history 2026-09-04 13:03:33 +03:00
ramox81 8e3d851133 Fix SWEEP result counter formatting 2026-09-04 11:32:05 +03:00
ramox81 ad47b17603 Complete SWEEP command options and kernel integration 2026-09-04 11:15:44 +03:00
ramox81 44c94d1da1 Avoid surface meshes in live sweep previews 2026-09-04 10:24:56 +03:00
gianlucafiore eca59d765b Merge pull request #991 from gianlucafiore/feat/measure-ribbon-dropdown
feat(ribbon): add measurement dropdown
2026-09-03 19:25:30 -03:00
gianlucafiore 863dd555c1 feat(ribbon): add measurement dropdown 2026-09-03 19:23:37 -03:00
gianlucafiore e355f524e2 Merge pull request #989 from gianlucafiore/fix/grip-otrack-cleanup
fix(grips): clear OTRACK after typed stretch commit
2026-09-03 17:57:39 -03:00
gianlucafiore 71d1d18f89 fix(grips): clear OTRACK after typed stretch commit 2026-09-03 17:23:11 -03:00
gianlucafiore 5c5dc9060c Merge pull request #988 from gianlucafiore/fix/offset-trim-pickfirst
fix(offset, trim): preserve source layers and preselected cutting edges
2026-09-03 17:04:37 -03:00
gianlucafiore 2885898da6 fix(trim): honor preselected cutting boundaries 2026-09-03 17:02:06 -03:00
gianlucafiore 5ed508ce76 fix(offset): preserve source entity layer 2026-09-03 16:33:03 -03:00
Hakan Seven 611ea0696b revert: restore thumbnail capture for native saves (#956) 2026-09-03 21:11:00 +03:00
Hakan Seven edd3faeeae fix(save): decouple native saves from screenshots (#956) 2026-09-03 21:06:19 +03:00
Hakan Seven a581636aea fix(save): handle screenshot map failures (#956) 2026-09-03 20:45:00 +03:00
Hakan Seven 3088e641aa fix(view): stabilize 3D navigation and hidden lines
Refresh stale depth bounds after geometry edits, allow orbiting through camera poles, and preserve hidden-line occlusion for selected solids.\n\nFixes #957
2026-09-03 20:22:35 +03:00
Hakan Seven a3d85f6483 Merge pull request #986 from ramox81/codex/revolve-command-properties
Complete REVOLVE workflow and properties
2026-09-03 20:02:53 +03:00
Hakan Seven 1d8494099d Fix revolve cursor plane 2026-09-03 20:02:11 +03:00
Hakan Seven b5a926cc20 Merge remote-tracking branch 'origin/main' into review/pr-986
# Conflicts:
#	Cargo.lock
#	Cargo.toml
2026-09-03 19:52:20 +03:00
Karim Jerbi 688785a6cf feat(model-space): theme-aware model space canvas and CAD selection/grip sysvars
Model space appearance now follows the active UI theme instead of a
hardcoded dark background. Canvas mode is user-selectable (Match Theme /
Classic CAD Dark / Custom RGB), with matching controls for the paper
sheet and desk surround backgrounds and grid opacity.
Implements industry-standard CAD system variables, all settable via
command name, SETVAR, and the Options dialog:
- COLORTHEME (0/1 dark/light UI scheme, preserves custom palettes)
- COLORSCHEME (interactive named-theme selection)
- BACKGROUND (THEME/CLASSIC/DEFAULT/DESK presets, RGB triplets)
- SELECTIONAREA, SELECTIONAREAOPACITY (translucent marquee fill)
- WINDOWSAREACOLOR/WINDOWAREACOLOR, CROSSINGAREACOLOR (ACI or theme)
- SELECTIONEFFECT, SELECTIONEFFECTCOLOR (GPU highlight pass, driven by
  selection_generation invalidation — no retessellation)
- SELECTIONPREVIEW (bit 0 = idle rollover, bit 1 = in-command hover)
- GRIPSIZE, GRIPCOLOR, GRIPHOT, GRIPHOVER (grip overlay styling)
2026-09-03 17:44:44 +01:00
Hakan Seven 89b1a22850 fix: render multi-loop hatches completely 2026-09-03 19:38:17 +03:00
Hakan Seven 4bdbc0e5f6 fix: prefer high-performance GPU adapters 2026-09-03 19:27:15 +03:00
ramox81 96811c1fe9 Update revolution surface kernel 2026-09-03 16:43:10 +03:00
ramox81 1a913ee640 Fix revolve angle and wireframe display 2026-09-03 16:24:43 +03:00
ramox81 5bbb0bbe1f Harden revolve validation and properties 2026-09-03 15:01:38 +03:00
ramox81 2e112f9aeb Complete revolve workflow and properties 2026-09-03 13:40:23 +03:00
Hakan Seven e6429d5712 Merge pull request #980 from ramox81/codex/extrude-grip-preview
Fix extruded solid grip preview and taper range
2026-09-03 12:52:26 +03:00
Hakan Seven 4679eb2a5e fix: finish extrude grip preview integration 2026-09-03 12:52:03 +03:00
Hakan Seven 46323379b3 Merge remote-tracking branch 'origin/main' into codex/extrude-grip-preview 2026-09-03 12:50:52 +03:00
Hakan Seven 0d427a89ee Merge pull request #985 from HakanSeven12/fix-dimaunit-surveyor
fix(dimension): render surveyor angular units
2026-09-03 12:46:48 +03:00
Hakan Seven 612ec8d60f Merge main and localize surveyor units 2026-09-03 12:45:24 +03:00
Hakan Seven 020571cc41 Merge pull request #984 from NgoQuocViet2001/fix-power-right-assoc
fix(expr-eval): make ^ right-associative
2026-09-03 12:41:37 +03:00
Hakan Seven ce66701342 Merge pull request #982 from NgoQuocViet2001/fix-dim-color-overrides
fix(dimension): honour per-object text and extension-line colour overrides
2026-09-03 12:41:23 +03:00
Hakan Seven 7a8b61de20 Merge pull request #981 from NgoQuocViet2001/fix-engineering-units-carry
fix(dimension): carry engineering-unit inches up to feet
2026-09-03 12:41:12 +03:00
NgoQuocViet2001 9db030eb1f fix(expr-eval): make ^ right-associative
parse_power accepted a single exponent (`unary ('^' unary)?`), so a
chained power stopped after the first `^`. The remaining `^2` was left
unconsumed, and eval_to_string's embedded-expression scan then handed it
back as literal text: typing `2^3^2` into a coordinate or distance field
produced the string "8^2" rather than 512, and `2^3^2+1" produced "8^3".

Recurse into parse_power for the exponent so `2^3^2` reads as
`2^(3^2)", the standard right-associative meaning, and the whole
expression is consumed.
2026-09-03 15:32:56 +07:00
NgoQuocViet2001 074e589ce8 fix(dimension): render DIMAUNIT 4 as a surveyor's bearing
DIMAUNIT 4 is Surveyor's units, but format_angular_value matched only
0-3 and let 4 fall through the catch-all to decimal degrees. An angular
dimension in a drawing authored with surveyor units therefore read as
plain degrees, while AUNITS 4 in the same drawing writes a bearing for
the coordinate readout — the two disagreed on one angle.

Format the bearing from the dimension's own DMS path so it carries
DIMADEC, DIMAZIN and DIMDSEP, quantise before picking the quadrant so a
value just short of a cardinal does not quote a quarter turn, and offer
the option in the dimension-style dialog.
2026-09-03 15:23:42 +07:00
NgoQuocViet2001 6c6b394e56 fix(dimension): honour per-object text and extension-line colour overrides
The Properties panel reads and writes ACAD_DSTYLE overrides for all three
dimension colours (DIMCLRD 176, DIMCLRE 177, DIMCLRT 178), but the
renderer consulted the override only for DIMCLRD and took DIMCLRE/DIMCLRT
straight from the dimension style. Editing 'Text color' on a dimension
therefore showed the new colour in the panel while the drawing kept
rendering the inherited style colour — which for the common
DIMCLRT = ByLayer default is the layer colour. (#898)

Route all three through one helper so the renderer and the panel read the
same value.
2026-09-03 15:13:57 +07:00
ramox81 37a60329b1 fix: preserve grip clicks when dismissing hover menu 2026-09-03 11:07:15 +03:00
ramox81 ea6eb58c53 Fix extruded solid grip preview and taper range 2026-09-03 10:35:02 +03:00
NgoQuocViet2001 4a3b416103 fix(dimension): carry engineering-unit inches up to feet
format_engineering split feet from inches before rounding to DIMDEC, so a
remainder that rounds up to a full foot printed out of range: 35.999" at
two decimals read 2'-12.00" instead of 3'-0.00". A magnitude that rounded
away to zero also kept a lone minus sign.

Round on the decimal grid first and split afterwards, matching the carry
handling already used by format_architectural and format_fractional.
2026-09-03 14:28:13 +07:00
gianlucafiore 3ad0423393 Merge pull request #979 from gianlucafiore/fix/grip-tracking-reference
fix(grips): restore tracking references during grip edits
2026-09-02 20:21:40 -03:00