Grasshopper

algorithmic modeling for Rhino

Hello,

I have got a little problem with my project going on. In grasshopper i want to make a line, which is divided into segments at the kinks. On all these segments, 1 sphere has to be created, at a random position on that segment. 

But, there is a domain for the segments. The spheres have a radius of 150. Every sphere on the segments may not touch the kinks, so there is a domain set at every segment. The domain lays between 150 mm and (length of segment - 150 mm). 

At last, the line needs to be at least 302 mm. This is so in exactly the midpoint a sphere can be created which does not touch the kinks.

My outcome has a lot of spheres, which are generated on the main line, but they are not seperated into the different segments.

The pictures provide maybe better information.

help me!

Views: 476

Attachments:

Replies to This Discussion

Do you have this polyline already or do you need to generate it as well?

this polyline is already part of my design, so the line is connected with 1 line in the design

Hoi Sander, here's a way:

Attachments:

Hello Pieter,

Thanks a lot! You solved the problem!

thanks for the time! nice day!

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