Grasshopper

algorithmic modeling for Rhino

Hi,

I have been trying to split multiple curves at points defined by the 'point on curve command' so that when the point on curve component is adjusted the shatter points change accordingly. I am doing this to better visualise a sound wave simulation that I have created. Shatter on curve does not seem to be working.

The image below shows the points on the curves that I want to use to split the curves.

Thanks!

Views: 2234

Attachments:

Replies to This Discussion

Sorry yes I have used Mosquito in the script 

Hi.

I assume you misunderstood the use of "Point on Curve" output.

"Shatter" requires a curve parameter "t" as it's t input. Whereas, point on curve's output is just a 3d point on a curve.

You should use "Curve closest Point" to get a curve parameter(t) and supply it to the Shatter component's "t" input.

You should use "Curve closest Point" to get a curve parameter(t) and supply it to the Shatter component's "t" input.

Or he could reparameterize the curves and supply 't' directly:

Attachments:

That worked thanks so much!!

Hi all,I might have a similar Task.

I have created a cable net out of parabolas, that I Need to split at all intesting Points as shown and split the curves as well as the edges of the rectangle. When I use the trim curves with Points command it Returns only some segments (shown highlighted)

Can anyone help?

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