sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Exception: NaN

    Scheduled Pinned Locked Moved SketchUp for 3D Printing
    sketchup
    8 Posts 4 Posters 8.8k Views 4 Watching
    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

      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
      • cottyC Offline
        cotty
        last edited by

        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

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

          Just a moment...

          favicon

          (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

            Thanks for the quick replies guys!

            @jim said:

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

            Just a moment...

            favicon

            (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
            • pilouP Offline
              pilou
              last edited by

              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

                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

                  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

                    @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
                    • First post
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement