DXF Options gets the check box Always Export Group as Block Reference,
and document.exportDxf and document.export take groupBlocks. It is off
by default, and the CNC / CAM preset does not set it. When it is on,
each group is written as a block definition holding its contents,
placed by one INSERT on the group's layer at the origin, unscaled, so
its entities keep their coordinates. A group inside it becomes a block
placed inside that block, and a group that writes no entity writes no
block. Block names come from the group names ("Group" for an unnamed
group), made unique with _2, _3 and so on, and follow each version's
naming rules. It works in every version from R12 to 2018.
The craft-libs revs move to 35709fdb (storytold/craft-libs#5381 on top
of the current pin 77ade517), whose drawing writer writes block
definitions and INSERT entities. A drawing without groups, or with the
option off, is written as before.
Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md.
Rotate draws a plane for every fill and stroke, but rendered mode only
checked the top fill and the strokes before drawing the image. A
gradient fill below a solid top fill was drawn as a flat color in the
rendered image instead of falling back to shaded faces with the
warning. Extrude & Bevel and Inflate still check only the top fill and
strokes they build solids from.
When placed editable art names a font family that its file does not define
as a composite font, and the document defines a composite font of that
name, the placed type was measured in the file's font but drew in the
document's composite font after placement. The placed type now gets a free
name such as "Name 2", so it keeps the font it was laid out in. Placing the
same art again reuses that name.
- The renaming also covers the fonts a file carries for its type and the
label font of a live dimension, so they stay paired with the renamed runs.
- An installed family is not renamed.
- The installed-name check applies only to the composite fonts a
placement adds, so a definition already in the document does not stop it.
- docs/mcp.md describes the renaming under file.place.
`cargo xtask layers` read only `#![doc(test(attr(...)))]` written
directly, so a library root that lowered its doc tests with
`#![cfg_attr(<cond>, doc(test(attr(allow(unsafe_code)))))]` still passed
the check that its doc tests deny unsafe code.
A `doc(...)` inside `cfg_attr(...)`, at any depth, now counts. Since the
check does not evaluate the condition, such an attribute can only lower
the level: an `allow`, `warn` or `expect` of `unsafe_code` inside it
lowers it, and a `deny` or `forbid` inside it does not count, as for a
lint attribute inside `cfg_attr` within `doc(test(attr(...)))`.
The reader opens a PowerClip frame whose clipped objects were all left out
(bitmaps, text and other objects it doesn't read yet, or contents past the
import limits) as a plain shape, and the warnings only said that objects
were left out, so an empty frame had no explanation.
Opening a drawing of version 4 or later now adds the line "CDR PowerClip
frames whose contents were left out opened empty, as plain shapes" whenever
the reader left objects out or stopped at a limit. Drawings of versions 1 to
3, which the reader opens without frames, don't get it. The reader's
warnings don't say which frames lost their contents, so the line is shown
for every such drawing.
docs/mcp.md says what OK and Apply do with the agent settings after
input injected through the control channel reached Preferences, and
what an OK sent by a control request does.
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).
When input injected through the control channel reached the open
Preferences window, an edit on AI Integrations (such as a read or write
folder) could reach the draft and be saved later by a person's OK or
Apply, outside the automation roots. That let an agent driving the UI
widen the folders it may open from and save to.
The window now records that automation drove it. While it stays open,
OK and Apply put the agent settings back as they were read and refuse
them with a message; the person changes them in a Preferences window
they open again. An OK or Apply that a control request sends is refused
without touching the draft.