Copy link to clipboard
Copied
Hi, does anyone know how to scale the corners of squares proportionally so that they appear uniform relative to their size? I have a grid pattern with many squares that should have the same rounded corners relative to their own size.
Copy link to clipboard
Copied
A script can do that. See this old thread: https://community.adobe.com/t5/illustrator-discussions/convert-multiple-rectangle-shapes-to-paths-li...
The objects have to be ungrouped and will be replaced by the top object. You can find the script here:
https://assets.adobe.com/public/004f21de-612e-4173-52d9-ea4b958c2495
Copy link to clipboard
Copied
That's what I'm looking for, but the script link seems to be empty with no text. Could you send it again?
Copy link to clipboard
Copied
Clicking the download button should work
Copy link to clipboard
Copied
/version 3
/name [ 19
72656374616e676c655f746f5f7374726f6b65
]
/isOpen 0
/actionCount 1
/action-1 {
/name [ 24
72656374616e676c655f66696c6c5f746f5f7374726f6b65
]
/keyIndex 0
/colorIndex 0
/isOpen 1
/eventCount 5
/event-1 {
/useRulersIn1stQuadrant 0
/internalName (ai_plugin_TransformEach)
/localizedName [ 14
5472616e73666f726d2045616368
]
/isOpen 1
/isOn 1
/hasDialog 1
/showDialog 0
/parameterCount 13
/parameter-1 {
/key 1936224890
/showInPalette 4294967295
/type (unit real)
/value 100.0
/unit 592474723
}
/parameter-2 {
/key 1937142388
/showInPalette 4294967295
/type (unit real)
/value 0.0
/unit 592474723
}
/parameter-3 {
/key 1835561594
/showInPalette 4294967295
/type (unit real)
/value 0.0
/unit 592476268
}
/parameter-4 {
/key 1836479092
/showInPalette 4294967295
/type (unit real)
/value 0.0
/unit 592476268
}
/parameter-5 {
/key 1634625388
/showInPalette 4294967295
/type (unit real)
/value 0.0
/unit 591490663
}
/parameter-6 {
/key 1668247673
/showInPalette 4294967295
/type (boolean)
/value 0
}
/parameter-7 {
/key 1919837293
/showInPalette 4294967295
/type (boolean)
/value 0
}
/parameter-8 {
/key 1818848869
/showInPalette 4294967295
/type (boolean)
/value 0
}
/parameter-9 {
/key 1868720756
/showInPalette 4294967295
/type (boolean)
/value 1
}
/parameter-10 {
/key 1885434990
/showInPalette 4294967295
/type (boolean)
/value 1
}
/parameter-11 {
/key 1919247980
/showInPalette 4294967295
/type (boolean)
/value 0
}
/parameter-12 {
/key 1919247993
/showInPalette 4294967295
/type (boolean)
/value 0
}
/parameter-13 {
/key 1885957744
/showInPalette 4294967295
/type (enumerated)
/name [ 5
4d69747465
]
/value 4
}
}
/event-2 {
/useRulersIn1stQuadrant 0
/internalName (ai_plugin_pathfinder)
/localizedName [ 10
5061746866696e646572
]
/isOpen 0
/isOn 1
/hasDialog 0
/parameterCount 1
/parameter-1 {
/key 1851878757
/showInPalette 4294967295
/type (enumerated)
/name [ 16
4b6f6e747572206175667465696c656e
]
/value 6
}
}
/event-3 {
/useRulersIn1stQuadrant 0
/internalName (adobe_commandManager)
/localizedName [ 16
416363657373204d656e75204974656d
]
/isOpen 0
/isOn 1
/hasDialog 0
/parameterCount 2
/parameter-1 {
/key 1769238125
/showInPalette 4294967295
/type (ustring)
/value [ 7
756e67726f7570
]
}
/parameter-2 {
/key 1818455661
/showInPalette 4294967295
/type (ustring)
/value [ 7
556e67726f7570
]
}
}
/event-4 {
/useRulersIn1stQuadrant 0
/internalName (adobe_commandManager)
/localizedName [ 16
416363657373204d656e75204974656d
]
/isOpen 0
/isOn 1
/hasDialog 0
/parameterCount 2
/parameter-1 {
/key 1769238125
/showInPalette 4294967295
/type (ustring)
/value [ 16
436f6e7665727420746f205368617065
]
}
/parameter-2 {
/key 1818455661
/showInPalette 4294967295
/type (ustring)
/value [ 23
53686170653a20436f6e7665727420746f205368617065
]
}
}
/event-5 {
/useRulersIn1stQuadrant 0
/internalName (ai_plugin_setStroke)
/localizedName [ 10
536574205374726f6b65
]
/isOpen 1
/isOn 1
/hasDialog 0
/parameterCount 11
/parameter-1 {
/key 2003072104
/showInPalette 4294967295
/type (unit real)
/value 2.0
/unit 592476268
}
/parameter-2 {
/key 1667330094
/showInPalette 4294967295
/type (enumerated)
/name [ 9
526f756e6420436170
]
/value 1
}
/parameter-3 {
/key 1785686382
/showInPalette 4294967295
/type (enumerated)
/name [ 10
526f756e64204a6f696e
]
/value 1
}
/parameter-4 {
/key 1684825454
/showInPalette 4294967295
/type (integer)
/value 0
}
/parameter-5 {
/key 1684104298
/showInPalette 4294967295
/type (boolean)
/value 0
}
/parameter-6 {
/key 1634231345
/showInPalette 4294967295
/type (ustring)
/value [ 8
4172726f77203237
]
}
/parameter-7 {
/key 1634231346
/showInPalette 4294967295
/type (ustring)
/value [ 8
4172726f77203237
]
}
/parameter-8 {
/key 1634951985
/showInPalette 4294967295
/type (real)
/value 100.0
}
/parameter-9 {
/key 1634951986
/showInPalette 4294967295
/type (real)
/value 100.0
}
/parameter-10 {
/key 1634230636
/showInPalette 4294967295
/type (enumerated)
/name [ 15
546970204174205061746820456e64
]
/value 0
}
/parameter-11 {
/key 1634494318
/showInPalette 4294967295
/type (enumerated)
/name [ 6
43656e746572
]
/value 0
}
}
}
Copy link to clipboard
Copied
Mike,
assisted by a helper object (art brush), it can indeed be done with an action.
However, the action you provided does not do it. Some parts are obviously missing, as far as I can see.
Am I overlooking something?