GearHeads Corner
June 18, 2018, 11:36:57 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: chopping up code... sorry art!  (Read 154 times)
0 Members and 1 Guest are viewing this topic.
Headsmess
Newbie
*
Posts: 9


View Profile
« on: March 12, 2018, 01:27:28 AM »

at some point i had a bit of a whinge about how using the slot saw "gear shaving" option tends to make way to many back and forth A axis moves for my liking...

last night i was bored, so started chopping up some code to do what i feel is more... accurate. (no backlash!)


convenien tly, the same format allows me to cut spiral/helical gears. (probably by skipping several teeth at a time to prevent backlash issues again...) simply tilt the rotary table over and apply the relevant A move during the X feed. spirals!

so, just as an example, heres my abbreviat ed code. using sub routines. basically a mish mash of the gear cutting option from MACH3 and using relevant Y,Z, and A moves from gearotic. forgive me if i have sinned! its only a suggestio n...

yeah, i only wrote half a tooth profile, couldnt be bothered doing another 8 subroutin es... and i ignored the correct Y for zero points etc.

G0 G49 G40  G17 G80 G50 G90
M6 T1(TOOL DIA. 50)
G21 (mm)
M03 S300
G00 G64 A0.0
y0
g01 Y-3.145 f1000
a4.802
M98 P0001 Q25
a17.706
M98 P0002 Q25
a23.159
M98 P0003 Q25
a27.458
M98 P0004 Q25
a31.181
M98 P0005 Q25
a34.555
M98 P0006 Q25
a37.698
M98 P0007 Q25
a40.681
M98 P0008 Q25
X0
Y0.0
M5 M9
M30


O0001
g00 z0.208
g01 x0
x27.5
x0
G91 A-14.4
G90
M99

O0002
g00 z1.795
g01 x0
x27.5
x0
G91 A-14.4
G90
M99

O0003
g00 z2.466
g01 x0
x27.5
x0
G91 A-14.4
G90
M99

O0004
g00 z2.994
g01 x0
x27.5
x0
G91 A-14.4
G90
M99

O0005
g00 z3.452
g01 x0
x27.5
x0
G91 A-14.4
G90
M99

O0006
g00 z3.867
g01 x0
x27.5
x0
G91 A-14.4
G90
M99

O0007
g00 z4.254
g01 x0
x27.5
x0
G91 A-14.4
G90
M99

O0008
g00 z4.621
g01 x0
x27.5
x0
G91 A-14.4
G90
M99


also makes some great patterns if you change toolpath view from X to Y or Z Smiley


c'mon art, it would be great if you revised the g-code generator from gearotic to do the same thing. or something similar. then do something about shaving the elliptica l gears the same way. the main reason i paid for gearotic, the elliptica l gears, that i then cant cut by shaving!

notice... i dont even move the Y axis once other than the initial moves. no backlash issues here. full depth the whole way.

no backwards rotations of the A axis. no backlash issues again.

just back and forth with the X with subsequen t increment s on the A axis in the subroutin es, with the required Z and A movement between subroutin es.

and its about 100th the length of the original file.

i might tweak it and actually give it a go soon!

right. thats my feedback done for another year or three Smiley
Logged
ArtF
Administrator
Hero Member
*****
Posts: 4942



View Profile
« Reply #1 on: March 12, 2018, 06:59:51 AM »

Hi:

  Pretty Good! You have a point, the GCode could be done much more efficient ly than
its current tooth focus. Ive added the request to my list of things to consider. Ive been
looking at the cnc module lately as Im currently working on pocketing routines in Vexx
and consideri ng a general recode of the GCode output modules.
  I cant promise when this may occur, Ive been a bit slow on updates lately as I
investiga te certain code posabilit ies. I will say I dont see it for non circulars,
due to the way the tangenata l surface evolves over rotation, the varying pressure
angles make it near impossibl e to create a shaving GCode for them. 

   You idea is a good one though, to do it in one turn without the requisite reversals .
I will give that a higher priority than some other fixes and changes..

Art
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!