generative modeling for Rhino
Hi Milan Katic,
Its been a long time since I've looked at this problem, but I did solve it. Give me time to dust the cobwebs and look for the files. I will respond with an answer soon.
It's been a long time since I worked on the problem, and I don't currently have the time to study the GH model in depth. I attached the model and you can have a look.
What I remember is the base curve was a closed curve. The trim curve was a larger box around the base curve. I noticed now the offset function doesn't work and shows errors. Don't focus on that too much.
Further down (to the right) I took a series of curves and "shattered" them into random lengths within bounds. The model isn't very clean (sorry) but, it worked great.
What I did with these random curves is to "randomize" again in the 3rd dimension (Z) direction. So, the curves are all random in the X, Y, and Z.
Further, I took these random curves, connected them all together in a certain order and I created another model (not shown) that generated G-code for my CNC router table.
You can see the final pattern on my web site. It's the cabinet doors with the stain glass behind.
It was a fun project, but, alas, no one else thinks its as cool as myself, and I have made no money from it. Ah, money, the profit was in the learning. : )
My next project will incorporate Feynman diagrams. Anything using Feynman diagrams has gotta be cool.