SolidCode / SolidPython

A python frontend for solid modelling that compiles to OpenSCAD
1.11k stars 173 forks source link

added threshold to numpy array2string() #102

Closed nickc92 closed 5 years ago

nickc92 commented 5 years ago

I ran into trouble when I generated openscad code from a large Polyhedron object which had many vertices contained in a numpy array. It turns out that the ndarray.array2string() method that SolidPython was using truncates the string output at some arbitrary point by default. I just added a parameter to the array2string() call to increase this limit to a large value.

etjones commented 5 years ago

Right on! Merged