What's new
What's new

Easy way to program hexagon

GordonBM

Plastic
Joined
Nov 10, 2017
Hello there,

Is there an easy way to calculate/program a hexagon.
Like for example I need to program a hexagon for a piece and the plans only says "for 16mm wrench".

Thanks.
 
Lots of easy ways.
Are you looking for corner to corner dimensions? The machinery handbook has a nice section on Chord dimensions and formulas, and also some standard sizes of hexes already dimensioned out.
 
Draw it up frist. Drill the corners, drill then plunge an end mill just shy of finish depth. Write the code for finish shape then call it as a sub at whatever depth of cut you want to take.

Brent
 
Figure corner dims for a 1 mm (0.5 radius) hexagon with flats aligned with Y axis, and again with flats aligned with X axis. Save a sketch where you can easily find it.

Now you can solve for any width by multiplying each coordinate by the wrench flat dim. Saves looking in a trig book.
 
Hello there,

Is there an easy way to calculate/program a hexagon.
Like for example I need to program a hexagon for a piece and the plans only says "for 16mm wrench".

Thanks.

What control are you using? Some like the Okuma offer cycles to do this very thing.
 
C Axis, driven tooling on Emco lathe.


; TRANSMIT MILLING 1
; 18MM A/F HEXAGON
G54
TRANS Z40
REF
SPOS[1]=0
TMCON
T11 D2
SETMS(2)
M2=3 S2=1500
G00 X31 Y0 Z1 M08
G01 G94 Z-5 F200
G41 X10.386 Y9
X10.386 Y0
X5.193 Y-9
X-5.193 Y-9
X-10.386 Y0
X-5.193 Y9
X5.193 Y9
X10.386 Y0
X10.386 Y-9
G00 Z10
G40 X31
TMCOFF
REF
M30 M32


EDIT -

The "REF" Sub Program moves turret back to safe position at beginning and end of program.



; REFERENCE PROGRAM
DIAMON
G00 G40 G71 G90 G95 G97 M09
G00 G53 X100. Z300. D0
SETMS(1)
M05
M01
RET
 
Wow, lots of replies :D
I meant an external hexagon.
I'm on a Mazak using Mazatrol Nexus 2.
I assume it's best to use corner to corner x-y coordinates.
But I'm sure there must be a simpler way, no?
I mean, we bought a 300k machine, there must be a way to easily program a hexagon??
 
Figure corner dims for a 1 mm (0.5 radius) hexagon with flats aligned with Y axis, and again with flats aligned with X axis. Save a sketch where you can easily find it.

Now you can solve for any width by multiplying each coordinate by the wrench flat dim. Saves looking in a trig book.


That's actually a pretty good idea
 








 
Back
Top