Grasshopper

algorithmic modeling for Rhino

Hi,

 

Someone can tell me why GH has created some "box" instead of "Flat box"?

 

All my Y value for my point are in the same plane.

 

See attached a Rhino and GH files

Thank you

 

Davoud

Views: 1640

Replies to This Discussion

It's hard to know where to start...  Your 'Point' param shows nine null points?

I would suggest fixing that and using 'Internalize data' on both your 'Curve' and 'Point' params so you don't need the Rhino file anymore.

If you connect a 'BoxProp' component to each of your 'Bounding Box' components, the top one using curve 'End Points' shows a list of zero-volume boxes (the 'V' output), which indicates a "flat box" to me.  The lower 'Bounding Box' component returns 'NaN' (Not a Number) due to the invalid input points.

Beyond that, your extensive use of 'Explode Tree' looks suspect to me - don't know what those are for?

P.S.  I fixed the 'Point' list and internalized the data as I suggested (attached - no Rhino file needed).

What I see now is that some of the points are apparently not in the same plane as the curves which causes six of the bounding boxes to not be flat.

I'm not sure what you're trying to do with the 'Map to Surface' and 'Box Morph' components?

Attachments:

Hi Joseph Oster

Sorry for whatever reason my GH hasn’t been save.

See attached the new GH File.

If you look at my Y value on my comparator they are all equal so I should get a flat box instead of a box.

I use the "Map to surface" or the "Box Morph" to scale my input curve.


Thank you

Attachments:

I don't know how you placed those points but there is a VERY SMALL difference in the 'Y' dimension on some of them - below the threshold of the 'Equality' test.  To fix that, I deconstructed the X/Y/Z values of the points and re-constructed them using the 'Y' value of the curve 'End Points'.  That fixes the "Flat Box" problem:

However, 'Box Morph' still fails as it apparently considers a "Flat Box" to be a "degenerate box"?  Don't know how to help you there...  Maybe try 'Shear' instead of 'Box Morph'?

Attachments:

Hi Joseph Oster

 

I was using the box morph to try to get a result.

On my first prototype, the curve I was not able to get by the "Map to Surface" I was able to get it by "box morph"

 

The think I don't understand, that my cure is move to a plane, and this same plane is generating the other point (everything in GH, I baked it to put in the forum)

 

So Y should be all equals.

 

 

So still do not understand why getting different Y.

 

I also find a other solution to achieve what I was looking for.

See attached the GH file.

 

Thank you for your help.

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