Switch from .dxf to .gcode

To mill your first part, usually we start from a “.dxf” file, either downloaded or created by your favorite CAD software.

This DXF is a drawing called “vector”, to make it simple and short, what differentiates it from a jpeg for example is that it contains information, for example, such hole is in such a place and of such diameter, this line at such place measures so many millimeters …

It’s all well and good, but our machine does not recognize this DXF! Indeed, it is not machine language, it must be transformed into machine language, in .gcode.

The G-code him, is a script that has each line gives an order to the machine for example X and Y go to such position at such speed …

To do this we need a G-code generator software, for example:

  • Estlcam ,really cheap and the trial version is unlimited, just a countdown before the generation of the g-code to encourage us to buy and above all, it is HYPER easy to use, top to start without getting lost in the options.
  • Fusion 360, complete, it allows to create its 2D and 3D files as well as generate G-code for 3D and CNC printers

I will not do a tutorial on these programs, you will find many on internet.

Whatever your G-code generation software, check the G-code start and End G-code options which must contain the spindle start / stop commands that control the relay (M3 at start G-code for start the spindle) (M5 end G-code to turn off the spindle) On Estlcam it is already set to original.

Now that we have our .gcode file, we put it on the SD card and then in the TFT SD drive.

First use of the RS-CNC

  • Fix your “raw” (your material to mill) on a “martyr” (plate generally in soft wood that one puts between the plate and our workpiece to spare our beautiful tray!)
  • The workpiece is tightened so that it does not move with the help of clamps, and it is checked whether during the machining path there is not a given moment when a clamp will end up on the way of the end mill … yes it would be sad ^^
  • Mount a end mill adapted to the material, and of the same diameter that had been entered in the g-code generation software.
  • Put the end mill at the “point of origin”, at the starting point of the program, it must correspond to the point of origin that there was in your software of generation of G-code, in general it is bottom left on the software, so to you left on the part to be milled. So move the axes using the Nunchuk if you have big trips to make, when you are very close to the point of origin, finish by hand, once you are good in X and Y, get off Z to the raz From the workpiece you can use cigarette paper to be precise.
  • Now that our end mill is at the starting point, reset the axes by pressing the reset button or by pressing the “Set 0 all axis” icon in the “more” section of the TFT .
  • We check that the switch on the spindle is “on” (but does not turn because it is the relay of the shield that will start at the launch of the job).
  • We choose its program file on the TFT in the “Mill” section, we validate, and go, we see the spindle start and the job start.
  • At the end of the program, X and Y return to the starting point and the spindle stops

Precautions to be taken at each machining

  • Wear protective goggles and especially a dust mask during machining and cleaning of the machine, think that MDF dust and carbon are very toxic.
  • After each use, vacuum with a vacuum cleaner dedicated to the garage (not that of your bedroom) and blow a blow on the belts, pulleys, threaded rods, motors, TFT, chains cables cables … (keep the dust mask)
  • If you have children, remove the power cord
  • The machine must remain under supervision during machining.
  • Of course I am not responsible for any physical or material damage!


  • Check the correct tension of the belts and the perpendicularity of X/Y
  • Check for dust on the electronics
  • Check that the height of the tray is always set correctly

The tutorial is finished!

For any technical questions, do not hesitate to register on the forum. (there is an english international section)

The tutorial is evolutive and will expand over the most asked questions;)

Don’t hesitate to report me my English mistakes ! I did my best but i now that i have to learn more !

For all other non-technical questions, you can contact me at

15 thoughts on “Use RS-CNC”

  1. Hello Romain, I understand that the SD card can be used to inject the GCODE but is it possible to use other software like Mach 3 and equivalent?

    I’m also thinking about trying to get an octopi and see if this would be compatible with the RS-CNC firmware. I’m already using it for my 3D printer and like the monitoring aspect. I understand that octoprint is dedicated to 3D printing so a few screens won’t make sense for the CNC (like the temperature tab). Any thought?


    1. Hi Marcelo,
      The level of the tray is adjustable thanks to 6 wheels on the sides. it is impossible to do a self-leveling on a CNC, because unlike a 3D printer where the nozzle is always at the same level, every time we put a new mill it will never be at the same height, and the same for the material to be machined !

  2. Bonjour Romain,
    Tout d’abord tout mes meilleurs voeux pour l’année qui commence et bravo pour touts ces réalisations partagées.
    Je suis entrain de faire la RS-CNC et je me demande si un logiciel comme GALAAD ou NINOS pourrai encoder et piloter cette cette machine(je suis complètement débutant).

    1. Bonjour Gerard,
      Je ne connais pas les logiciels cités, il y en a tellement qu’o peut pas tous les connaitre !
      Comme tu es débutant il vaut mieux que tu suives le tuto à la lettre, et puis une fois que tu maitriseras les outils proposés, tu pourras tester des nouveautés.

      1. Bonjour Romain,
        C’est ce que je pensais faire pour débuter.
        Mais connais tu un logiciel(j’affectionne le FRANCAIS) genre FUSION360 qui soit capable de piloter cette machine?
        GALAAD est en français et possède des machines préconfigurés et aussi la possibilité d’en créer une mais là quelles instructions rentrer… .Si tu as le temps de jeter un œil et de me dire ce que tu en penses, Voici le lien:

        1. Je ne pourrais pas te renseigner sur des logiciels autres que ceux que j’utilise comme Estlcam et fusion 360, le mieux est d’ouvrir un post sur le forum afin que plusieurs personnes puissent te répondre.

  3. Bonjour et merci beaucoup pour tout ce travail.
    J’attends la fin de livraison de Chine et j’attaque le montage.
    Je me posais la question du montage d’un laser.
    A tu déjà quelque chose de fait ou en prévoyance à ce sujet ? Ce ne doit pas être très different d’une fraise mise à part le z qui ne bouge pratiquement pas.
    Merci encore

Leave a Reply