Grasshopper

algorithmic modeling for Rhino

Hey guys!

I am having trouble with a project I'm working on: I've got some nurbs curves (blue) of which I want to substract some "paths" I've drawn (red) but I can't manage to get it to work. The idea is to find the area where the red zone and the blue one are overlapped and then substract the red from the blue one in order to obtain closed curves. I've tried region difference, region unions, all kind of intersections, trimming... I honestly don't know what I'm doing anymore.

I don't know if it's even possible or if I've just been looking at it for so long that I'm simply missing the obvious solution. Any clue?

Thx for you help!

INTERSECTION%20CURVES_PATH.gh

Views: 862

Replies to This Discussion

Well this is very easy ... but the bad news are this:

Maybe a tolerance issue, maybe curves lay in Alpha-Centaur (in relation with 0,0,0) or whatever.

If others encounter the same issue as well > check curves > check doc tolerance > bring curves near 0,0,0 and re-upload the case

Soooo... there is no way to solve it?...

Espero que este truco te sirva para salir del paso.

Attachments:

Thanks, that is one of the thigns I already tried but I can't manage to separate the different curves,

Besides, as it happens to you, there are some nurbs that dissappear...

Gracias, ese ha sido uno de mis intentos pero luego no soy capaz de separar las curvas.

Además, como te ocurre a ti, me suprime algunas de las nurbs.

Qué curvas te suprime? Ten en cuenta que la lista contiene curvas nulas...
A qué te refieres con separar las curvas?

Por algún motivo el archivo que has subido no contiene todas las curvas que he subido yo. No sé si es que lo has purgado o algo por el estilo?

En cuanto a lo de separar, lo que voy buscando es obtener lo que queda de la curva azul después de restarle la roja. Lo que me planteas es la intersección entre ambas pero luego no soy capaz de "separar" el trocito que necesito de la curva intersecada para incorporarla a la azul, de manera que me quede la curva azul cerrada despúes de restarle la roja.

Ah vale! Pues fácil:

Y puse el componente panel para que vieses las curvas que he recibido. Utilizo el componente Clean Tree para eliminar las nulas ya que no van a operar. Si necesitas esas curvas tendrás que revisar pasos anteriores y si te falta alguna curva por otro motivo, sería mejor cargar las curvas en un 3dm ya que gh solo internaliza bien los puntos y datos básicos.

Suerte con el proyecto.

el archivo... e.e

Attachments:

Qué listo! No se me había ocurrido extruir. Nice.

Mil gracias.  Acabo de llegar a casa y funciona perfectamente.

De hecho, funciona con todas las curvas, no sé por qué te da curvas nulas a ti, porque a mi me va de lujo.

Una vez más. Muchísimas gracias; ya me estaba volviendo loco!

I don't understand the difficulty?  Or the need to extrude anything before using Region Difference?

This seems to work fine for me?

Attachments:

Me? I don't understand why Rhino crashed 3 out of 3 times when attempting to open the def.

Region Difference takes forever on mi pc.

The other option about 14 seconds.

Is it just me with some configuration issues or is RegionDifference simply more difficult to process for the machine?

About the crashing... No clue XD

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service