4 axis milling

Can I use smoothie controller with 4 axis G-codes?
Thanks

Imported from wikidot

At the moment, this will require using the extruder as the 4th axis. Several people do this and it works fine.
Can you tell us a bit more about your setup and requirements ?

Cheers.

My requirements is simple: milling machine with default XYZ axis and one rotary axis, which I can use with popular CAM software, like mastercam. Setup is shown on this video: youtu[dot]be/oYdJZdeMTzE
Regards

Ok so, Smoothie has an Extruder module, which does pretty much the exact same thing as a rotary axis.

The main problem is : it listens for the E letter in Gcodes instead of the A letter.

Two solutions : edit your Gcode to change all Es with As.

OR, edit the Extruder.cpp module to replace all has_letter(‘E’) with has_letter(‘A’) and recompile.
Like here : https://github.com/Smoothieware/Smoothieware/blob/edge/src/modules/tools/extruder/Extruder.cpp#L337

Cheers.