Skip Navigation

Simple parametric python model

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?

2
2 comments