- Install Python (go into advanced and choose the proper options)
- Install pipx:
python3 -m pip install --user pipx
python3 -m pipx ensurepath
- Install vsketch:
pipx install vsketch
- Download the examples from here: [https://github.com/abey79/vsketch]
- Test everything out:
vsk run examples/schotter
- Save a copy of the example:
vsk save examples/schotter
- Make your own project:
vsk init my_project
- Open in IDLE (or your favorite code editor)
- Uncomment lines to make a circle
- Change size to
vsk.size("10cm","10cm")
- Play with examples, modify them, and look at the docs:
- Example:
- Change the
param
todegrees
and set to4
- Add this code
- Change the
for i in range(0, 360, self.degrees):
with vsk.pushMatrix():
vsk.rotate(i, degrees=True)
vsk.rect(-2, -2, 2, 2)
- Show Joe's example as well: [https://github.com/allhandsactive/hellojoe]
- Convert to gcode: [https://sameer.github.io/svg2gcode/]
- (default) tolerance: .002
- feedrate 5000
- (default) originX: 0
- (default) originy: 0
- (default) do not enable circular interpolation
- (default) 96 DPI
- Tool On Sequence:
; tool on
g0z0
- Tool Off sequence:
;
g0z2
- Program end sequence:
g0 x0y0
- (default)everything at the bottom unchecked
- Using the plotter
- Open the web interface with a browser. Go to [yourplotter.local]
- Try jogging the plotter
- Try homing the plotter
- Adjust z to 2. Insert a pen so it's just above the paper
- Upload a file using the upload button
- Tape down paper
- Press play button next to downloaded file