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

[Plugin] C of G Reporter 1.3

Scheduled Pinned Locked Moved Plugins
41 Posts 8 Posters 82.0k 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.
  • B Offline
    Bertier
    last edited by 10 Oct 2010, 07:37

    Hello TIG

    tryed it, got this :

    cofgreporter
    Error: #<TypeError: C:/Program Files/Google/Google SketchUp 8/Plugins/cofgreporter.rb:81:in +': can't convert nil into String> C:/Program Files/Google/Google SketchUp 8/Plugins/cofgreporter.rb:81 C:/Program Files/Google/Google SketchUp 8/Plugins/cofgreporter.rb:81:in cofgreporter'
    (eval):0

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 10 Oct 2010, 10:29

      Bertier

      Here's v1.1 http://forums.sketchucation.com/viewtopic.php?p=278046#p278046
      The error in the error message is fixed!
      Please retry...
      To be on the safe site please ensure your file_path/skp_name contains no accented characters - SUp's Ruby is not happy with unicoded characters ๐Ÿ˜ž

      TIG

      1 Reply Last reply Reply Quote 0
      • B Offline
        Bertier
        last edited by 10 Oct 2010, 11:47

        will do now;

        thank you

        1 Reply Last reply Reply Quote 0
        • B Offline
          Bertier
          last edited by 10 Oct 2010, 12:27

          new error message :

          cofreporter
          Error: #<NameError: undefined local variable or method `cofreporter' for main:Object>
          (eval)

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 10 Oct 2010, 12:29

            @bertier said:

            new error message :
            cofreporter
            Error: #<NameError: undefined local variable or method `cofreporter' for main:Object>
            (eval)

            It's cof****g****reporter - you mistyped! ๐Ÿ˜’

            TIG

            1 Reply Last reply Reply Quote 0
            • B Offline
              Bertier
              last edited by 10 Oct 2010, 12:37

              oops...

              1 Reply Last reply Reply Quote 0
              • B Offline
                Bertier
                last edited by 10 Oct 2010, 12:40

                working but :

                CoG Report File:
                'F:\neo batitrad\Bar & Ka/console_CofG_Report.csv'
                Cannot be written - it's probably already open.
                Close it and try making the Report again...
                Exiting.
                nil

                and it's not open, cause it's not written yet !

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 10 Oct 2010, 14:36

                  @bertier said:

                  working but :
                  CoG Report File:
                  'F:\neo batitrad\Bar & Ka/console_CofG_Report.csv'
                  Cannot be written - it's probably already open.
                  Close it and try making the Report again...
                  Exiting.
                  nil
                  and it's not open, cause it's not written yet !

                  Try renaming the folder 'Bar & Ka' to 'Bar_Ka' - The '&' in the file_path might be the culprit ?
                  Also is your model SKP really called 'console.skp' ?
                  Try the version 1.2 which has more error messages, that might report what is really up...
                  http://forums.sketchucation.com/viewtopic.php?p=278046#p278046

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 10 Oct 2010, 14:37

                    Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=278046#p278046
                    with some extra error reporting to try and trap Bertier's reported cryptic error messages...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Bertier
                      last edited by 10 Oct 2010, 16:22

                      thank you TIG

                      I'll try this tonite, got to get the kids at their grand parents now.

                      where are you from ?

                      1 Reply Last reply Reply Quote 0
                      • Rich O BrienR Offline
                        Rich O Brien Moderator
                        last edited by 10 Oct 2010, 16:30

                        It's a secret but there's a clue in his profile ๐Ÿ˜‰

                        Download the free D'oh Book for SketchUp ๐Ÿ“–

                        1 Reply Last reply Reply Quote 0
                        • pilouP Offline
                          pilou
                          last edited by 10 Oct 2010, 16:37

                          If accents are forbidden, that is very annoyous for French Windows System ๐Ÿ˜ฒ
                          Because there is an accent for the principal Desk and for some of path! !!! ๐Ÿ˜ฎ
                          C:\Documents and Settings\Propriรฉtaire\Bureau

                          PS I have not the use of this plug, but it's by curiosity ๐Ÿ˜„

                          Of course now I obtain nothing ๐Ÿ˜„
                          except this ๐Ÿ˜„ (i have saved my object with Cof as Untitled.skp
                          curious is the "/" and ""

                          cofgreporter
                          No such file or directory - C;\Documents and Settings\Propriรฉtaire\Bureau/Untitled_CofG_Report.csv
                          CoG Report File;
                          'C;\Documents and Settings\Propriรฉtaire\Bureau/Untitled_CofG_Report.csv'
                          Cannot be written - it's probably already open.
                          Close it and try making the Report again...
                          Exiting.
                          nil
                          

                          Edit: That works when I use a path without accent for save my file! ๐Ÿ˜Ž ๐Ÿ‘
                          cvs.png

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

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 10 Oct 2010, 17:11

                            The Unicode paradox is an annoying bit of Sketchup's Ruby - some of the 'File' functions don't work properly if there are accented characters etc in path_names etc... Sorry!
                            At least we know the cause of the problem...
                            The \ / is also from the same methods when you get the filepath on a PC it has \ separators [/ on MAC], when you join on the new file_name it's always with the as the ;joining; separator / - but it still works OK... ๐Ÿ˜’

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              Bertier
                              last edited by 10 Oct 2010, 20:05

                              there is no accent in my path ....

                              cofgreporter
                              undefined method `definition' for #Sketchup::Group:0xe005344
                              CoG Report File:
                              'F:\neo batitrad\Bar_Ka/console_CofG_Report.csv'
                              Cannot be written - it's probably already open.
                              Close it and try making the Report again...
                              Exiting.
                              nil

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by 10 Oct 2010, 20:31

                                Have you save your file SKp in the samme path?

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

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 10 Oct 2010, 22:50

                                  Bertier
                                  Did you install v1.2
                                  Although it might still fail you should get more error messages... ๐Ÿ˜•

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 10 Oct 2010, 23:01

                                    Heres's v1.3 http://forums.sketchucation.com/viewtopic.php?p=278046#p278046
                                    It corrects the glitch that a few users might get with 'group.definition' - OK if you have some of my other tools installed but not this one alone - now sorted...
                                    Please try and report back... ๐Ÿ˜•

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      Bertier
                                      last edited by 11 Oct 2010, 03:39

                                      hooray !

                                      it's working :

                                      cofgreporter
                                      CofG Report written to
                                      'F:\neo batitrad\Bar_Ka/console_CofG_Report.csv'
                                      nil

                                      nice.

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        Bertier
                                        last edited by 25 Oct 2010, 10:43

                                        for some reason, using CoG makes SU "not responding"....

                                        any clues ?

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 25 Oct 2010, 11:26

                                          @bertier said:

                                          for some reason, using CoG makes SU "not responding"....
                                          any clues ?

                                          There's a lot of intensive stuff needed to 'integrate' possibly hundreds of slices through the selected object and find their common centroids...
                                          You should get a 'count-down' 'nnn of mmm' report in the VCB and then a '...processing ......' ?
                                          It will finish eventually...

                                          TIG

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

                                          Advertisement