Grasshopper

algorithmic modeling for Rhino

Hello,

is the purpose of this component to move then rotate, or rotate first ?

See http://www.grasshopper3d.com/forum/topics/creating-a-parametric-cha...

Views: 5610

Replies to This Discussion

Hi Systemik,

 

Orient moves and rotates at the same time. It basically takes geometry from one orthogonal plane to another. Just tested it, seems to work fine.

 

The first plane you have to specify is the orthogonal frame in which the geometry is currently defined. The second plane is the remapping frame.

 

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Yeah this component with the planes input doesnt cause me any trouble, I was talking about the one using points and vectors :

Here you can see the arrow to the top left being reoriented, with reference point being the start of the curve, target point being same point moved 10 units in x direction, reference direction y, and target direction 2x.

The result is the bottom arrow, which seems correctly oriented and scaled, but isnt starting at target point.

If I get the transformation data, and reapply it sequentially, that gives the green arrow to the right.

So there is something I dont understand somewhere, or something bugged (like rotation and moving not occuring in correct order)

Yup, there's a bug here. I'll try and find it.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

It wasn't a bug in Orient, it was a bug in all the XForm matrix multiplication. Quite serious. Thanks for exposing it.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David,

Another bug related to the orient component (or am I missing some part of my brain?)

Cheers

 

Fred.

How complicated is your referenced Brep?

2 joined planes...  :)

Have you tried with different geometry?

I had a recent project that failed to Orient a few of my surfaces. But there was enough information from the surrounding ones to manually place after baking so I never though more about it.

Yes I have. And guess what: I tried to do it by Move + Rotate. Rotate didn't work either.

So as David said it must be a matrix issue. I just posted this just to make sure he wouldn't forget the list management in his fix.

So this is your job? Man I'd love to work on those big boats. Sometimes I'm a little tired of useless yachts for obnoxious millionaires...

Its even better, it's accident investigation :)

I know this has been a while, but the bug was still there when I tried to use the component. I found out the problem has to do with the fact that no plane is specified. I made a new component in which I specified the plane and it works fine for me. It doesn't scale yet since I didn't want it to for my project but feel free to add that functionality!

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service