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

face.py dimensions issue #12

Open
yeyeto2788 opened this issue Feb 11, 2020 · 0 comments
Open

face.py dimensions issue #12

yeyeto2788 opened this issue Feb 11, 2020 · 0 comments

Comments

@yeyeto2788
Copy link

Hey!

First of all, awesome set of tools!

I'm not an expert on Gcode nor CNC but I wanted to make the surface of my CNC with the face.py. It seems like it's adding the tool diameter to the whole perimeter so if my board is 50x70 I'll end up flattening a surface of 53.2x73.2 which s caused by (50 + (1.5 + 0.1 forward) + (1.5 + 0.1 backwards)) x (70 + (1.5 + 0.1 left) + (1.5 + 0.1 right)).

Is this correct? or the final code generated should go 0 to the max perimeter given?

Input on the GUI:
image

The ouput generated:

G21 S9000 M3 F200
G0 X-1.6000 Y0.7500
Z1.0000
G1 Z-1.0000
G1 X51.6000
G0 Y0.0000
G1 X-1.6000
G0 Y-0.7500
G1 X51.6000
G0 Y-1.5000
G1 X-1.6000
G0 Y-2.2500
G1 X51.6000
G0 Y-3.0000
G1 X-1.6000
G0 Y-3.7500
G1 X51.6000
G0 Y-4.5000
G1 X-1.6000
G0 Y-5.2500
G1 X51.6000
G0 Y-6.0000
G1 X-1.6000
G0 Y-6.7500
G1 X51.6000
G0 Y-7.5000
G1 X-1.6000
G0 Y-8.2500
G1 X51.6000
G0 Y-9.0000
G1 X-1.6000
G0 Y-9.7500
G1 X51.6000
G0 Y-10.5000
G1 X-1.6000
G0 Y-11.2500
G1 X51.6000
G0 Y-12.0000
G1 X-1.6000
G0 Y-12.7500
G1 X51.6000
G0 Y-13.5000
G1 X-1.6000
G0 Y-14.2500
G1 X51.6000
G0 Y-15.0000
G1 X-1.6000
G0 Y-15.7500
G1 X51.6000
G0 Y-16.5000
G1 X-1.6000
G0 Y-17.2500
G1 X51.6000
G0 Y-18.0000
G1 X-1.6000
G0 Y-18.7500
G1 X51.6000
G0 Y-19.5000
G1 X-1.6000
G0 Y-20.2500
G1 X51.6000
G0 Y-21.0000
G1 X-1.6000
G0 Y-21.7500
G1 X51.6000
G0 Y-22.5000
G1 X-1.6000
G0 Y-23.2500
G1 X51.6000
G0 Y-24.0000
G1 X-1.6000
G0 Y-24.7500
G1 X51.6000
G0 Y-25.5000
G1 X-1.6000
G0 Y-26.2500
G1 X51.6000
G0 Y-27.0000
G1 X-1.6000
G0 Y-27.7500
G1 X51.6000
G0 Y-28.5000
G1 X-1.6000
G0 Y-29.2500
G1 X51.6000
G0 Y-30.0000
G1 X-1.6000
G0 Y-30.7500
G1 X51.6000
G0 Y-31.5000
G1 X-1.6000
G0 Y-32.2500
G1 X51.6000
G0 Y-33.0000
G1 X-1.6000
G0 Y-33.7500
G1 X51.6000
G0 Y-34.5000
G1 X-1.6000
G0 Y-35.2500
G1 X51.6000
G0 Y-36.0000
G1 X-1.6000
G0 Y-36.7500
G1 X51.6000
G0 Y-37.5000
G1 X-1.6000
G0 Y-38.2500
G1 X51.6000
G0 Y-39.0000
G1 X-1.6000
G0 Y-39.7500
G1 X51.6000
G0 Y-40.5000
G1 X-1.6000
G0 Y-41.2500
G1 X51.6000
G0 Y-42.0000
G1 X-1.6000
G0 Y-42.7500
G1 X51.6000
G0 Y-43.5000
G1 X-1.6000
G0 Y-44.2500
G1 X51.6000
G0 Y-45.0000
G1 X-1.6000
G0 Y-45.7500
G1 X51.6000
G0 Y-46.5000
G1 X-1.6000
G0 Y-47.2500
G1 X51.6000
G0 Y-48.0000
G1 X-1.6000
G0 Y-48.7500
G1 X51.6000
G0 Y-49.5000
G1 X-1.6000
G0 Y-50.2500
G1 X51.6000
G0 Y-51.0000
G1 X-1.6000
G0 Y-51.7500
G1 X51.6000
G0 Y-52.5000
G1 X-1.6000
G0 Y-53.2500
G1 X51.6000
G0 Y-54.0000
G1 X-1.6000
G0 Y-54.7500
G1 X51.6000
G0 Y-55.5000
G1 X-1.6000
G0 Y-56.2500
G1 X51.6000
G0 Y-57.0000
G1 X-1.6000
G0 Y-57.7500
G1 X51.6000
G0 Y-58.5000
G1 X-1.6000
G0 Y-59.2500
G1 X51.6000
G0 Y-60.0000
G1 X-1.6000
G0 Y-60.7500
G1 X51.6000
G0 Y-61.5000
G1 X-1.6000
G0 Y-62.2500
G1 X51.6000
G0 Y-63.0000
G1 X-1.6000
G0 Y-63.7500
G1 X51.6000
G0 Y-64.5000
G1 X-1.6000
G0 Y-65.2500
G1 X51.6000
G0 Y-66.0000
G1 X-1.6000
G0 Y-66.7500
G1 X51.6000
G0 Y-67.5000
G1 X-1.6000
G0 Y-68.2500
G1 X51.6000
G0 Y-69.0000
G1 X-1.6000
G0 Z1.0000
M5
G0 X0.0000 Y0.0000
M2 (End of File)
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

1 participant