algorithmic modeling for Rhino
THNX FOR YOUR APPROACH CRIS. BUT I ALREADY FIGURED OUT IT IS NOT WORKING. THE SHAPE I HAVE TO DEAL WITH IS ANY STANDARD I SHAPE OR HOLLOW CROSS SECTION. HOWEVER IF I DIVIDE VOLUME WITH CROSS SECTION IT DOESNT GIVE THE LENGTH SINCE UNPARALLEL SURFACES ARENT INCLUDED. I HOPE MY SNAP WILL HELP YOU TO HELP ME.
I MUST MATERIAL REQUEST IN LARGE QUANTITIES ACCORDING TO A RHINO MODEL. PLS HELP!
mh?
to me it seems that Chris got it. If you combine my file with his file you can also get the length of profiles which are not oriented in x or y direction. Why is it not working?
Best Regards
DeDackel
HOW? COMBINE? I AM A CRAWLING INFANT ON FOURS AT GRASSHOPPER. PLS GIVE ME MORE UNDERSTANDABLE RESPONSES. CLOCK IS TICKING FOR ME :(
AND IF POSSIBLE IT MUST WORK ONLY ONE CLICK. ( WHEN I SELECT BREP LENGTH MUST BE CALCULATED.)
ACTUALLY I WAS JUST CLOSE TO IT. LET ME TELL HOW I DID IT. I EXPLODED IT TO POINTS. I CALCULATED DISTANCES BETWEEN EACH POINT. HOWEVER IT IS GIVING A COUPLE OF mm FAILURES SOMETIMES.(BECAUSE OF MOST OPPOSITE CORNERS)
I HOPE MY WAY CAN INSPIRE SOMETHINGS TO YOU.
PLS HELP. I HAVE TO CALCULATE MAY BE MILLIONS OF SUCH THINGS AND GIVE PURCHASE ORDERS.
I think Chris has a correct approach, but I don't think his definition works for objects of arbitrary orientation (ie not aligned with X, Y, or Z axis) as I'm assuming will be the case in the desired model.
If I was costing this I would also be using the length of the member before mitres are done (ie aligned bounding box) unless I knew there was exact nesting of different members. Accuracy to within a few millimetres I would also assume is acceptable.
Attached is how I would calculate this length, I'm sorry but I'm running latest grasshopper version (link below) so I think you have to update to open it. Screenshot attached. This method does assume brep longest length is in longitudinal direction (ie no stub members).
http://www.grasshopper3d.com/forum/topics/grasshopper-0-8-0050-deve...
Hope it helps,
Jon
You're correct, the definition needed a small adjustment (grafting of one parameter input) to get it to work for multiple objects.
Try the attached.
Cheers,
Jon
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by