This section introduces how to generate writing/drawing G-code with a 3rd party software, like Inkscape or Adobe Illustrator.
Inkscape
Inkscape is a free and open-source vector graphics editor. With abundant plugins, you can easily edit vector images, apply greyscale processing and etc.
Before starting, make sure you have installed Inkscape V0.92.5.
3. Open Adobe Illustrator and create a new A4 page.
4. Import your SVG file.
5. Adjust image size, ensure it's within the A4 page.
6. Adjust image position, and make sure the image center position is X0 Y0.
7. Click File -> Scripts ->Export to G-code 1.1
8. Set write/draw configuration parameters:
ON Command - Pendown height, enter Rotrics Studio drawing height
G0 Z-
OFF Command - Penup height, 5-10mm higher than the pen down height
G0 Z-
❗Waring: Pen up height must be higher than pen down height, otherwise, it might damage the robot arm. If there is any problem, please power off DexArm immediately.
*Don't set the other parameters.
9. Set G-code file save directory and filename:
*add .gcode as suffix
10. Click Generate G-code.
Send G-code with Rotrics Studio
1. Open Rotrics Studio and connect with Dexarm.
2. Switch to Basic panel, click HOME to initialize DexArm.
3. Go to G-code on the right side.
4. Import the G-code and select the Pen Holder module.
5. ClickStart Sendbutton, start writing/drawing.
Send G-code with touchscreen
1. Copy the G-code file into theg-codefolder of touchscreen SD card.
2. Connect the DexArm to touchscreen with a dual type-c cable.
3. Click Basic->HOME to initialize DexArm.
4. Click SD Card, choose your G-code, and click Start to start writing/drawing.