How do I generate G-code from simple shapes.

Use Inskape or Impress to generate and layout shapes.
File>Export> Filetype .SVG


>Open .SVG

Touch a tool path highlight red then: CAM> Profile Operation.

Set parameters.

Calculate all

Next, go to ToolPaths. Select each one and check parameters.

Next, Export Gcode>select all>Export. Save NCFile

Rename .txt or .ngc

open in editor

find the following codes:

T codes which are tool change. delete them

add M1 at the top

Add S100 in the header for dummy spindle speed

file save as .ngc

Load to Linuxcnc