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

[Plugin] SketchUcation Tools 2.6

Scheduled Pinned Locked Moved Plugins
212 Posts 58 Posters 116.6k 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
    Dan Rathbun
    last edited by 2 Apr 2014, 16:25

    v 2.6.0

    On SketchUp v8 upon starting I get in the console:
    %(#004000)[(eval):3119: warning: parenthesize argument(s) for future version (eval):3142: warning: parenthesize argument(s) for future version]

    On ALL versions 8 .. 14 upon starting I have do deal with multiple VBS sandbox popups, and new entries into my Comodo sandbox file list (which don't exist.)

    (1) It is a major PITA.

    (2) The VBS file names could have been something to indicate they belong to the SCF Plugin Store extension (instead of some meaningless number.)

    I'm not here much anymore.

    1 Reply Last reply Reply Quote 0
    • R Offline
      Rich O Brien Moderator
      last edited by 2 Apr 2014, 17:33

      I'm not familiar with the VBS additions in this release except that they are necessary for older SU versions.

      I think TIG will be able to shed more light on your alerts.

      We're they occurring on 2.5.2 beta?

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

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dan Rathbun
        last edited by 3 Apr 2014, 01:51

        No I did not see them occurring before.

        I will have to turn the extension off, and only use it "on demand".

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • R Offline
          Rich O Brien Moderator
          last edited by 3 Apr 2014, 06:32

          Cool

          Sent from my iPad

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

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 3 Apr 2014, 08:42

            @Dan

            We had some reports about vbs warnings in earlier beta tests but code adjustments were made and there were no further reports.

            I am surprised about the 'parenthesize' warning in v8 - I can't think of any arguments passed in this code-set without () ?

            Can't you set up an 'exception' for your over zealous 'Commodo' security - to skip vbs files, 'by folder' [.../Temp/SCF] ?
            http://help.comodo.com/topic-72-1-451-4758-.html
            shows examples using will-cards etc.
            So a pattern something like *\Temp\SCF\*.vbs should work ?

            These vbs will always run in v8/2013...
            The SCFapi in v2014 can use Ruby2 [open-uri etc] for most of it 'communications', but earlier versions rely on vbs scripts using 'XMLHTTP' etc on PC [and .command using 'curl' for MAC].
            These tiny vbs scripts are written to the .../Temp/SCF folder to ping data-packets to the SCF server and sometimes receive a response.
            These scripts are named "f_nnnnnnn.vbs" where the "nnnnnnn|" is a random integer.
            This is to ensure separation between several such pings that might run all but contemporaneously.
            Any txt file they might make to hold any received data has a matching name.
            On the creation of the txt file the data is read and the two files are deleted a few ms later.
            That is why they no longer exist when you look for them.
            In case of a rare 'left over' file remaining, on load the SCFapi also purges the ...Temp/SCF folder.

            Other vbs files are used by other modules to extract the plugin files etc from RBZ archives [renamed ZIP] where the destination folder is not the default Plugins folder [i.e. a custom-plugins folder has been added to the $:]

            So even if you disable the SCFapi from loading you will get continuing vbs nags when installing into custom=plugins folders...

            TIG

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dan Rathbun
              last edited by 3 Apr 2014, 22:40

              No tried 6 ways to Sunday to setup exclusions. Does not work as advertised.

              Like I say... I only heed SCF Tools when manipulating plugins or extensions.

              I'll turn it off.

              I'm not here much anymore.

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 4 Apr 2014, 09:17

                @Dan
                You are the only user to report these issues...
                I cannot believe it is insoluble πŸ˜•

                TIG

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kupono
                  last edited by 4 Apr 2014, 21:58

                  I'm getting load errors after installing sketchucation tools 2.6. Could be a coincidence. This occurs when I open an .skp by double clicking it. It does not occur when I load SU by double-clicking the .exe or shortcut, then opening the model. (Win8, SU Pro 2014)

                  Thx

                  Error: #<LoadError: cannot load such file -- open-uri>
                  c:/users/drew/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/sketchucation/!scfapitools.rbs:76:in require' c:/users/drew/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/sketchucation/!scfapitools.rbs:76:in module:SCFapi'
                  c:/users/drew/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/sketchucation/!scfapitools.rbs:22:in <main>' C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:25:in eval'
                  C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:25:in load' C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:25:in block in <top (required)>'
                  C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:14:in each' C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:14:in <top (required)>'
                  D:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require' D:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load'
                  C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/!SketchUcation_loader.rb:189:in register_extension' C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/!SketchUcation_loader.rb:189:in module:SCF'
                  C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/!SketchUcation_loader.rb:16:in `<top (required)>'

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Box
                    last edited by 4 Apr 2014, 22:04

                    This thread looks similar.
                    http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=57121

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 4 Apr 2014, 22:21

                      As Box says...

                      Running SketchUp v2014 MR0 by double-clicking on a SKP that is not on the same drive as the SketchUp installation has a bug.
                      It fails to load the Ruby libraries into the $: aka $LOAD_PATH...
                      Therefore any tool that uses any of the new methods provided by v2014 will fail when it tries to load them as the folder is not found.
                      SketchUcation v2.6.0 uses open-uri with v2014 to make much faster downloads and installation of RBZs etc...
                      This is is not a SketchUcation issue - it will occur with any Plugins using the new methods.
                      The fault is known to Trimble and we are assured that a fix will be included in MR1...

                      Meanwhile don't try to start SketchUp that way.
                      Instead, start it from the shortcut to the SketchUp.exe, then open the SKP via SketchUp.

                      There is a temporary file to try to fix it - by Dan Rathbun - goes in the Tools folder and resets $:.
                      I've found it messes up if SketchUp itself is not installed on the system drive [ πŸ˜„ ], otherwise it resets the S: Ruby Lib paths correctly...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kupono
                        last edited by 5 Apr 2014, 00:07

                        Thanks Box and Tig

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 5 Apr 2014, 11:35

                          This file is a temporary fix http://sketchucation.com/forums/viewtopic.php?p=519331#p519331

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            Jim
                            last edited by 5 Apr 2014, 14:14

                            Getting this in the Ruby console with 2.6.0:

                            (eval);1; warning; already initialized constant SCF;;RESTART
                            (eval);1; warning; previous definition of RESTART was here
                            

                            Hi

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 5 Apr 2014, 14:37

                              @jim said:

                              Getting this in the Ruby console with 2.6.0:

                              (eval);1; warning; already initialized constant SCF;;RESTART
                              > (eval);1; warning; previous definition of RESTART was here
                              

                              All of the time ?
                              Or just after the initial update of the Plugin ?
                              I don't see it at all either way ??

                              This Warning is just about a Constant [RESTART] already existing that is being overwritten.
                              It's not a load Error per se πŸ˜•

                              I see the reason, the .strings file defines RESTART twice ! 😳

                              I'll fix it...

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                tommy.jhd
                                last edited by 11 Apr 2014, 09:22

                                Hello,
                                Since 2.6 I've noticed a slow down on Sketchup actions involving the plugin - opening/closing SU, making a modification in SUT2.6 and so on. Nothing shows up on the ruby console - but everything runs smoothly with SUT2.6 disabled.

                                I keep plugins on dropbox (including SUT2.6) and access them using TIG's !loader.rb on 2 PCs using 8free and one with 2013pro.

                                Slightly separately - I seem to remember being able to control plugin/extension loading in SUT locally (by the registry perhaps?) - but now disabling a plugin/extension does so by appending ! and so disabling the file system wide.

                                Is the renaming of ruby files the future for SUtools? If so, I'll modify my use of it to compensate.

                                Thanks

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 11 Apr 2014, 09:39

                                  Please update your User Profile so we know your OS and SUp version - are you still on v8 ?

                                  Because v2.6.0 uses new Ruby methods to speed up downloads and decrease AutoInstall speeds by up to 400% there is a slight parallel 'downside' when opening/closing some of the dialogs used by the toolset, which now ping tiny amounts of related data back to the server [used in various analytics - like the new MySetup > Bundles feature]. With v2014 it's all done pretty instantaneously, but earlier SUp versions don't have the new methods which Ruby2 offers with v2014, so their alternative more cludgey methods may run noticeably slower [especially if you have a slow Internet connection], however it should still be barely perceptible... how long are you talking here... πŸ˜•

                                  If you disabled a plugin in a 'shared' Plugins folder, then it is disabled for all SketchUps using that Plugins folder.
                                  If you disable a plugin in a local [default] Plugins folder, then it is disabled for that one SketchUp.
                                  It has always been like that. πŸ˜•

                                  Using SketchUcation PluginsManager Sets exported/imported on all of your computers you should be able to quickly reSet your Plugins to suit specific work-tasks...

                                  Because v2014 PC now AutoInstalls / loads your plugins using your User default Plugins folder [like MACs have done for several versions before] it means that several users on the same computer can have different sets of plugins loading when their SketchUp starts...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    tommy.jhd
                                    last edited by 11 Apr 2014, 12:40

                                    I am as my user profile says πŸ˜• 8free at home and mobile (but 2013 at work)

                                    The additional time is pretty hefty - Is there a way to check individual load times like libfredo tools? Or record what the active tool or process is?

                                    I started to check between load times with and without SU2.6 but with SU2.6 loaded SU hangs at start, while orbiting, and changing tools. I'd lean towards a description of unworkable (sorry)

                                    My mistake on the plugin disabling. Could've sworn I tested local loading, as I remember being impressed and thinking how useful that was. I don't tend to dream about plugin management, but its possible.

                                    I think I'm used to waiting for downloads and installs. I wouldn't notice faster speeds as I'm usually doing something else in the mean time. Perhaps enough users are of the same mindset that a return to slower Ruby is possible? (my 2pence)

                                    How long are you intending to support 8 and 2013 though?

                                    Bear in mind I'm only whinging because 2.5.1 suited my cross-platform/multi-version/dropbox-plugin-folder setup perfectly. Must get round to upgrading to premium so I can whinge with a bit more weight, and a lot more abandon.

                                    Thanks for responding - happy to help if I can.

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      Rich O Brien Moderator
                                      last edited by 11 Apr 2014, 12:46

                                      Upgrading to Premium offers no extra weight to complaints.

                                      The tool is free and all members avail of the same whinging rights.

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

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 11 Apr 2014, 12:57

                                        But v2.6.0 should never affect other tools like zooming/tool-change πŸ˜•
                                        Do you try to do other things as it's downloading then installing ?
                                        If so why ??
                                        The most you should notice with it in v8 is a brief thinking time [ << 1sec] as SketchUp starts up and then the PluginStore dialog first opens or is closed.

                                        The download should be noticeably faster that before - typically 400%...

                                        A few Plugins are quite hefty and take a while to download - but they should still arrive faster than with the earlier versions of the PluginStore...

                                        You need at least v8M2 to use the PluginStore, currently v2014 does offer some improved download speed, but the changes were also mimicked in v8/v2013 albeit a little slower - but they should still outperform v2.5 πŸ˜•

                                        Do you have other plugins loading that might add observers which are messing with things in v8 - like some proto-BIM tools ? But lead you to consider v2.6.0 the instigator of the issue ?

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          tommy.jhd
                                          last edited by 11 Apr 2014, 13:44

                                          @Rich - I meant subjective weight and subjective abandon. Whinge was the wrong word too. Sorry about that. English is my first language.

                                          @TIG - I haven't been downloading - only disabling/enabling. Sketchup 8M2free and 2013pro both hang during use with SkTools loaded - and do not hang at all with it unloaded. (preferences/extensions/tickbox off)
                                          All plugins are loaded from Plugin store, only other plugin is as below

                                          require 'sketchup.rb'
                                          path = "C:/Users/___________"
                                          $LOAD_PATH << path; $LOAD_PATH.uniq!
                                          if File.exist?(path)
                                          Dir.entries(path).each{|file|
                                          ext=File.extname(file).downcase
                                          next unless ext==".rb" || ext==".rbs"
                                          Sketchup.load(File.join(path, file))
                                          }

                                          My connection is fast - 6mb/2mb home/office.
                                          ????
                                          Thanks

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 7
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 6 / 11
                                          6 / 11
                                          • First post
                                            118/212
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement