Raster Settings opened with the selected objects' render settings, but
OK applied the edited values to whatever was selected at OK time. An
object selected while the dialog was open took settings it was never
shown.
OK now sets the objects selected when the dialog opened. When the
document is no longer the active one, was reverted, had an Undo or
Redo, or one of those objects was changed, deleted, locked or hidden,
OK keeps the dialog open with the reason.
Paste on Windows never read the enhanced metafile that CAD and office
apps put on the clipboard as vector art: windows_formats had no entry for
EMF, so the app pasted their bitmap instead, or nothing. The Windows
clipboard holds an EMF as a handle (CF_ENHMETAFILE, which Windows also
makes from CF_METAFILEPICT), so the app now copies its records with
GetEnhMetaFileBits, at most 64 MiB, and pastes them through
clipboard.importEmf.
A .dxf, .dwg or HP-GL plot file copied in a file manager did not paste,
because file_flavour had no flavour for them, though Open and Place read
all three. They now paste as image/vnd.dxf, image/vnd.dwg and
application/vnd.hp-hpgl through the new command clipboard.importCad
{dataBase64, format: dxf|dwg|hpgl, center?}, read as document.open reads
the file. A file pastes this way only when its bytes are the format, so
a chart script named .plt is not taken for a plot.
Fixes#10819.
comb_closes took a straight segment's chord as its direction at the seam.
When the segment's anchors sit on one point and its handle is too short to
count, that chord has no length, the reversal test compared against a zero
vector, and the comb closed across a seam where the path turns back. The
seam check now uses the chord only when it has a length, as curvature_comb
does, and falls back to the handle direction otherwise.
The View › Show Curvature Comb params help and the ROADMAP line now say
that the line through the tips starts again at a cusp, a straight segment
included; ui_catalog.rs is regenerated.
Conflicts:
- crates/engine/src/tests.rs: keep both the missing_links and moved test modules.
- crates/ui-egui/src/panels/links.rs: take main's labelled menu entries and give
the Show Missing Links row its translated title.
- docs/roadmap.md, docs/target-app-parity.md: take main's rows and re-apply this
PR's #5547 notes.
- docs/ui-parity.md: take main's Headless column layout, re-add this PR's history
and behaviour rows (Headless: unknown), and count the new row in the summary.
View > Show Curvature Comb (view.curvatureComb) draws the curvature comb
of the selected paths, and of each path in a selected compound path,
while edges show. Each segment gets 16 evenly spaced teeth along the
normal, on the outer side of the bend, each as long as the curvature at
that point, and a line joins the tips in the path's layer color. A bend
with a radius of 100 screen points gives 20-point teeth at any zoom.
- vectorcraft-geom: curvature_comb samples the signed curvature of a
subpath. Straight segments give teeth of no length, points with no
direction give none, and the line through the tips breaks at those
points and at cusps between teeth.
- The comb draws at most 20,000 teeth, shared among the selected paths
by their number of segments, so a large selection gets fewer teeth
everywhere instead of losing whole stretches.
- The toggle is a view setting: it is not saved in the document, makes
no undo step and rejects parameters.
Docs: docs/mcp.md, ROADMAP progress log.
Fixes#10659
File > Print listed the system's printers on the UI thread when the
dialog opened and on each Refresh, so a slow or unreachable print
server froze the app. The desktop print service now offers its
discovery to a background job; the dialog opens on Default Printer and
PDF File, shows and announces the lookup, and takes the list when it
arrives.
- Discovery on Windows lists the queues without asking each driver for
its capabilities (`craft::print::printer_queues`).
- PDF File, its preview and Done stay available during the lookup.
Print to a printer is disabled until the list is applied, and a held
Print to a printer is not submitted.
- Setup... appears once the lookup has ended, since it reads the
printers again on Windows.
- Discovery starts on the first pass even when another drawing is
active, and a lookup that ends without a list leaves Default Printer
and PDF File.
The Print dialog's discovery came with #8800.
Common Tangents… now also does what Smooth Bridge… did (#10465).
- Connect tangents joins the two tangents of each kind into one closed
shape, along the chords between where they touch each path (a point's
two lines make a triangle). `connect` on
`addon.pathtools.commonTangents`.
- With External, the dialog shows Straight and Curved. Straight keeps
the tangent lines; Curved joins the circles along concave arcs, as
Smooth Bridge did, with Radius, Constant Gap, Reach and Keep
Originals, which take input only with Curved. `curved`, `radius`,
`gap`, `reach` and `keepOriginals` on the command; options of the
other mode are an error.
- The Smooth Bridge… menu item is gone. `addon.pathtools.bridge` still
runs for scripts and actions, opens the merged dialog with External
and Curved, and is left out of the command palette and Keyboard
Shortcuts. A palette search for "metaball" or "smooth bridge" finds
Common Tangents.
Docs: docs/mcp.md, docs/ui-parity.md, ROADMAP.
#10199 rescored full ready-for-real-work readiness from ~62% to ~67%
in docs/target-app-parity.md, and left ROADMAP's Stage line at the old
figure. The line now reads ~67% → ~75%, so beta is ~8 points away
instead of ~13. The hours to beta are unchanged; they come from the
beta list in docs/gaps.md.
Extrude & Bevel, Revolve, Inflate and Rotate take a `material` parameter,
{roughness, metallic}, each a number from 0 to 1 (defaults 1 and 0). The
3D and Materials panel's Materials tab shows them under Properties as two
sliders; each change is one undo step for every selected 3D object. A
value the selected objects hold differently is shown blank with its reset
dot filled, and a typed or dragged value or a reset sets it on all of
them while each keeps its own value of the other property.
- The default material draws exactly as before and calls no BRDF.
- Any other material is shaded through craft-pbr with the glTF 2.0
metallic-roughness BRDF (Appendix B, with the separable Smith
visibility of B.3.2) for each light and a split-sum environment scaled
by Ambient Light. The reflected light is screened over each face as
vector gradient ramps; graphics on a side or on Inflate's faces lie
under it, and graphics on caps and the plane take the cap's mean
reflected light in their colors.
- Smoothed bevel bands take the normals they share at their edges and
draw as two triangles, so neighboring bands meet without a step, with
perspective and twist too. A bevel whose split bands would pass the
solid's face limit keeps one facet per band, so a material never makes
a solid that draws with the default material too complex. Wireframe
mode draws the same edges for every material.
- A gradient with transparent stops stays transparent: the faces are drawn
opaque under one mask of its coverage. A pattern surface takes no
highlight.
- glTF exports write roughnessFactor and metallicFactor, and USD exports
write inputs:roughness and inputs:metallic (when it is not 0). OBJ's
MTL writes neither, so parts of one color and picture share one OBJ
material as before.
- A material that is not an object, an unknown key, or a value that is not
a number from 0 to 1 is refused; the 3D (Classic) effects take none. A
loaded material that fails these rules draws as the default.
Docs: docs/three-d.md (Material properties; the Inflate graphics text is
corrected; the Properties are listed as built), README, docs/mcp.md,
docs/effects-parity.md, docs/target-app-parity.md, ROADMAP.
Rescore the area, dimension and audience tables against the code on
main, using each doc's own formulas: feature depth 8342/105 (~79%),
breadth ~96% (menu items 815 of 816 wired, tools 91 of 92, vector
effects 50 of 50), full readiness ~67%, mainstream ~65%, essentials
~77%, UI/UX ~60%. File formats stay at ~75%. Stability, Raster effects
in ROADMAP, and Export/print in the essentials table go down where open
crash reports or the area table say so. Hours are not recomputed.
The ROADMAP language row for zh-hans now says some messages remain
untranslated, matching the untranslated report recorded in
docs/target-app-parity.md.
- Feature breadth: 3D maps graphics on the Materials page (#6960); base
materials are still missing.
- Simplified Chinese: status and error messages are translated (#2578);
the row stays partial at 85%.
- Current focus, G11: the Transform effect in a fill's or stroke's own
effects is fixed (#5221, #885); the unit preference (#864) remains.
A compound path or live compound shape directly in a graph series group now
takes a color. Generated column, marker and legend swatch copies carry a new
graph_design_art flag and keep their design's fill; in documents saved before
the flag, a compound in a series whose assigned design is itself a compound is
still treated as design art. Paths a user groups inside a series keep their
fills, as for paint.setFill. Nested members resolve to the outermost compound
in one walk of the ancestry, and series membership is looked up once per run.
- `keepModel: true` keeps an explicit RGB color in RGB in a CMYK
document, as paint.setFill does; it is declared in the params text,
docs/mcp.md and ROADMAP.
- A `keepModel` of null or another non-boolean is an error, and nothing
is edited.
- The dialog's OK button stays off, with a reason, when the layer name
matches a top-level layer that holds a clipping mask, which the
command refuses.
- A batch step takes the live fill, so paint.setFill followed by Flood
Fill Artboards in one command.batch uses the new fill.
- The OK check counts at most 255 characters after trimming, the same
limit the command applies.
Object > Plug-ins > Arrange Tools > Group by Row... (addon.arrange.groupRows)
groups the selected top-level objects by the rows their visual bounds share:
an object joins a row when its bounds overlap the row from top to bottom,
and Group By Columns does the same from left to right. Extents that only
touch stay apart, and an object that overlaps two rows joins them into one.
Only objects in the same layer or group and on the same artboard share a
row; an object alone in its row stays as it is. Each new group takes its
frontmost member's place in the stacking order, and the groups and the
objects left alone stay selected. One undo step, none when no row holds two
objects; an unknown direction is refused. At most 20000 objects, sorted
once along the axis.
Group Overlapping Objects and Group by Row share the step that builds the
groups. The dialog has Group By (Rows or Columns) with Preview.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md, ROADMAP.
Object > Plug-ins > Arrange Tools > Mark Bounds of Each... runs the new
command addon.arrange.markBounds. For each selected object it draws a
group of four inward L-shaped corner marks (10 pt legs by default, each
at most half the side it runs along) or a rectangle, with no fill and a
red 1 pt stroke by default, on the object's geometric or visual bounds.
Visual bounds count strokes, brush art and effects as drawn.
- Clip groups are measured by their clipping path, other groups by
their members together. Guides and objects without bounds, such as
empty groups, are skipped; a selection with nothing to mark is an
error that makes no undo step.
- The marks go directly above their object, or above the outermost clip
group or clipping sublayer that holds it, so the mask does not clip
them. The run is one undo step and selects the marks.
- Out-of-range lengths and weights, unknown styles and bounds, and bad
colors are errors; defaults apply only to omitted values. At most
20000 objects are marked at once.
- The dialog has Preview; Length is off unless Draw is Corner Marks.
- vectorcraft-render gains drawn_bounds_with, drawn_bounds with a shared
symbol cache, so a large selection measures each symbol once.
Docs: docs/mcp.md, ROADMAP.
Objects named in `ids` skipped the locked-artboard filter that the
selection applies, so the command could recolor art on a locked artboard.
The command now skips every target the locked artboards hold, checked once
per run with `Document::locked_artboards`. New art made on a locked
artboard that is still selected takes a color, as with other commands.
The params text, docs/mcp.md and the ROADMAP entry state the rule.
Object › Plug-ins › Color Effects › Randomize Fill Colors… gives each
selected filled path and compound path, and each one inside the selected
groups and clipping groups, a fill color of its own, picked at random
from a seed, as one undo step (none when no fill changes).
- addon.color.randomFill {scheme?, swatch?, min?, max?, seed?, ids?}:
"color" picks red, green and blue at random in the document's color
mode, "tint" picks a linked tint of a global or spot swatch, and "gray"
picks a gray, the tints and grays between min and max percent.
- Unfilled paths, clipping paths (compound ones included), hidden and
locked objects and the objects in hidden or locked groups and layers,
type, images, symbol instances, blends and envelopes keep their fills.
A compound path's member given by id colors the compound path, and an
object reached twice is colored once.
- Bad params are refused: an unknown scheme, min or max with "color",
swatch without "tint", a percent outside 0 to 100, min above max, a
missing or process swatch, and a seed that is not a whole number.
- The dialog has Colors, Swatch (the document's global and spot
swatches), Minimum, Maximum and Seed, with Preview; OK is off while the
minimum is above the maximum or tints have no swatch.
Docs: docs/mcp.md, ROADMAP, docs/target-app-parity.md, docs/ui-parity.md.
Object > Plug-ins > Document Tools > Flood Fill Artboards... opens a dialog
that previews on the canvas and, on OK, runs the new command
addon.document.floodFillArtboards as one undo step. The command adds an
editable rectangle exactly the size of the active artboard, of listed
artboards or of every artboard, painted with the current fill or a given
color and no stroke. The rectangles go on top of a top-level layer named
"Flood Fill" (or the name given), which is made at the bottom of the
layers when the document has none. A layer that already exists keeps its
lock and visibility, and the current layer stays as it was.
Every given value is checked: null, wrong types, an empty or too long
layer name, a color with alpha, unknown artboards, and artboards together
with all are errors. A current fill of None without a color is an error.
In a preview, the current fill is the one the preview began with.
Docs: docs/mcp.md, ROADMAP.
Object › Plug-ins › Arrange Tools › Offset Objects… (addon.arrange.offset)
puts the selected objects one after another in a row (left to right) or
a column (top to bottom), each a gap past the one before it; a negative
gap overlaps them. The order is the stacking order from the back or the
position (left or top edges), and Reverse Order runs it the other way.
The first object stays where it is, and the others move only along the
row or column, keeping their place across it. Objects are measured by
their visual bounds, a clipping group by its mask. One undo step, none
when nothing moves; bad params are refused.
The dialog has Direction, Gap, Order and Reverse Order with Preview.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md, ROADMAP.
Object › Plug-ins › Arrange Tools › Match Objects… (addon.arrange.match)
makes the other selected objects match one source object: the key
object, or the top or the bottom selected object. Each can take the
source's width (height in proportion), height (width in proportion) or
both, its bounding-box angle, and its stacking place directly above it
in its layer or group, about a reference point, as one undo step. No
step is recorded when nothing changes, and invalid params are refused.
The dialog previews on the canvas; OK stays off while nothing is chosen
or the source is a missing key object.
Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md, ROADMAP.