Merge pull request #6467 from dotCooCoo/fix/pathops-param-types

Path commands: Offset Path, Simplify, Split Into Grid, Clean Up, Trap and Contour reject a param of the wrong type
This commit is contained in:
BFlat
2026-11-11 05:25:49 +07:00
committed by GitHub
6 changed files with 188 additions and 39 deletions
+5
View File
@@ -3675,6 +3675,11 @@ dialog `simplifySlider` with field `level`) at the Auto-Simplify level for the s
opens the Simplify dialog at the slider's tolerance. When OK confirms the dialog with `retain` ticked, the menu item opens
the dialog on those settings next time.
`object.path.simplify`, `object.path.offsetPath`, `object.path.splitIntoGrid`, `object.path.cleanUp`,
`object.pathfinder.trap` and `addon.contour.set` reject a param of the wrong type, such as `"offset": true`,
`"joins": 3`, `"rows": "many"` or `"addGuides": "yes"`, and change nothing. A distance still takes a string with a unit
(`"5 mm"`). `joins` must be `miter`, `round` or `bevel`. Omitting a param or giving null keeps its default.
## Smooth
`object.path.smooth` smooths the selected paths (or the objects in `ids`), compound path members included, as one undo