sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Trouble with running cloud v6

    Scheduled Pinned Locked Moved Developers' Forum
    18 Posts 4 Posters 1.3k 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.
    • Didier BurD Offline
      Didier Bur
      last edited by

      Hi,
      I've tried your file with all kinds of configs (units,snap...) and it works.
      Let's track the bug: open the Ruby console window, launch the script, select the points file and check for error messages in the console.
      Please post the error message if any,

      DB

      1 Reply Last reply Reply Quote 0
      • S Offline
        sean
        last edited by

        I haven't tried the script on another machine yet as I mentioned via email, but here is the error message I get...

        Error: #<TypeError: nil can't be coerced into Length>
        (eval):305:in *' (eval):305:in draw_geometry'
        (eval):302:in each' (eval):302:in draw_geometry'
        (eval):217:in `onLButtonUp'

        Thanks for your help,
        Sean

        1 Reply Last reply Reply Quote 0
        • Didier BurD Offline
          Didier Bur
          last edited by

          HI,
          OK I see where the error seems to be.
          I bet you are not using a decimal format for the units of your model ?
          If you use architectural, engineering or fractionnal, I know how to solve your problem. Please tell me what units you are using ?

          DB

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            Sounds to me like blank lines in the file returning 'nil' ?

            TIG

            1 Reply Last reply Reply Quote 0
            • S Offline
              sean
              last edited by

              I'm using engineering - feet

              1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur
                last edited by

                OK, that's what I though. Bug is localized...
                @TIG: i'll do some test on the line contents to skip blank lines or lines not giving 3 coordinates values.

                DB

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sean
                  last edited by

                  Thank you again...Happy New Year

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sean
                    last edited by

                    Hi again,
                    Were you able to find a solution to the blank lines returning nil?
                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • Didier BurD Offline
                      Didier Bur
                      last edited by

                      Hi,
                      Yes, (forgot to upload it 😳 )
                      It is here:
                      http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=15807
                      Regards,

                      DB

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sean
                        last edited by

                        I installed the updated plugin, but I still get the same error message. I also again tried the example.dat file and received the same message. I do not understand how this can be. I appreciate your patience and assistance with this. Do you have any other ideas. My business partner tried it on his machine with the same results. ???

                        1 Reply Last reply Reply Quote 0
                        • Didier BurD Offline
                          Didier Bur
                          last edited by

                          Hi,

                          @unknownuser said:

                          My business partner tried it on his machine with the same results. ???

                          So this is an evidence that either the file format is wrong, or the script settings are wrong.
                          -File format: End of line character ? true ASCII file or not ? Local settings for your decimal separator ?
                          -Script settings: separator "," set OK ?
                          -SU and model settings: what unit are youy using ? (although all possible units are supported).

                          The error message clearly points out that the unit is "nothing" (nil) for the script, or that the first coodinate (X) of the first point is nil.
                          Having tried your small data file here without problem, I wonder what is wrong. Keep searching on this, this will help me improve the script.

                          DB

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            acmejia
                            last edited by

                            Hi Didier,

                            I am getting exactly the same problem. I downloaded the latest of your cloud plugin, tried it with both example.dat and a file with three lines written with vi (to ensure it was pure ascii) that had numbers such as
                            2,3,5
                            4,6,2
                            1,2,3

                            I also tried having a decimal after the numbers
                            2.01,3.03,5.01, etc...
                            and having a space for separator.

                            I am using metric, so the decimal should not be an issue.

                            I wonder if it is a problem with SketchUp 7 on a mac? I have tried three different versions of cloud, all with different files including example.dat. Always get the same error.

                            That is too bad because I was so happy when I found your plug in, it is exactly what I need to add some actual data to my galaxy.

                            Thank you,

                            Annie

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sean
                              last edited by

                              Ah, the blank line skipping solved one issue and the other issue was the unit setting... thank you very much. Is there a way that the guide points created can retain the coordinate data in the entity info? Having the Z coordinate would help identify individual points.

                              1 Reply Last reply Reply Quote 0
                              • Didier BurD Offline
                                Didier Bur
                                last edited by

                                @unknownuser said:

                                Is there a way that the guide points created can retain the coordinate data in the entity info?

                                Nope. An attribute could be added but will be invisible in the info box, so useless.

                                DB

                                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