fogleman / sdf

Simple SDF mesh generation in Python
MIT License
1.61k stars 132 forks source link

stl.py:9: RuntimeWarning: invalid value encountered in true_divide #33

Open FieldsYeh opened 2 years ago

FieldsYeh commented 2 years ago

from sdf import *

f = sphere(1) & box(1.5)

c = cylinder(0.5) f -= c.orient(X) | c.orient(Y) | c.orient(Z)

f.save('out.stl', step=0.002)

Encounter divide problem when step=0.002 or 0.001