Juliensv Posted February 27, 2023 Share Posted February 27, 2023 (edited) Hello all, This feels really simple, and I'm a bit embarrassed to ask the question, but how does one find the radius of an arc object? vs.GetArc gives me startAngle and sweepAngle, and vs.HCenter will give me the centerpoint of the arc, but then how do I get a point on the actual arc to measure, without using PtOnArc or something ugly along those lines? Thank you for your help! Edited February 27, 2023 by Juliensv Quote Link to comment
Letti R Posted February 27, 2023 Share Posted February 27, 2023 Hello, to solve problems like this i like to look into Marionette nodes. There is a Marionette Node "Get Arc" and the first output is the radius and this is how it was written in the node: arcvalues = vs.GetArc(h) perim = vs.HPerim(h) sweepR = vs.Deg2Rad(arcvalues[1]) radius = perim / sweepR Regards, Letti 2 Quote Link to comment
Juliensv Posted February 27, 2023 Author Share Posted February 27, 2023 This is perfect! I didn't realize that HPerim on an arc would give the arc length. But it does make sense now that I think about it. It's funny because I was actually trying to find the arc length of the arc in the first place... Anyways thank you for the help, as well as the tip on looking in the Marionette Nodes! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.