Object › Plug-ins › Path Precision Tools › Add Bounding Rectangle runs
addon.pathtools.boundingRectangle, which draws a live rectangle on the
selection's geometric bounding box, strokes left out. Add Bounding
Circle runs addon.pathtools.boundingCircle, which draws the smallest
live circle that holds the outlines of the selected objects. Paths and
compound paths count by their curves, clip groups and clipping
sublayers by their clipping paths, other sublayers by their shown
objects, images by their corners, and type and other objects by the
corners of their bounding box. Each curve is split until its pieces lie
within 0.01 pt of their chords (1,024 pieces at most, after which a
piece counts by its control points), and the circle's radius is 0.01 pt
larger than the smallest circle around those points, so it holds the
curves.
`offset` adds space around the objects, and `each` draws one shape
around each selected object instead of one around them all. Objects
with no outline, such as an empty group, and shapes with no size (the
rectangle around a straight horizontal line, the circle around a single
point) are not drawn; with `each`, `skipped` counts them.
The shapes get the current paint and go on top of the current layer or
of the isolated group, as Tangent Circle's circles do; inside an
isolated compound path they go beside it. The new shapes are selected,
and one undo removes them all.
The smallest circle is computed in the geometry crate
(shapes::enclosing_circle) from the convex hull of the points with a
fixed shuffle, relative to one of the points so small art far from the
origin keeps its exact circle. While the command gathers points from a
large selection, it keeps only the corners of their convex hull, which
bounds the memory it takes.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md,
ROADMAP. Menu labels in all 28 catalogs and messages in the 24
catalogs with complete messages.
A shallow knockout at 0 opacity, or at 0 fill over layers that are all
transparent, is no longer merged with the layers below it, so hidden
layers below it come in with hiddenLayers. A hidden knockout at 0
opacity, or with nothing visible below it, comes in with hiddenLayers
instead of being left out.
The count of hidden layers left out no longer includes hidden layers
that came in after a group was drawn for a knockout or a clip that
wasn't made.
docs/mcp.md describes the knockouts document.open applies.
A live rectangle's Rectangle Properties (Transform panel, the Properties
panel's Transform section and the Contextual Task Bar's Shape Properties)
now have a Corner menu with Round, Inverted Round and Chamfer.
- With Corner Radius linked, one menu sets the kind of every corner of
each selected live rectangle, corners with no radius included, and
leaves the radii as they are. It is blank when the shown rectangle's
corners have different kinds.
- With Corner Radius unlinked, each corner's row has its own menu beside
its radius field, or under it when the panel is too narrow for both.
- The menus and the unlinked radius fields change only the selected live
rectangles; other selected paths and polygons are left as they are.
Before, a radius typed into an unlinked corner field also rounded that
anchor index on every other selected path.
- A pick is one undo step, and picking the kind the corners already have
adds none.