Grasshopper

algorithmic modeling for Rhino

I HAVE TO CALCULATE LENGTH OF A STANDARD STRUCTURAL PROFILE.

HOWEVER BOTH EDGES ARE CUT SUCH THAT THEIR SURFACES ARE NOT PARALLEL TO EACH OTHER.

ASSUMING THAT CROSS -SECTION  AREA OF THE PROFILE IS KNOWN HOW CAN I CALCULATE THIS PROFILE (BREP)?

 

THNX

Views: 1402

Replies to This Discussion

hey,

 

this works maybe :-)

 

Best Regards

 

DeDackel

 

ps.: please stopp writing in big letters, kind of stressing :-)

 

You question seems a little bit ambiguous.  I'm not sure how cross-section area comes into play for calculating length.  Here's an idea on it.

 

Chris

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.

 

 

Why is Chris' approach not working? Are your extrusions straight? Here is a shot of essentially the same method but with a dimension added for clarity.

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

Attachments:
okay i am convinced but i cannot use it for multiple breps. What you offer me?

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

Attachments:

 

 

 

 

 

 

Please find attached.

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