thousands of parts, which differ only in one parameter

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Chao_Tyc
Posts: 1
Joined: Fri Jan 20, 2017 9:13 am

thousands of parts, which differ only in one parameter

Post by Chao_Tyc »

How can i build thousands of objects, which differ only in one parameter?

For example, a certain parameter has the initial value 1 and this value should increase in the next object by 0.001 until the value is 2. In this case you get 1000 objects.

In addition, how can i export all these objects into 1000 different obj-files, without clicking on every object?
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: thousands of parts, which differ only in one parameter

Post by DeepSOIC »

Lattice ParaSeries is just for that! Please note that it's prone to crashing FreeCAD on linux. On windows it behaves better (win. FreeCAD is able to catch and absorb access violations)
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: thousands of parts, which differ only in one parameter

Post by DeepSOIC »

Chao_Tyc wrote:In addition, how can i export all these objects into 1000 different obj-files, without clicking on every object?
But for that you'll probably have to make a console snippet.
Do you want to export each object into an independent file, or all objects into one file? if latter, you just export the paraseries object.
Post Reply