Exception: NaN

Get 3D Printing support, tips and tricks for SketchUp

Moderators: d12dozr, dukejazz

Exception: NaN

Postby SKYWAYS128 » Sat Jan 03, 2015 9:58 am

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.
0

SKYWAYS128 
 

Re: Exception: NaN

Postby cotty » Sat Jan 03, 2015 10:41 am

STL is a text file, maybe you can search in it for NAN to see if it is in there before the SU import?
0
User avatar
cotty 
Top SketchUcator
 

Re: Exception: NaN

Postby Jim » Sat Jan 03, 2015 10:58 am

NaN in Ruby and some other languages means "Not a Number"

http://stackoverflow.com/questions/1915 ... l-with-nan


@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?
0
Hi

Jim 
Global Moderator
 

Re: Exception: NaN

Postby SKYWAYS128 » Sat Jan 03, 2015 1:02 pm

Thanks for the quick replies guys!

Jim wrote:NaN in Ruby and some other languages means "Not a Number"

http://stackoverflow.com/questions/1915 ... l-with-nan


@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. :P

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.
0

SKYWAYS128 
 

Re: Exception: NaN

Postby pilou » Sat Jan 03, 2015 1:28 pm

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!
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: Exception: NaN

Postby Jim » Sat Jan 03, 2015 10:16 pm

I'd still like to test the file that was giving you an error, if you can manage it.
0
Hi

Jim 
Global Moderator
 

Re: Exception: NaN

Postby SKYWAYS128 » Sun Jan 04, 2015 3:15 am

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.
0

SKYWAYS128 
 

Re: Exception: NaN

Postby Jim » Sun Jan 04, 2015 9:47 am

SKYWAYS128 wrote:@ 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.
0
Hi

Jim 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchUp for 3D Printing

Who is online

Users browsing this forum: No registered users and 1 guest

Visit our sponsors: