# Alphacam Basics – Ellipse – lesson 10

## Ellipse in Alphacam

Using Special Geometries we can easily draw an ellipse.

After selecting this option window will appear.

Width and height parameters:

Width is a value of the ellipse in X axis, Height is a value of the ellipse in Y axis.

Number of quadrants (1 – 4):

Number of Arcs per Quadrant – you can specify how many Arcs are used for each quadrant, the default is four, but this can be changed to any amount you would like to have.

Each Arc that is used will require an additional block of NC Code to be machined.

See an example:

And the NC code with one arc only:

`:0000`

N10 (CADCAMLESSONS.COM)

N20 G90 G71

N30 G40 G80

'(OP 1 FINISH PASS TOOL 3 FLAT - 10MM)

'(EFFECTIVE DIAMETER 10)

N40 T0303 M03 'Select tool and offset

N50 S23900 H03 M06 'Next tool is 00, Next XY is 150., 0.

N60 G0 X150. Y0.

N70 G43 Z25. H03 M09

N80 Z5.

N90 G1 Z-5. F4800

N100 G3 X95.774 Y195.774 **R380.516** F9600 (*One arc only*)

N110 X0. Y250. R111.69

N120 G0 Z25.

N130 M09

N140 M30

%

And the NC code with four arcs:

` :0000`

N10 (CADCAMLESSONS.COM)

N20 G90 G71

N30 G40 G80

'(OP 1 FINISH PASS TOOL 3 FLAT - 10MM)

'(EFFECTIVE DIAMETER 10)

N40 T0303 M03 'Select tool and offset

N50 S23900 H03 M06 'Next tool is 00, Next XY is 150., 0.

N60 G0 X150. Y0.

N70 G43 Z25. H03 M09

N80 Z5.

N90 G1 Z-5. F4800

N100 G3 X137.74 Y100.158 **R415.263** F9600 (Four arcs)

N110 X106.066 Y176.777 **R280.343**

N120 X52.813 Y233.541 **R184.032**

N130 X0. Y250. **R92.96**

N140 G0 Z25.

N150 M09

N160 M30

%

And the NC code with 8 arcs:

` :0000`

N10 (CADCAMLESSONS.COM)

N20 G90 G71

N30 G40 G80

'(OP 1 FINISH PASS TOOL 3 FLAT - 10MM)

'(EFFECTIVE DIAMETER 10)

N40 T0303 M03 'Select tool and offset

N50 S23900 H03 M06 'Next tool is 00, Next XY is 150., 0.

N60 G0 X150. Y0.

N70 G43 Z25. H03 M09

N80 Z5.

N90 G1 Z-5. F4800

N100 G3 X147.064 Y49.369 **R416.592** F9600 (Eight arcs)

N110 X138.582 Y95.671 **R377.408**

N120 X124.145 Y140.365 **R341.375**

N130 X106.066 Y176.777 **R255.734**

N140 X82.093 Y209.242 **R211.32**

N150 X57.403 Y230.97 **R140.346**

N160 X28.408 Y245.414 **R114.403**

N170 X0. Y250. **R90.275**

N180 G0 Z25.

N190 M09

N200 M30

%

Rotation angle sets the rotation of the X and Y axes of the ellipse in degrees. This value will rotate the ellipse in a Counter Clockwise direction.

Please see the video on YouTube