|February 26, 2013, 12:16||
Create Skin from Curves by a JScript
Join Date: Feb 2013
Posts: 1Rep Power: 0
I found this forum by searching a solution for a certain problem and I hope somebody here might help.
I want to create a geometry in the DesignModeler totaly by using a JScript. I already succeeded in creating most of the parts, but I got stuck by creating a Skin from some curves, which I defined.
The part where the curves and the skin shall be created looks like this:
var myCurve = ag.gui.CreateCurve(); // Read Curves from File myCurve.FCurveDefType = 1; myCurve.CoordinateFile = "curve_file.txt"; myCurve.Name = "my_curve"; myCurve.CurveRefresh = 1; // ... and now create the skin ...
Here is what I tried (Body 8 to 12 are the line bodys):
ag.b.Regen(); var mySkin = ag.b.Skin(agc.Add, agc.Yes, 0.0, 0.0); mySkin.AddBaseObject(ag.agApplet.FeatureMgr.Body(8)); mySkin.AddBaseObject(ag.agApplet.FeatureMgr.Body(9)); mySkin.AddBaseObject(ag.agApplet.FeatureMgr.Body(10)); mySkin.AddBaseObject(ag.agApplet.FeatureMgr.Body(11)); mySkin.AddBaseObject(ag.agApplet.FeatureMgr.Body(12)); ag.b.Regen();
Thank you very much!
|Thread||Thread Starter||Forum||Replies||Last Post|
|Import point to create shapes!!!||syrous||CFX||7||February 17, 2013 17:45|
|the skin friction coefficient error from Fluent||sutthinan||Main CFD Forum||2||November 28, 2012 14:03|
|create a probe with fluent||Aenseeiht||FLUENT||3||April 29, 2010 03:27|
|Actuator disk model||audrich||FLUENT||0||September 21, 2009 07:06|
|Compute Skin friction coef by hand||Francois||FLUENT||1||February 10, 2006 07:21|