Let's say our objet is a ring.

I model it in size 1. I need to generate 60 other rings sizes by scaling my first model it with predetermined ratios stored in a table.

Is there a way to automatise this ?

I did not find a plugin or script for it.

I still can't write a script by my own but I could modifiy a similar script that exist in order to adapt it to my needs.

Could you help on this topic ?

Regards

up vote 0 down vote accepted

When you say export, I expect you need it in a non-blender format, say for 3D printing. Most export options have a scale parameter that can easily save each export in a different size.

import bpy

ring_sizes = [0.8,0.9,1.0,1.1,1.2,1.3,1.4,1.5,1.6]

for s in ring_sizes:
    bpy.ops.export_mesh.ply(filepath="Ring_"+str(s)+".ply", global_scale=s)
  • Thanks sambler ! I adapted it and made it available here if other people need it : crea.coffee/16390/… – Thibd Feb 22 at 12:01

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.