this post was submitted on 03 Oct 2024
3 points (100.0% liked)

Blender

2724 readers
5 users here now

A community for users of the awesome, open source, free, animation, modeling, procedural generating, sculpting, texturing, compositing, and rendering software; Blender.

Rules:

  1. Be nice
  2. Constructive Criticism only
  3. If a render is photo realistic, please provide a wireframe or clay render

founded 1 year ago
MODERATORS
 

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?

top 2 comments
sorted by: hot top controversial new old
[โ€“] mtchristo@lemm.ee 2 points 1 month ago* (last edited 1 month ago) (1 children)

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.

[โ€“] werefreeatlast@lemmy.world 1 points 1 month ago

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.