-
Notifications
You must be signed in to change notification settings - Fork 18
Prerequisites
Gilles Bouissac edited this page Jan 23, 2021
·
11 revisions
What is needed to use agentscad library:
- Install OpenSCAD
- Install libraries (see below)
- Create a new file in OpenSCAD and begin using APIs.
Libraries listed above must be installed in:
- Windows: My Documents\OpenSCAD\libraries
- Linux: $HOME/.local/share/OpenSCAD/libraries
- Mac OS X: $HOME/Documents/OpenSCAD/libraries
The folder libraries
might not exist you have to create it yourself.
Download as ZIP and unzip (or git clone) in libraries
folder:
- https://github.com/openscad/scad-utils
- https://github.com/openscad/list-comprehension-demos
- https://github.com/GillesBouissac/agentscad
Note: The ZIP files contains the branch name (ie: master), this folder must be removed before install.
The result should be:
%USERPROFILE%
\__Documents
\__ OpenSCAD
\__ libraries
\__ agentscad
\__ list-comprehension-demos
\__ scad-utils
Working with canvas library needs grayscale images as input, This tool can be used to generate them from pictures: img2gray.
This is a python script that use opencv graphic library:
- Install python
- Then install opencv from a shell:
pip install opencv-python