I want to try out this elevation 3d with vents generated by Inkscape dotted-line text outset … (dots which allow vacuum-air to pass through and increase chocolate mold precision:).
Example from industrial design course slides:
The big block disc at the top left corner is also a way to ensure that a hole is created… assuming that possibly black = no volume (or … my question is how to control elevation3d so that a color provides no volume == is a hole).
svg and png counterparts below
I have got a crash with the latter png:
Python 3.7.5 (default, Apr 19 2020, 20:18:17)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gmic
gmic-py: If you do not see any text for G'MIC 'print' or 'display' commands, you could '!pip install wurlitzer' and if under an IPython environment, run the '%load_ext wurlitzer' macro. See https://github.com/myselfhimself/gmic-py/issues/64
>>> gmic.run("/home/jd/Productions/GMIC/lithophane/lithophane_with_vents.png elevation3d -0.02,10 display")
[gmic]-1./ Display image [0] = '('CImg3d':y)', from point (0,266742244,0).
[0] = '('CImg3d':y)':
size = (1,533484488,1,1) [2035 Mio of floats].
data = (67.5;73.5;109.5;103.5;51.5;100.5;-83.1803;-83.1803;0;0;-0;1;(...),1;1;1;1;1;1;1;1;1;1;1;1).
min = -83.1803, max = 524287, mean = 1478.6, std = 18961.3, coords_min = (0,6,0,0), coords_max = (0,135959176,0,0).
Killed
(the Killed
is not my killing, but G’MIC + Python crashing altogether)
Trying at 500dpi instead of 1000dpi, and using display3d instead of display, I see nothing:
My computer is very slow at displaying something.
Is there a color for 0 elevation or hole?.. I would like the black color to be boolean substracted somehow…