Creating sketches with script

Creating sketches with script

Anonymous
Not applicable
1,614 Views
5 Replies
Message 1 of 6

Creating sketches with script

Anonymous
Not applicable

Hello,

 

I have a 2D geometry described by 6 parameters. I want to change this parameters in predefined intervals by increment. There will be about 1000 different sketch.  After that, sketches will be revolved with predefined thickness and solids will be saved as parts. Those parts will be used on CFD for optimization purposes. I know how to import the parts to CFD but Is there a way to create those sketches and saving the solids as parts with script ? I am new to Inventor.

 

Many thanks in advance for any tricks and tips!

 
 
0 Likes
Accepted solutions (1)
1,615 Views
5 Replies
Replies (5)
Message 2 of 6

kennyj
Collaborator
Collaborator
Accepted solution
Hello Lisa, I believe you are looking for iPart Factories. A quick Google search should get you going. Basically you are going to put your parameters (options) in an Excel table and use that file to drive the parameter options of your "factory". Each time you insert the iPart into your assembly, it will be creating basically a new version based upon the options selected. Hope this helps, Kenny
Message 3 of 6

mflayler
Advisor
Advisor

Beware iPart Factories that reach "about 1000" there are some hard coded limitation as well as extreme slowdown when you try and create that many.

 

You may be better off with iLogic coded parts with a built in Form.  If your intent is to simply generate all of these at once you may have to use Excel but it may make sense to break them down into smaller iPart Factories for speed.

 

Can your CFD program not already adjust these parameters passed from Inventor, or create a parametric experiment inside of itself?  I believe Autodesk CFD can do that.

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

Mark Flayler - Engagement Engineer

IMAGINiT Manufacturing Solutions Blog: https://resources.imaginit.com/manufacturing-solutions-blog

Message 4 of 6

Anonymous
Not applicable

Hi Mark,

 

I indeed want to generate all the geometries at once and save each of them as different part file to import CFD. I understand from your saying that I should be using iLogic for that many file than iPart. I don't know how to use any of them but will learn the one which is better solution for me. Additionally, I am already using Autodesk CFD 2017. However our company have switched to Autodesk softwares recently, so I am kinda new to Autodesk CFD as well. I searched knowledge and forum for parametric study in CFD but could not find any good source. I know this is Inventor forum but If you can recommend one, I will be appreciated. 

 

 

Many thanks

 

0 Likes
Message 5 of 6

mflayler
Advisor
Advisor

You might have to go at this a different way.

 

I just looked deeper into Autodesk CFD and I don't think there is a parametric analysis tool in there.

 

Even if you generated all the 1000s of models you need you will have to run each one separate. 

 

It would be best just to use one model that you change the parameters on (standard Inventor adjustment through parameter interface) and use the CFD tools built into Inventor when you have Autodesk CFD installed.  That will pass the model over to CFD after each design change and you won't have to setup the experiment each time from scratch.

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

Mark Flayler - Engagement Engineer

IMAGINiT Manufacturing Solutions Blog: https://resources.imaginit.com/manufacturing-solutions-blog

0 Likes
Message 6 of 6

Anonymous
Not applicable
Hi Kenny,

I quickly looked at iPart. Excel thing is nice. If there will be no problem to generate about 1000 part with this method, It will be perfect solution. I will try as soon as possible.

Many thanks.
0 Likes