Recently I've been planning on designing some optics, nothing fancy just for a projector system that I'm messing around with. Anyway I got this idea that I could basically model the optics in blender using lux core to simulate the light path as it bounces the mirrors and passes through the lenses.
So I am able to create lenses and parts of any kind O can think of but I would love to be able to control the parts after I've created them via parameters like radius of curvature for example for a mirror.
Is that possible using a python script? Like somehow keep the script that created the geometry somehow linked to the geometry in such a way that I can come back to the script and change it later or maybe even change it using the timeline and key frames?
You can use geometry nodes and model everything from scratch using curves . but I would suggest using FreeCad instead as it is better suited for parametric modeling and precision modeling.
The problem is how to update geometry from freeCAD back to blender in realtime. I want to run the render as I change the shape.