ericjhberg Posted January 19, 2020 Share Posted January 19, 2020 Is there a marionette node that better pulls the true length, width, and reference point of a rotated rectangle? The basic one basically pull the bounding box dimensions of a rotated rectangle and not true length, width, or point of reference. 1 Quote Link to comment
m.graf Posted January 20, 2020 Share Posted January 20, 2020 @ericjhberg the marionette node "get rectangle" don't work? for more information you can use "convert to Poly", then with "get Vertex" you get all the corners Greatings M.G. Quote Link to comment
ericjhberg Posted January 20, 2020 Author Share Posted January 20, 2020 Thanks for the suggestion @m.graf; however, I don't want to convert to Poly because I want the functionality of a rectangle...including the length and width parameters. Quote Link to comment
Marionette Maven Marissa Farrell Posted January 20, 2020 Marionette Maven Share Posted January 20, 2020 I'm looking into this right now. Quote Link to comment
Marionette Maven Marissa Farrell Posted January 20, 2020 Marionette Maven Share Posted January 20, 2020 Right now my suggestion is to use the Get Width and Get Height in the Object Info category for those values, I'm looking into the best method for the referenced point while rotated since the naming of those points when rotated may not be accurate. I've also submitted a bug to update the Get Rectangle node once I've gotten a good solution. Quote Link to comment
ericjhberg Posted January 20, 2020 Author Share Posted January 20, 2020 Thanks @Marissa Farrell. For the task I am attempting the corner points are definitely the most valuable...but the length and width will be important too. I think I'll have to wait for a better Get Rectangle node before going further with my task. Quote Link to comment
Marionette Maven Marissa Farrell Posted January 21, 2020 Marionette Maven Share Posted January 21, 2020 You could still take some of the recommendation from @m.graf and duplicate the rectangle, convert to poly, retrieve points, then delete. You'd just need to sort values to find the corner you're looking for. 1 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.