September 18, 2023
Description
The Multi-function Diamond Painting Containers storage system contains 2 or 4 drawers, each of which holds 48 narrow plastic bottles that contain diamond dots, beads, or other small items. The challenge is that the bottles are easy to tip over with a mistaken brush of the hand. And, if your hand-eye coordination is a bit poor like mine, that can be very frustating.
This spacer can be inserted into the bottom of the storage drawer to give an evenly-spaced grid into which to insert the bottles. Each opening is lightly tapered to ease placement of the bottles.
The ZIP file with the source contains the Python code and a requirements.txt that is used to install the necessary libraries. To set up the Python, you may follow these steps as a starting guide.
| Note that the source file has the output filenames hardcoded, so you'll need to edit them accordingly toward the bottom of the Python code. |
% virtualenv venv
created virtual environment CPython3.10.13.final.0-64 in 129ms
creator CPython3Posix(dest=/Users/marc/Desktop/3DPicts/venv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/marc/Library/Application Support/virtualenv)
added seed packages: pip==23.2.1, setuptools==68.0.0, wheel==0.41.1
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
% . venv/bin/activate
(venv) % pip3 install -r requirements.txt
Collecting viewscad (from -r requirements.txt (line 1))
… [lots of output here]
Installing collected packages: webencodings, wcwidth, pure-eval, …
Successfully installed MarkupSafe-2.1.3 anyio-4.0.0 appnope-0.1.3 argon2-cffi-23.1.0 …
(venv) % python3 ArtDotContainerSpacer.py
WARNING: $fn was assigned on line 1 but was overwritten in file tmp.scad, line 4
Geometries in cache: 9
Geometry cache size in bytes: 61656
CGAL Polyhedrons in cache: 50
CGAL cache size in bytes: 32997056
Total rendering time: 0:01:06.058
Top level object is a 3D object:
Simple: yes
Vertices: 11456
Halfedges: 39936
Edges: 19968
Halffacets: 17028
Facets: 8514
Volumes: 2
License:
Creative Commons — Attribution
6