Grasshopper

algorithmic modeling for Rhino

Hi,

 

I am trying to split a sphere with different curves lying on the surface.

 

The area that lies at the start or end of the surface domain will be automatically split in 2 parts. I guess the reason is that the split surface component reads the surface from the domain 0 to the domain 1 and therefore splits it although geometrically should be one piece.

Any suggestions how to solve this?

 

Many thanks,

 

kiara

 

 

Views: 1758

Attachments:

Replies to This Discussion

rotate either your sphere or your splitting curves so that they coincide with the seam.

thanks Danny,

unfortunately these curves are the result of another process and will vary always location. I also need to consider the option of having just horizontal or vertical curves.

Probably I need to set up the sphere in a way that it adapts to this variable curve alignment.... I'll think it through...

many thanks,

k.

Another way might be to rotate one of the other subsrfs to replace the split one.

they could alla be different (see image attached)...

 

k.

Attachments:

I may have a fix, but it needs testing.

I solve the intersection for the splitting fragments and the domain start/end curve(isocurve V on u,v = 0,0). The fragments with only one intersection are joined.

 

Edit : too much joining with this, need to join only those intersecting on the domain frontier.

Sloppy piece of code, and it returns Breps instead of trimmed surfaces.
Attachments:

thanks, I had a look at the file...

I understand the process... theoretically it should work but unfortunately the breps are still separated at the sphere domain edge..

let you know if i find a solution

 

thanks!

 

k.

Fixing the fix of the fix! It should work at least on my example.
Attachments:

Hi Systemik,

sorry for replying so late..

your file works perfectly...many thanks!

k.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service