Curves

Line

Component Code – Line

Parameter Groups – As shown below

Linept (point+tangent)

Qty has been chosen as 2 and onright1 parameter has been formulated to have different values for each instance.

TanCurve1 is a string parameter which needs to evaluate into a circular entity.

C1 is a circle centred at (0,0) and with a radius of 20.

Linepper (point+perpendicular)

L2p is a previously created line.

Line2t (tangent+tangent)

TanCurve1 and TanCurve2 are string parameters which need to evaluate into circular entity.

Circles Not Intersecting Case 2

If two circles don’t intersect and one circle is completely constrained inside the other, no tangent is possible.

Polyline

Code – Pline

Parameters – Pointlist, Bulgelist, Closed

Pointlist is the list of points

Bulgelist is the list of bulges. If the bulgelist parameter contains less items than pointlist, bulge is automatically taken as 0 for the remaining vertices.

Closed – If closed is set to 1 the polyline is closed.

Circle

Component Code – Circle

Parameter Groups – As shown below

Circle ttt (Tan tan tan)

Currently not implemented.

Ellipse (centre,majorLen,minorLen)

Component Code – Ellipse

Arc

Component Code – Arc

It is notable here that arc component is always drawn in anticlockwise direction.

Parameter Groups – As shown below

Arc 2ptan (2 points + Tangent)

Point1 needs to be on the curve identified in tancurve1 parameter.

Arc 2ptan (2 points + Perpendicular)

Point1 needs to be on the curve identified in perpento parameter.

Arc pclen (Centre + Point + Length)

Component Code = Hatch

Curvelist = list of curves which define a boundary.

Any one of Gradient or Pattern should be used.

Pattern = Name of any of the built in pattern in AutoCAD

Point

Component Code = point

Creates a point in the current component block

Used to create a reference point which can be used later in the model.

Rectangle

Component Code = rect

Parameter Groups = As shown below

Rectangle 2p (2 points), Rectangle plw (point + length + width)

SplineCurve (pointlist)

Component code - Spline

OffsetCurve (Ent1,Offset)

Component Code = OffsetCurve