Return to Statement


Offset Cylindrical Centerline Example 2

Creating offset cylindrical centerlines using offset point.

   $$
$$ Declarations
$$
NUMBER/A,B
ENTITY/OBJARR(2),COBJ1,COBJ2,COBJD3
$$
$$ Define variables
$$
A = -20.0
B = -5.0
$$
$$ Geometry Definitions
$$
OBJARR(1) = POINT/0.0+A,-2.0+B
OBJARR(2) = CIRCLE/3.0+A,-8.0+B,.65
COBJ1 = CIRCLE/0.0+A,0.0+B,1
COBJ2 = CIRCLE/10.0+A,5.0+B,0.5
COBJD3 = CIRCLE/1.0+A,-6.0+B,0.35
$$
$$ Offset Cylindrical Centerline Definition -
$$ using OFFPT (offset by point),
$$ and using arc objects
$$
CLINE/OFFCYL,OFFPT,COBJD3,COBJ1,COBJ2
$$
$$ Offset Cylindrical Centerline Definition -
$$ using OFFPT (offset by point),
$$ and using an array (point and arc objects)
$$
CLINE/OFFCYL,OFFPT,COBJD3,OBJARR
$$
$$ Program continues
$$
.
.
.