CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[DesignModeler] How create ArcCtrEdge with points

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 28, 2018, 11:09
Post How create ArcCtrEdge with points
  #1
New Member
 
Aureliano Sancho
Join Date: May 2013
Location: Salvador-Ba-Brasil
Posts: 26
Rep Power: 13
SanchoBuendia is on a distinguished road
Hi everyone, I need create lines and arcs of circumference using points with agb.FPoint. I know how create the lines,

var PF1 = agb.FPoint(agc.FPointConstruction, agc.FPointCoordinateFile);
PF1.Name = "points";
PF1.CoordinateFile = "C:\\Users\\Administrador\\Desktop\\fractal\\R3G3P 193.txt";
agb.Regen();


function planeXYSketchesOnly (p)

{

p.Plane = agb.GetActivePlane();
p.Origin = p.Plane.GetOrigin();
p.XAxis = p.Plane.GetXAxis();
p.YAxis = p.Plane.GetYAxis();

p.Sk1 = p.Plane.newSketch();
p.Sk1.Name = "fractal";

with (p.Sk1)
{
var numID = 2
var LF1 = agb.LinePt();
LF1.Name = "pontos";
LF1.Operation = agc.Frozen;

var i;
for (i = 1; i < numID; i++)
{
LF1.AddSegment(PF1.GetPoint(1, i),PF1.GetPoint(1, (i + 1)));

LF2.AddSegment(0,0,PF1.GetPoint(1, i),PF1.GetPoint(1, (i + 1))); // ArcCtrEdge
}
}

But I don't know how create the segment for Arc. Thanks!
SanchoBuendia is offline   Reply With Quote

Reply

Tags
api script, arcctredge, design modeler, points

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create sampledict coordinate points moh-farmani OpenFOAM Post-Processing 0 September 11, 2015 05:51
how to create angular points in fluent(angular-rake) srikanth-aero FLUENT 1 February 21, 2011 13:25
how to create angular points in fluent(angular-rake) srikanth-aero FLUENT 1 February 18, 2011 17:02
How to create points and field files? sega OpenFOAM Post-Processing 19 July 22, 2009 04:16
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36


All times are GMT -4. The time now is 08:24.