Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not understand G53 #27

Open
kaovilai opened this issue Sep 25, 2019 · 4 comments
Open

Does not understand G53 #27

kaovilai opened this issue Sep 25, 2019 · 4 comments

Comments

@kaovilai
Copy link

kaovilai commented Sep 25, 2019

Here's a sample snippet

O00060
N1 (G71 TYPE I O.D. ROUGHING)
G53 G00 X0. Z0. T0
T101 (O.D. TOOL . x .031 TNR)
G50 S3200
G97 S500 M03
G54 G00 X3.2 Z0.1 M08
G96 S420
Z0.005
G01 X-0.063 F.008
G00 X3.2 Z0.1
G71 P10 Q20 U0.01 W0.005 D0.12 F0.01
N10 G00 G42 X1.4
G01 Z0. F0.006
X1.5
G03 X1.75 Z-0.125 R0.125
G01 Z-2.5
G02 X2.25 Z-2.75 R0.25
G01 X2.5
G03 X3.0 Z-3.0 R0.25
G01 Z-4.125 F.004
N20 G40 X3.2 F.02
G97 S500 M09
G53 G00 X0. Z0. T0
M01
@nraynaud
Copy link
Owner

you are right, G53 should be here: https://github.com/nraynaud/webgcode/blob/gh-pages/webapp/cnc/gcode/parser.js#L55

The issue is that I have no concept of machine in the simulator, so machine origin is a sketchy thing.

@SlawomirUrbaniak
Copy link

Hello !
My congratulations and admiration - Super work this CNC Simulator
Nowadays, pandemics are a great tool for students
For distance learning, it's great because it doesn't require installation, which often causes problems for students of mechanical technical secondary school :-)

@nraynaud
Copy link
Owner

thank you.

@SlawomirUrbaniak
Copy link

Hi,
I have a question :
it would be a lot of work to add G18 as a CNC lathe
In this case, the value of the X axis would be divided into 2
And the 2D simulation window layout would change from G17 to G18 ...
I know this requires work but it would help students to better understand CNC lathe programming ...
Technical teacher at a high school in Poland :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants