Skip to main content
marcbjango
Known Participant
April 3, 2011
Released

P: It would be good if the roundrect vector tool corner radius was editable during and after drawing

  • April 3, 2011
  • 45 replies
  • 1129 views

Problem Description — Illustrator allows realtime tweaking of the corner radius of rounded rectangles while drawing, using the arrow keys. It’s brilliant and takes the guesswork out of drawing rounded rectangles. Drawing a roundrect in Photoshop is a trial and error affair, because you have to choose the corner radius prior to drawing.

This means it usually takes several attempts to draw a rounded rectangle, because you have to delete what you’ve done and start again each time. It’d be even better if the rounded rect’s corner radius remained editable after drawing. Allowing a different corner radius for each corner would be the icing on the cake. Given the current implementation of vector rounded rectangles in Photoshop, I’m not sure how it’d be possible to implement edibility without significant changes.

Workaround — Lots of trial and error, drawing and redrawing until the correct radius is achieved.

45 replies

PECourtejoie
Community Expert
Community Expert
December 4, 2012
Looks like Davind Jensen did it again here is a panel that allows to change the corner's roundness after drawing, individually: http://photoshopscripts.wordpress.com...
Known Participant
August 14, 2012
Yeah, it may be possible, but more than I am able/willing to do at this point.

There is no (documented) way to change an existing path using scripting. My script reads the first sub-path in a shape and gets the bounds and tries to determine the existing curvature of the corners. When you change the radius, the script deletes the existing vector mask and creates a new one.
I don't know of a way to get the currently selected sub-path to determine what needs to be changed.
Inspiring
August 14, 2012
Doesn't react well with when there are multiple paths in a shape. I think you mentioned this already somewhere.

I imagine it's hard to correct.
Inspiring
August 14, 2012
Wow dude! Thanks a lot!

Will let you know if I think of enhancements!
Known Participant
August 13, 2012
This new version fixes the Mac crashing issue in my tests:
https://sites.google.com/site/davidje...

Is there anything else that would be helpful? How about updating multiple layers at once? Buttons like the old panel version?
August 13, 2012
Anyone receive this when you try to run?

Error 1302: No such element

Line: 51
-> radius4=lower-roundedRec.pathPoints[6].anchor[1]
Inspiring
August 13, 2012
David,
It works on the Mac, as long as you don't touch the middle box, but instead, change all four corners individually.
Inspiring
August 13, 2012
I am an a Mac, ya. If there's any more info I can get you, be sure to let me know!

Thanks again!
Known Participant
August 13, 2012
Thanks for the feedback. I just fixed a bug and uploaded a new revision (literally two minutes ago.) It wasn't always selecting the correct path if you had multiple paths along with shapes.

Borthjordan: I don't know. I've only tested it on a PC. Are you using it on a Mac? I have a Mac at work that I can test it with tomorrow.
Inspiring
August 13, 2012
Thanks David. It works great. 🙂