Hello,
I have a feeling this should be fairly easy, however I can’t seem to figure out how to do it
Please is there some way to do this in SOPs? Thanks.
This feature has been added to an upcoming experimental version, but for now it can be done in 4 SOPs:
Quarter circle, followed by two copies and a join.
(Just modify the circle’s offset + radius parameters as desired.)
(see attached)
rounded_rectangle.tox (854 Bytes)
Cheers
1 Like
@rob thank you very much. It works great except one detail that I can’t seem to figure out. Please is there some way to guarantee counter-clockwise order of vertices coming out of join? I thought I might use vertex reverse (Primitive SOP) after join, but I am not sure how to test their order in order to determine whether reverse is needed. I have thought of using Script SOP, but that would cost me bit too much processing time (which I would like to avoid in this case).
rounded_rectangle.tox (1014 Bytes)