DWG drawings open and place through the DXF reader since #10802, but
the M4 row in docs/roadmap.md still listed DWG under Left. The row now
lists DWG import with its pull request, and Left keeps DWG export (use
DXF).
A nudge that the pixel-grid snap took back still recorded an undo step and
left a rounded live rectangle a live path when an object selected whole
was moved together with direct-selected anchors, because the no-change
check ran only for anchor-only selections. The check now also covers
objects selected whole. The path.moveAnchors params text and the Live
Corners progress entry now state the pixel-grid case as docs/mcp.md does.
- A DWG placed while it is converted goes on the layer that was current
when Place started and, with `replace`, in place of the object selected
then, selected again unless it changed meanwhile. A layer the user made
current since stays current, as for other files read for Place.
- Place's checks run before the conversion starts, so a bad param or a
selection Replace can't swap (several objects, part of a symbol
instance) is reported at once and nothing is converted.
- The open progress window shows a DWG drawing being converted.
`file.cancelOpen` drops the conversion, so its dialog never opens, and
`file.openInBackground` closes the window while it goes on in the
status bar. Both commands' help text and `docs/mcp.md` say so.
The selection fill eligibility entry now says that its "nothing else
there" rule covers ordinary picking and points to the #9175 entry for
Select Behind. The #9175 entry no longer says Select Behind lists
unfilled paths after painted ones: it steps through them with the other
objects under the pointer, as `object_behind` does through `leaves_at`.
A straight segment cleared the direction the comb carries from segment to
segment, so a curve that ended heading one way and a line that went back the
other way, or a line followed by a curve that turned back on it, kept one
line through the tips across the cusp. A straight segment now carries its
chord's direction, and the comb starts a new line wherever the next direction
heads back against the last one.
The test for turning back now ignores a dot product that rounds a little
below zero at a right angle, at interior anchors and at the closed-path seam
alike.
Canceling a 3D and Materials drag, or dragging back to where it began,
rolled the preview back but left its rendered fallback warning in the
status bar, describing settings the document no longer had. The
rollback now clears that warning while the status line still holds it
and shows the restored selection's own warning instead. A warning shown
before the drag began, or a newer status message, is kept.
docs/three-d.md now scopes the painter's algorithm note to shaded vector
faces; a Rendered image is drawn with a depth buffer.
* Retype: add a context menu to matching-font rows
A secondary click, or Shift+F10 on the focused row, selects a font row in
the Retype panel without setting its font and opens a menu with Apply Font
(what a click on the row does; off without live text selected), the panel
menu's sample sizes and Reset Retype Panel. The menu closes when the list
or the document changes (G12).
* Rerun CI: the apt package download failed in a test shard's setup
---------
Co-authored-by: ruchirguitar <[email protected]>
Co-authored-by: FredApps <[email protected]>
A live star whose ratio is below 0.01, which object.setLiveShape takes,
lost its inner radius and its live shape when addon.shapes.configure
changed another value: the stored ratio was clamped to 0.01 when the
star was drawn and no longer counted as live. Any ratio from 0 to 1 now
draws and stays live as it is.
A corner list shorter than the star's or polygon's corners counted as
one shared radius, so a new point or side count gave the missing corners
the first corner's radius. The missing corners now stay sharp.
A ratio that changes which corners a rounded star cuts is now an error
with radius or kind in the same call, as points is, since the corners
selected before it no longer name the same corners. The anchor selection
is dropped by the same check.
The Selection fill eligibility entry now lists the cases where a
hidden-only or true-None interior misses in one sentence, and the
case where Select Inside Unfilled Shapes picks it in a second.
An anchor nudge on a pixel-aligned rounded rectangle or polygon that the
pixel-grid snap cancels recorded an undo step and left the shape a live
path, because the anchor edit converts the live shape before the snap
runs. The no-change check now treats that conversion as no change when
the converted live shape matches what the same anchors would give
unmoved, so the shape stays a live rectangle and no undo step is
recorded. A change to the uncut outline or the corner settings still
counts as a change.
* Docs: add a script for editable numbered grids
* Docs: bound the numbered-grid example and validate label numbers
---------
Co-authored-by: FredApps <[email protected]>
Opening or placing a DWG drawing from the desktop UI converted it on the
UI thread before DXF Import Options opened, so the window stopped
responding until a large drawing was converted. File > Open, Open Recent,
the Home screen, a drop and Place now convert it on a job of their own;
the status bar says "Converting <name>..." and the dialog opens once the
conversion is done. A drawing that can't be converted is reported and
does not go on the recent files. Commands run at once (MCP, scripts)
still convert before they return.
`thumbnail` exits after 20 seconds, but a DWG worker it started kept
running after that. The CLI now starts the worker with
`--dwg-worker-seconds 20`, and a worker started that way exits with code
1 once its time is up.
The CLI `info` test requires the drawing cut to a third and the one cut
to its header to be refused. The File formats row and the DWG entry in
docs/target-app-parity.md name the remaining limits: the web build and
R1.x and R2.x drawings return an error that says to save as DXF.