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

[CNC] Tuto gcode 2D from inkscape #37

Open
nicolasdb opened this issue Oct 24, 2022 · 4 comments
Open

[CNC] Tuto gcode 2D from inkscape #37

nicolasdb opened this issue Oct 24, 2022 · 4 comments

Comments

@nicolasdb
Copy link
Member

nicolasdb commented Oct 24, 2022

Celle ci était due depuis très longtemps.

quelques ressources:
https://cncphilosophy.com/inkscape-g-code-tutorial/
https://fedoramagazine.org/make-more-with-inkscape-g-code-tools/

@nicolasdb nicolasdb created this issue from a note in MiniCNC reboot (In progress) Oct 24, 2022
@nicolasdb nicolasdb self-assigned this Oct 24, 2022
@nicolasdb
Copy link
Member Author

nicolasdb commented Oct 24, 2022

The most widespread language for programming CAM machines is G-Code.

The commands go, in the truest sense of the word, from A (absolute or incremental position around the X-axis; turning around X) to Z (absolute or incrementing in the direction of the Z-axis). Commands prefixed with M (miscellaneous) transmit other instructions to the machine. Switching coolant on/off is an example of an M command.

G pour GO, commande les déplacements.
M pour Machine, commande les actions machines comme allumer ou éteindre le "spindle"

pour les curieux, G-Code Commenter :
image

This small example would mill a square

@nicolasdb
Copy link
Member Author

Gravure V

image

à tester
https://www.scorchworks.com/Fengrave/fengrave.html

@nicolasdb
Copy link
Member Author

  1. la définition du système de coordonnée XYZ
    image
    image

  2. définition du "tool", aka la mèche
    diamètre, vitesse, profondeur de passe, etc...
    image

  3. création des opérations
    image

  4. export Gcode

%
(Header)
(Generated by gcodetools from Inkscape.)
(Using default header. To add your own header create file "header" in the output dir.)
M3
(Header end.)
G21 (All units in mm)

(Start cutting path id: path705)
(Change tool to Cylindrical cutter)
M3 S12000
G00 Z5.000000
G00 X68.298689 Y53.328423

G01 Z-1.000000 F1000.0(Penetrate)
G01 X58.839471 Y48.702004 Z-1.000000 F1500.000000
G01 X49.380250 Y44.075588 Z-1.000000
G01 X40.644044 Y49.954304 Z-1.000000
G01 X31.907841 Y55.833021 Z-1.000000
G01 X32.630855 Y66.338155 Z-1.000000
G01 X33.353872 Y76.843287 Z-1.000000
G01 X42.813092 Y81.469705 Z-1.000000
G01 X52.272311 Y86.096120 Z-1.000000
G01 X61.008517 Y80.217405 Z-1.000000
G01 X69.744719 Y74.338688 Z-1.000000
G01 X69.021707 Y63.833553 Z-1.000000
G01 X68.298689 Y53.328423 Z-1.000000
G00 Z5.000000

(End cutting path id: path705)
%

@nicolasdb
Copy link
Member Author

alternative avec KIRI:MOTO

image

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
MiniCNC reboot
  
In progress
Development

No branches or pull requests

1 participant