algorithmic modeling for Rhino
Whenever I need it, i create a simpleflied thing, that would usually only work in a very specific case, and rather create the right solution than being physically right.
Has anyone dealt with (monochromatic) refraction so far?
About a year ago, I was working on a definition to calculate lens shapes for monochromatic refraction. I simplified it a little by programming for symmetric lenses only. But I got to a point where I needed to implement some optimization algorithm and I haven't had a chance to research which algorithm to use and how. I had experimented with using kangaroo to fulfill that need and it worked; but it was too computationally intensive to reasonably accomplish what I was working on. Kangaroo has introduced some new tools since then that might make it much easier. Still, I know that I could solve it much more efficiently mathematically.
I'm curious about what you are working on. Feel free to PM me if you want to converse about our respective projects.
did you go any further?
I've been looking for a way to reproduce refractive definition in 2d to start off with modelling a lighting fixture
Yes, I did. You can download a set of components that work together with Anemone.
They will handle Reflection, Refraction and Dispersion at once.
You will need to be a member of Milkbox.
Have fun, phillip
Wow, the amount of work really amazes me. OmniRay Looks great in detail.
did I get it right, you embedded anemone in your app?
Managed to open the OmniRay app definition in new Rhino WIP for mac
(still yet no anemone for mac).
keen on getting floated now!
Thank you, Phillip!
It´s only a cluster of native components.
Technically it should also work if you just copy and paste the main component a couple of times instead of using a loop with anemone.
You will need one copy for each time a ray enters or exits a medium.
A follow up question:
I'm designing a periscope for a public installation, and I figure there must be a practicle way to use grasshopper for the composition of lenses, their corrosponding diopter, (maybe depth of field etc.). I need to define an enlargement factor (of 1.5 to 2.5) at a certain distance from the end of the scope, make sure the image shines parallel throug the piping, and ends up as a sharp image...
Could Omniray be of help? Any threat to reccomend? Other suggestions?
Help would be very welcome,
Not sure If I fully understand what you want to do correctly, but this should certainly work. Pls post a file if you need help with a specific thing.
I also just updated the cluster in Milkbox, so you can go into it and change anything as desired.
Thank you for the quick respons,
I just downloaded your updated cluster, and will see how far I get.
If I get stuck I will pm,
Thanks in advance,