• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Exception: NaN

Scheduled Pinned Locked Moved SketchUp for 3D Printing
sketchup
8 Posts 4 Posters 8.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    SKYWAYS128
    last edited by 3 Jan 2015, 08:58

    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.

    1 Reply Last reply Reply Quote 0
    • C Offline
      cotty
      last edited by 3 Jan 2015, 09:41

      STL is a text file, maybe you can search in it for NAN to see if it is in there before the SU import?

      my SketchUp gallery

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by 3 Jan 2015, 09:58

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

        Link Preview Image
        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...

        favicon

        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?

        Hi

        1 Reply Last reply Reply Quote 0
        • S Offline
          SKYWAYS128
          last edited by 3 Jan 2015, 12:02

          Thanks for the quick replies guys!

          @jim said:

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

          Link Preview Image
          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...

          favicon

          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.

          1 Reply Last reply Reply Quote 0
          • P Offline
            pilou
            last edited by 3 Jan 2015, 12:28

            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!

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by 3 Jan 2015, 21:16

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

              Hi

              1 Reply Last reply Reply Quote 0
              • S Offline
                SKYWAYS128
                last edited by 4 Jan 2015, 02:15

                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.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 4 Jan 2015, 08:47

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

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    Last post
                  Buy SketchPlus
                  Buy SUbD
                  Buy WrapR
                  Buy eBook
                  Buy Modelur
                  Buy Vertex Tools
                  Buy SketchCuisine
                  Buy FormFonts

                  Advertisement