Jump to content
ericjhberg

Get Rectangle - Inaccurate

Recommended Posts

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.

  • Like 1

Share this post


Link to post

@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.

Share this post


Link to post

 

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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.

  • Like 1

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...