Grasshopper

algorithmic modeling for Rhino

Hello Everyone, I am having an issue with endpoints. I am trying to add an endpoint to a polyline, I have been successful in adding points to the top and lower part of my floor plates, but having trouble adding the endpoints to the centre. When I attempt to add the points in the centre, I am getting an error. I am also getting a second error message “zero length segment was collapsed to create a valid polyline” Can anyone point me in the right direction?

I have attached my definition below, Thanks

Views: 3121

Attachments:

Replies to This Discussion

hello

the zero length segment was collapsed to create a valid polyline error message shows up because your list has multiple points with same coordinates, so outputting zero length lines.

you can use cull duplicates component from vector/point tab and have unique points for your polyline

cheers

alex

Hi Alex,

Thanks so much I used the Cull duplicates and it worked great! I am still having issues controlling the endpoints at the centre of my Floor plates, when I try to add new points to my "Cantilever Floor plates" My Loft disappears and results in an error... any suggestions? I have attached an image of what I am trying to achieve.... Thanks

Attachments:

i have highlighted the area needing attention

the upper highlighted area is the end point component which needs to be connected with merge. you have to cull the points for all the merges you have done before inputing for polylines. then clean polylines are lifted without problem and deformed though the sliders you have.

Hi Alex, Thanks for all of your help! It nearly works, the façade is now doing the right thing but the floor plates are still wrong... What am I doing wrong? My revised definition is attached...

Attachments:

the input p in all cull duplicate point component need to be flattened so that you have a list with point and not a tree (many lists of points). if you have a tree you are creting more polylines than needed.

you must study lists and data trees to be able to work with grasshopper. check out the tutorials section. there are exercises, like rotating tower definition, covering issues like these. 

Thanks Alex! It worked great, will definitely be looking at those tutorials :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service