• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Trouble with running cloud v6

Scheduled Pinned Locked Moved Developers' Forum
18 Posts 4 Posters 1.3k 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.
  • D Offline
    Didier Bur
    last edited by 11 Dec 2008, 20:06

    Can you send the points file plz ?

    DB

    1 Reply Last reply Reply Quote 0
    • S Offline
      sean
      last edited by 11 Dec 2008, 20:51

      Thank you for your response...I'm very excited to use this incredible feature you created.
      I ran into the same error message when using the example .dat file, but here is the small data set I'm trying to use.

      1000.00,1000.00,100.00
      1034.533858,993.624808,99.908233
      1020.720428,982.411558,99.907236
      1008.103818,993.279776,99.925838
      1011.066339,1020.573923,99.90237
      1025.142238,1020.240178,99.911587
      1034.168507,1004.301509,99.602281
      1049.28164,992.438309,99.541444
      1045.509944,986.750619,99.456043
      1026.70047,971.996834,99.763639
      1003.902455,991.625541,99.571882
      1007.982376,1028.739687,99.666664
      1024.432458,1050.097662,101.08374
      1044.260472,1014.620852,101.148239
      1064.304085,989.450915,101.134275
      1079.332153,962.002696,100.848243
      1089.645222,941.189346,100.311875
      1020.982456,939.44901,98.610087
      1013.527321,935.298514,98.521132
      1018.486816,899.700558,98.677255
      1001.102321,897.400163,98.231402
      984.432916,896.728852,98.107135
      1013.757308,953.249984,99.526756
      1005.008462,952.87954,98.928571
      995.625189,962.906458,98.894178
      986.649516,987.386594,99.09342
      981.788023,1001.037428,99.443114
      959.804897,989.74568,98.319992
      959.488753,1000.564305,98.169664
      947.677744,1015.109188,97.876915
      976.468725,1009.732542,99.219763
      989.188118,1008.351768,99.36926
      990.631648,1020.834722,99.261697
      981.915963,1031.09749,98.907372
      1009.786845,1047.904131,99.426804
      997.308417,1042.619927,98.771507
      989.36968,1012.376475,99.747738
      1005.956756,1010.464277,99.839573

      1 Reply Last reply Reply Quote 0
      • S Offline
        sean
        last edited by 11 Dec 2008, 20:54

        I can also attach the file in an email to the address you provided in the cloud instructions pdf if that is a working address. cheers

        1 Reply Last reply Reply Quote 0
        • D Offline
          Didier Bur
          last edited by 16 Dec 2008, 08:44

          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 22 Dec 2008, 21:45

            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
            • D Offline
              Didier Bur
              last edited by 23 Dec 2008, 16:47

              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
              • T Offline
                TIG Moderator
                last edited by 23 Dec 2008, 17:51

                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 23 Dec 2008, 19:03

                  I'm using engineering - feet

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Didier Bur
                    last edited by 23 Dec 2008, 22:58

                    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 1 Jan 2009, 07:10

                      Thank you again...Happy New Year

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sean
                        last edited by 16 Jan 2009, 18:56

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

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          Didier Bur
                          last edited by 16 Jan 2009, 20:09

                          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 16 Jan 2009, 22:07

                            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
                            • D Offline
                              Didier Bur
                              last edited by 17 Jan 2009, 13:25

                              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 9 Feb 2009, 20:50

                                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 13 Feb 2009, 19:36

                                  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
                                  • D Offline
                                    Didier Bur
                                    last edited by 13 Feb 2009, 19:52

                                    @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