Vpype
Vpype really is a versitile tool to generate, optimize, transform and exporting vector graphics. It is a command line tool written in Python, so you do need some technical knowledge to use it.
Installation
Although there is an installation guide for vpype, doing installs for a Python project can be a bit tricky. So we will go through the steps here and ajust them for our needs.
Homebrew
Install Homebrew, we will use this to install other tools.
Check which python version you currently have installed.
This should be 3.12. Vpype doesn’t work with python 3.13 at the time of writing. If you do have Python 3.12 installed, you could skip the pyenv install part, but it is recommended to use pyenv to manage your python versions anyhow.
Don’t worry if you have got an error, we will install python 3.12 with pyenv.
Python version manager
install pyenv with homebrew
Reboot your terminal, you can do this with the following command or simply close and re-open your terminal.
Install python 3.12 with pyenv
Don’t forget to set up your shell environment for pyenv. For zsh, this is done by running the following lines:
Reboot/reload your terminal. Check if the installation went well by running the following command. This should return a version number starting with 3.12
optionally: set the global python version to 3.12
Pipx
Pipx is a tool that allows you to install Python applications in isolated environments. This wil make the vpype
command available in your terminal.
We will install this via homebrew.
Vpype
Now we can install vpype with pipx, we will specify to use python 3.12 for this
Vpype should now be installed and ready to use. You may check that it is fully functional by having a look at its version or displaying some random lines:
Plugins
If you got vpype working, then you can install some plugins. In this tutorial, we will install the embroidery plugin.
As stated in the documentation of the plugin, you can try this out by running the following command: