Closed ayaye closed 2 years ago
Interesting. There are two ways to handle this:
I think the second is more correct.
Ok, I propose to output some diagnostic message to console (or in *.stl?) in this case because this exception is confusing. My code was like this:
s = nullshape()
for x in range( ... ):
s += ...
to_stl( s )
Accidentally I made range empty and was very confused by this exception :)
Calling
to_stl( nullshape(), "nullshape.stl", 0.1)
causes:
python 3.7.3
installed by pip:
zencad 0.34.0 pyservoce 1.24.0 evalcache 1.13.0