|
[Sponsors] |
[DesignModeler] How create ArcCtrEdge with points |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 28, 2018, 11:09 |
How create ArcCtrEdge with points
|
#1 |
New Member
Aureliano Sancho
Join Date: May 2013
Location: Salvador-Ba-Brasil
Posts: 26
Rep Power: 13 |
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! |
|
Tags |
api script, arcctredge, design modeler, points |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |