sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] SCF PowerToolbar (09.Sep.2010)

    Scheduled Pinned Locked Moved Plugins
    76 Posts 36 Posters 76.3k Views 36 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.
    • H Offline
      haroldcampbell
      last edited by

      @driven said:

      has any one got this fully running on a mac??

      i get this error, functionality of some of the tools

      john

      Don't know if this is still an issue for anyone, but you can find a patched version that works for me.
      I changed line 4921

      if (n1.between? (n2 - interval), (n2 + interval))
      

      to

      if ( n1.between?((n2 - interval), (n2 + interval)) )
      

      .

      I'm running mac os x 6, SketchUp 7 (7.1.6859)


      patched cd_power_m.rb file.

      1 Reply Last reply Reply Quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        Errors in [Plugin] SCF PowerToolbar v1


        The errors are caused by poor programming style.

        If you run SU7 Mac (with Ruby 1.8.5-p0) OR run SU7 on PC AND have updated your Ruby interpreter DLL to Ruby 1.8.5 or higher, then certain "typos" are no longer permitted by the Ruby interpreter.


        ` %(black)[cd_power_extension_m.rb

        Line 4921:]if (n1.between? (n2 - interval), (n2 + interval))
        * move first "(" just after "between?" and before "(n2", so it replaces the space character. Like:
        if n1.between?((n2 - interval), (n2 + interval))`


        ` %(black)[cd_power_m.rb

        • same fix as above, .. replace Line 4921]
          if (n1.between? (n2 - interval), (n2 + interval))
          with:
          if n1.between?((n2 - interval), (n2 + interval))`

        ` %(black)[cutting_windows.rb

        fix Line 610:]
        faces_and_heights[0.pushpull (faces_and_heights[1]), false]
        * add parenthesis around pushpull method's argument list, ie:
        faces_and_heights[0.pushpull( (faces_and_heights[1]), false )]`


        What is happening, is that:

        • Ruby is getting confused as to what are method argument lists, and what are arguments (delimeted with parenthesis,) within the arguemnt list.
        • For best practice in later Ruby versions, all methods should have parenthesis around the whole argument list, with NO space between end of method name and the left parenthesis of it's argument list.
        • If a method has no args, speed up Ruby by passing an empty arg list, like so: %(darkred)[*obj*.method_name()]

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • N Offline
          Nosonja
          last edited by

          Don't work with sketchup 8.

          1 Reply Last reply Reply Quote 0
          • CadFatherC Offline
            CadFather
            last edited by

            i'm hoping to fix the bugs soon..

            1 Reply Last reply Reply Quote 0
            • T Offline
              tina0603
              last edited by

              try to replace it with haroldcampbell attachments

              1 Reply Last reply Reply Quote 0
              • R Offline
                rongvuong
                last edited by

                Don't work with sketchup 8.
                help me?

                1 Reply Last reply Reply Quote 0
                • HumpmetwiceH Offline
                  Humpmetwice
                  last edited by

                  I get this error after installing the power toolbar. Did I do something wrong, is there something else I need?


                  2010-09-09_0817.png

                  1 Reply Last reply Reply Quote 0
                  • CadFatherC Offline
                    CadFather
                    last edited by

                    ok, wrong lines have been changed - hope it still works.

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      Could you add a Last Updated timestamp to your original post? Makes it easier to catch any updates when you browse the plugins.

                      Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • HumpmetwiceH Offline
                        Humpmetwice
                        last edited by

                        @cadfather said:

                        ok, wrong lines have been changed - hope it still works.

                        Is there something I can do to fix this or do I need to uninstall it? It still works but is aggravating ๐Ÿ˜ฎ !

                        1 Reply Last reply Reply Quote 0
                        • CadFatherC Offline
                          CadFather
                          last edited by

                          Thom, you mean in the subject, or just the post?

                          @ humpmetwice, i don't think this has to do with SCF-PB - take out all your plugins then install PB, if it works then you know..

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            @cadfather said:

                            Thom, you mean in the subject, or just the post?

                            At least the subject - since that appears when you browse the forum and also in Jim's index.

                            Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • CadFatherC Offline
                              CadFather
                              last edited by

                              yes of course.. done.

                              1 Reply Last reply Reply Quote 0
                              • U Offline
                                unclex
                                last edited by

                                where is the new guy?

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  the.pjt
                                  last edited by

                                  How do we can unpack the main file to edit it ? is it possible to unpack a code ? can you upload a unpacked version ?

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    bd99
                                    last edited by

                                    thankkkkkkkkkkkkkkkkkkkk

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      exposal
                                      last edited by

                                      I've try on SU8.0 PRO.that's no problem.

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        hyprc
                                        last edited by

                                        so cool, thank U

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

                                          I've edited the download page - with a warning about 'rogue files' inside the zip!
                                          CADfather, can you please sort out this issue, which can break some other tools and cause other problems - the older files [ sketchup.rb and extensions.rb] supplied in the zip should NEVER be put into the Plugins folder. In all recent versions of Sketchup newer versions of those files come pre-installed in the Tools folder, so having these duplicates just messes things up - sometimes so subtly it causes hours of searching to find what's up! ๐Ÿ˜’

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • CadFatherC Offline
                                            CadFather
                                            last edited by

                                            sure, i'll post an update very soon

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

                                            Advertisement