Grasshopper

algorithmic modeling for Rhino

Hi

I know this is a simple matter but I just can start with divide by length and then its totally stop in my head. So I like to array the tab group curves along the path curve at a distance of 20mm (its in scale 1:100). The difficulty starts when I want both of the tabs start ends to be at the curve (for coming cutting of path curve). See example.

Any help would be greatly appreciated!

Best regards

Per

Views: 859

Attachments:

Replies to This Discussion

Hi.

You can adjust tab starting position.

Attachments:

Hi Hyungsoo Kim

Thank you so much!

But there is a problem and I cant image how to go about it. The problem is that you are using the centerpoint of the tabcurve to localize the tab on the path curve, and since the curvature is not constant the tab dont sit on the path curve with its end points on the path curve... Hope I make myself understood! Its not possible to use the tab to cut away from the path curve since its not seated on the path... Do I make sence? Are there some way to make the end points sit on the path curve instead of the center point?

Attachments:

Is that 20mm measured in 3D space or along the base curve?

This one measures distances along the curve. If you want distances in 3D space it might not be possible to do so without scripting because the only native way to divide a curve into equally distant points doesn't allow for alternating distance measures.

Attachments:

Hi David

And no its not in 3d its 2d (along the base curve). Its going to be lasercut in stainless steel... But I cant understand how to get the endpoints of the tab on the path curve instead of the center point on the tab... Hope you understand what I am getting at?!

Hi again David

And sorry, was able to reply before I tried your def. And have to update GH before that too... And it seems to work marvels :-) Thank you so much and thanks Hyungsoo Kim for your effort! And David, in my excitement i forgotten about the end point component...

@David

Would it be possible to use this def further and to cut away the crv segment (of the path curve) between the tabs endpoints? Tried searching the forum and found some threads about the shatter component but cant get it to work...

Like this?  David's code is very clever (as usual).

Attachments:

Hi Joseph

Was just reading your input on the thread "http://www.grasshopper3d.com/forum/topics/split-divide-curve-at-specific-points " . Thank you so much! And my aim was of course apparent. Yes I like to cut and join with the tabs in place. Was trying to understand to get the list in to shatter, but now I see what I was doing wrong!

Thanks again

Per

I'm guessing that your next question will be: "How to join these dashed segments with the top perimeter curves of the tabbed groups to form a continuous curve (cut path)?" - like this?

P.S.  A bit more complete (after uploading the code):

P.S.  One more detail!  Flatten the list and join the curves:

Attachments:

Joseph, you're a gem!

Thanks a billion, was about to try to solve it myself...probably after a day or two.. But now I can go ahead and do the lasercutting files ready!

Thank you!

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