Grasshopper

algorithmic modeling for Rhino

Hi!

I have a question about the shift path offset input. As the info says "offset to apply to each branch", I assume it's possible to input different offset but can't find the way...

I am trying to reach the same result as the path mapper below :

Views: 1333

Replies to This Discussion

You could do it like this, but without any doubt it would be a better approach to keep them on the same level before you even merge the paths in the first place. Less mess - no cleaning up.

Yep, for sure!

I tend to simplify everything everywhen and recently learn it could be problematic...

Thanks

hello to everyone.

do you know how to shift a path on python?

i think to use GH_PathOffset.OffsetPath but i cannot reach it! i cannot understand how to set it.

#objects = input in Python component as datatree
datatree = DataTree[object](objects)
#datatree structure = {A;B} but could be {A;B;C;...n} and i want to shift the last branch so that the current one will be {A;B}-->{A} or {A;B;C;D}-->{A;B;C}

#i don't know how to use the following method:
GH_PathOffset.OffsetPath(objects.Paths, -1, datatree) #???

#HELP!!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service