Can you generate a 3d rendering from the API?

You can generate a .png for .jpg rendering from the 3d view

Is it possible to generate a 3d rendering using the python api?

I’ve found it possible to create a gerber or pdf file using the api. Does the same thing exist for the 3d viewer?

https://github.com/blairbonnett-mirrors/kicad/tree/master/demos/python_scripts_examples

Hi @spuder, I worked in 3d-viewer development. I know nothing about the phyton scripts. From what I know from the 3d-viewer it is not possible to get the renders from any other place. It may be possible in future… What is your propose to get the renders by an external script? Would you like to share your wishes with us?
You can also fill a bug and mark it as a wish here: https://bugs.launchpad.net/kicad

1 Like

I’m collaborating on an opensource keyboard on github. Before anyone contributes a change to the pcb layout, they are asked to run a script that generates plots (in pdf form). Those plot can then easily be compared to see exactly what changes were made.

Here is an example. Things marked in blue / red are the difference between the two board revisions.

We want to extend the scripts so that not only do they generate plots, but they also generate 3d renderings. This will make it easier to see every change that was made.

1 Like

Any update about it?

there are no updates