Exception: NaN
-
I tried exporting a model/mesh I sculpted from ZBrush to Sketchup in stl format, but encountered an error called "exception: NaN." I've never seen this before, and I've been able to import some stl models from ZBrush before this.
I haven't done anything differently that the last few times.
Also, I was able to import the mesh as an obj file, but not stl.
Thanks for any advice.
-
STL is a text file, maybe you can search in it for NAN to see if it is in there before the SU import?
-
NaN in Ruby and some other languages means "Not a Number"
ruby on rails how to deal with NaN
I have read few posts regarding NaN but did not figure out how to deal with it in Ruby on Rails. I want to check a value if it is a NaN I want to replace it with Zero(0). I tried the following lo...
Stack Overflow (stackoverflow.com)
@Frank - Are you really using SketchUp 8, have you tried the latest version of the SketchUp STL Extension, and can you share the .stl file that is causing the problem?
-
Thanks for the quick replies guys!
@jim said:
NaN in Ruby and some other languages means "Not a Number"
ruby on rails how to deal with NaN
I have read few posts regarding NaN but did not figure out how to deal with it in Ruby on Rails. I want to check a value if it is a NaN I want to replace it with Zero(0). I tried the following lo...
Stack Overflow (stackoverflow.com)
@Frank - Are you really using SketchUp 8, have you tried the latest version of the SketchUp STL Extension, and can you share the .stl file that is causing the problem?
Yeah, I'm still using Sketchup 8. I heard that Make has a different UI, and as I've just gotten the hang of ZBrush (the king of quirky UI's), I think I might lose my sanity if I had relearn Sketchup's navigations again.
BTW, I changed the STL format from binary to ASCII, and was able to import it again. Does that help with narrowing down the problem?
I could share the file, but as the model is something I'm working on for a client, I'm not sure if I'm allowed to do so. At the very least, I'll have to ask for his permission.
-
Why don't use the OBJ format from ZBrush to SKetchup?
Just use Decimation Master before if the number of polygons is too heavy!Use the OBJ import by TIG if you have the free Make!
-
I'd still like to test the file that was giving you an error, if you can manage it.
-
Again, many thanks for the replies!
@ Pilou: Thanks! I already tried importing the mesh as an obj file and it works perfectly. I was even able to decimate the mesh to about 5-7k polys without losing any details. The model should print out to about 8mm as a physical object, so the final result should still have some pretty fine detailing.
Although, I'm curious about why the stl binary format didn't work.
@ Jim: I emailed my client, but he hasn't replied yet. If he's okay with it, I'll attach the file here asap.
-
@skyways128 said:
@ Jim: I emailed my client, but he hasn't replied yet. If he's okay with it, I'll attach the file here asap.
I didn't mean to imply you should share the file here; you could PM or email it if your client is more comfortable with that.
Advertisement