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

SU 2014 and Plugins

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
36 Posts 16 Posters 4.2k Views 16 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.
  • D Offline
    driven
    last edited by 1 Mar 2014, 22:33

    if your prepared to use 'Ruby Console'

    copy paste this

    UI.openpanel(Sketchup.find_support_file("Plugins"))
    

    then hit enter...

    @TIG, maybe SCF_ could have a 'Plugins folder' menu item???

    john

    learn from the mistakes of others, you may not live long enough to make them all yourself...

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 1 Mar 2014, 22:36

      @driven said:

      if your prepared to use 'Ruby Console'

      copy paste this

      UI.openpanel(Sketchup.find_support_file("Plugins"))
      

      then hit enter...

      @TIG, maybe SCF_ could have a 'Plugins folder' menu item???

      john
      Good tip.
      Good idea... 😒

      TIG

      1 Reply Last reply Reply Quote 0
      • I Offline
        ilay7k
        last edited by 2 Mar 2014, 04:24

        Hi
        I work in another 3d app. App's developers made command-console's command which points where user can have own preferences dir with such dirs: _bugreports, library, plugins, prefs, tex, updates

        i prefer if we can select plugin-dir in preferences of sketchup or simply override it by command: sketchup.exe -userdir "X:\skippyDir"

        1 Reply Last reply Reply Quote 0
        • C Offline
          cotty
          last edited by 2 Mar 2014, 08:49

          @ilay7k said:

          Hi
          I work in another 3d app. App's developers made command-console's command which points where user can have own preferences dir with such dirs: _bugreports, library, plugins, prefs, tex, updates

          i prefer if we can select plugin-dir in preferences of sketchup or simply override it by command: sketchup.exe -userdir "X:\skippyDir"

          You can add folder with Fredos Additional Plugin Folders.

          my SketchUp gallery

          1 Reply Last reply Reply Quote 0
          • I Offline
            ilay7k
            last edited by 2 Mar 2014, 09:04

            Hi Carsten
            Thanks for info.
            BUT i want it will be by default and from true TSKU dev.team
            Ok?

            1 Reply Last reply Reply Quote 0
            • A Offline
              Al Hart
              last edited by 3 Mar 2014, 20:51

              @tig said:

              @driven said:

              if your prepared to use 'Ruby Console'

              copy paste this

              UI.openpanel(Sketchup.find_support_file("Plugins"))
              

              then hit enter...

              @TIG, maybe SCF_ could have a 'Plugins folder' menu item???

              john
              Good tip.
              Good idea... 😒

              Notice that:

              Sketchup.find_support_file("Plugins")
              

              returns the right path even if a "Plugins" folder exists in program Files, e.g.

              C;/Program Files (x86)/SketchUp/SketchUp 2014/Plugins
              

              But, if, like one of our clients, you have created a subfolder of Plugins in Program Files, such as:

              C;/Program Files (x86)/SketchUp/SketchUp 2014/RPS
              

              then

              Sketchup.find_support_file("Plugins/RPS") returns the wrong folder - the one in Program Files when it should have found the one in AppData where we installed it.

              (even though the client put it there, it is the wrong place)

              I suspect this is a bug in SketchUp 2014.

              Sketchup.find_support_file("Plugins")
              C:/Users/alh/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins
              Sketchup.find_support_file("Plugins/RPS")
              C:/Program Files (x86)/SketchUp/SketchUp 2014/Plugins/RPS

              Al Hart

              http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
              IRender nXt from Render Plus

              1 Reply Last reply Reply Quote 0
              • D Offline
                driven
                last edited by 3 Mar 2014, 21:11

                @al hart said:

                ... But, if, like one of our clients, you have created a subfolder of Plugins in Program Files, such as:

                C;/Program Files (x86)/SketchUp/SketchUp 2014/RPS
                

                then

                Sketchup.find_support_file("Plugins/RPS") returns the wrong folder - the one in Program Files when it should have found the one in AppData where we installed it.
                ...

                @Al,
                for your clients path, shouldn't it be Sketchup.find_support_file("RPS") as it doesn't include "Plugins"?

                john

                learn from the mistakes of others, you may not live long enough to make them all yourself...

                1 Reply Last reply Reply Quote 0
                • Bob JamesB Offline
                  Bob James
                  last edited by 3 Mar 2014, 22:45

                  $LOAD_PATH
                  ["D:/Dropbox/Plugins",
                  "C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib",
                  "C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/platform_specific", "C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools",
                  %(#FF0000)["C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins",
                  "C:/ProgramData/SketchUp/SketchUp 2014/SketchUp/Plugins"]]

                  i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Al Hart
                    last edited by 4 Mar 2014, 06:14

                    @driven said:

                    @Al,
                    for your clients path, shouldn't it be Sketchup.find_support_file("RPS") as it doesn't include "Plugins"?

                    john

                    In my example, RPS was a subfolder in Plugins.

                    It was supposed to be in:

                    C:/Users/alh/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins

                    where we install it, but there was a rouge copy in:

                    C:/Program Files (x86)/SketchUp/SketchUp 2014/Plugins/RPS

                    because the user had either copied the SU 2013 version there, or tried to install the SU 2014 version of the plugin in the wrong place.

                    My point is that if both of these folders exist, Sketchup.find_support_file("Plugins/RPS") should only return the one in the proper Plugins folder.

                    We have solved the problem by first locating

                    Sketchup.find_support_file("Plugins") which works properly, and then verifying that

                    Sketchup.find_support_file("Plugins") + "/RPS" exists.

                    But we think that Sketchup.find_support_file("Plugins/RPS") should have found to correct file.

                    Al Hart

                    http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
                    IRender nXt from Render Plus

                    1 Reply Last reply Reply Quote 0
                    • BoxB Offline
                      Box
                      last edited by 4 Mar 2014, 07:39

                      I think the rogue copy of the plugin folder is caused by installing a plugin via a separately downloaded plugin installer getting it wrong.
                      I downloaded and installed Twilight as the first plugin on one of my PCs then when I went to use the Plugin store to install something else it flagged the second folder and asked what I wanted to do. Either choice didn't work, so I simply removed the rogue folder manually and all was well.

                      1 Reply Last reply Reply Quote 0
                      • emerald15E Offline
                        emerald15
                        last edited by 6 Mar 2014, 14:45

                        I'm not sure if this is one for Sketchucation or a Twilight forum... but here goes.
                        I'm trying to install Twilight into SU2014 - according to the Twilight site I select the v1.5.4 specific for SU2014 and it will install automatically. However, when I open SU2014 I get this error message. The Twilight extention in checked in the system preferences window but there it no toolbar for it.


                        Twilight error.jpg

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 6 Mar 2014, 15:38

                          @Emerald

                          Contact Twilight - it initially looks like a problem with their installer ?

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            blue442
                            last edited by 6 Mar 2014, 16:07

                            @emerald15 said:

                            I'm not sure if this is one for Sketchucation or a Twilight forum... but here goes.
                            I'm trying to install Twilight into SU2014 - according to the Twilight site I select the v1.5.4 specific for SU2014 and it will install automatically. However, when I open SU2014 I get this error message. The Twilight extention in checked in the system preferences window but there it no toolbar for it.

                            Curious, do you double click files to open them?

                            I found that by double clicking on files to open them, some (all??) plugin's don't load correctly. However using the sketchup 2014 shortcut, then opening the file once sketchup is running all plugins work fine.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 6 Mar 2014, 16:10

                              @Blue442

                              Please explain what you mean ?
                              That doesn't sound right ??

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • tt_suT Offline
                                tt_su
                                last edited by 6 Mar 2014, 16:25

                                @blue442 said:

                                I found that by double clicking on files to open them, some (all??) plugin's don't load correctly. However using the sketchup 2014 shortcut, then opening the file once sketchup is running all plugins work fine.

                                Yes, there is some problems is you launch SketchUp under windows via SKP files that are no on the same drive as your SketchUp installation. Some paths get messed up and the standard library doesn't load properly.

                                However I don't think that is the case of Twilight Render, I see in the error message a reference to a .so file - which is a binary file which has to be compiled against the Ruby interpreter we ship. Since we updated the Ruby interpreter in SketchUp 2014 all plugins that use binary extensions must be updated.

                                1 Reply Last reply Reply Quote 0
                                • Bob JamesB Offline
                                  Bob James
                                  last edited by 6 Mar 2014, 19:34

                                  @unknownuser said:

                                  blue442 wrote:I found that by double clicking on files to open them, some (all??) plugin's don't load correctly. However using the sketchup 2014 shortcut, then opening the file once sketchup is running all plugins work fine.

                                  This happens to me also.

                                  @unknownuser said:

                                  Since we updated the Ruby interpreter in SketchUp 2014 all plugins that use binary extensions must be updated.

                                  Is there a fix in progress for this? If I then close that file with plugins missing, the next file I open has all the previously missing toolbars spread across the screen and need to be repositioned 🤢

                                  i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    tomot
                                    last edited by 6 Mar 2014, 20:16

                                    I don't plan to go out and buy or upgrade to SU2014, at this time! None of my plugins, use Ruby installation code. I explain via a simple text file were a particular ruby and icons should reside, within the SU file structure. I hope this is still an acceptable method going forward!

                                    [my plugins](http://thingsvirtual.blogspot.ca/)
                                    tomot

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      blue442
                                      last edited by 6 Mar 2014, 21:03

                                      I was speaking with a friend at raylectron, they confirmed it as a sketchup bug and are submitting it.

                                      as someone else mentioned, it happens on any other drive other than the installed drive. So all network folders were affected. Not a big deal really in my opinion. I generally don't open files by double clicking (or right clicking, selecting open).

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        paddyclown
                                        last edited by 18 Mar 2014, 09:59

                                        Hello all, I have read all this as I'm perplexed...

                                        I have just reinstalled SU2014fr on a PC with windows XP,
                                        I downloaded the Sketchucation Tools plugin (v2.5.1)
                                        and "installed" it from within SU2014, restarted SU2014 & got this Rubyconsole message:

                                        Erreur de chargement du fichier !SketchUcation_loader.rb
                                        Error: #<NameError: uninitialized constant SCF::TOOLSS>
                                        C:/Documents and Settings/Propriétaire/Application Data/SketchUp/SketchUp 2014/SketchUp/Plugins/!SketchUcation_loader.rb:181:in <module:SCF>' C:/Documents and Settings/Propriétaire/Application Data/SketchUp/SketchUp 2014/SketchUp/Plugins/!SketchUcation_loader.rb:16:in <top (required)>'

                                        Can anyone help ?

                                        I have 2014 working fine on a machine with Vista, had no real difficulties migrating, but I need this XP setup to work too...

                                        I suspect that there is some folder missing someplace, but can't track it down...

                                        Thanks,

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 18 Mar 2014, 11:26

                                          @Patrick

                                          It seems that the C:/Users/UserName/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins*/SketchUcation/Strings/SCF-EN-US.strings* file is NOT getting found/read.
                                          The above path is the typical default for Windows > XP, as later OSs differ from XP which I think uses 'C:/Documents and Settings/UserName/'?...

                                          Is that SCF-EN-US.strings file really there in the SketchUcation/Strings subfolder ? If so then is it 'readable' in its Properties>Security>Edit settings?

                                          Did you install it using the Preferences > Extensions > Install button ??
                                          If NOT, then why not !?
                                          If you have tried putting it into a different folder please try it in the right default one:
                                          To find the correct Plugins folder use this in the v2014 Ruby Console, +<enter>:

                                          Sketchup.find_support_file('Plugins')

                                          I at first suspected that this was because Plugins path reported as:
                                          C:/Documents and Settings/Propri**é**taire/Application Data/SketchUp/SketchUp 2014/SketchUp/Plugins
                                          Which has an accent in the path.
                                          This can cause issues with some Ruby File find, read methods etc, when it returns 'false' but the file really does exist ['true'].
                                          This would certainly cause issues with < v2014 - BUT I am surprised that it might have issues in v2014, which now ought to accept such accented letters in file paths etc, with its newer Ruby2.0... 😕

                                          I have tried this out myself by renaming part of the path to include an accented letetr... AND in v2014 it still works just fine... so this is something of a mystery...

                                          To see what might be the case... in v2014, in the Ruby console copy+paste this code +<enter>
                                          File.exist?("C:/Documents and Settings/Propriétaire/Application Data/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/Strings/SCF-EN-US.strings")
                                          If it returns 'false', BUT you know the file is actually in there... then that might be an issue.
                                          If it returns 'true' then please also try this:
                                          IO.read("C:/Documents and Settings/Propriétaire/Application Data/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/Strings/SCF-EN-US.strings")
                                          What do you see ?
                                          There should be a list of text, like Constants="..."
                                          But if NOT try these alternatives:
                                          File.exist?("C:/Documents and Settings/Propriétaire/Application Data/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/Strings/SCF-EN-US.strings".dup.force_encoding('UTF-8'))
                                          Any difference ?
                                          And then this:
                                          IO.read("C:/Documents and Settings/Propriétaire/Application Data/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/Strings/SCF-EN-US.strings".dup.force_encoding('UTF-8'))
                                          If these later options work, then let me know and I can look to give you an adjusted 'loader' RB to try, to see if that resolves the issue, and then add an upgrade to v2.5.2 to suit v2014... 😕

                                          Alternatively, can you look to rename the 'admin' user-account in FR XP to say "Proprietaire" [no accents] ?
                                          OR run SketchUp 'in your own right' - logged on as your [unaccented] user-name [Patrick?], but with full admin-rights setup for that account in the 'Users' Control-Panel ??

                                          TIG

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

                                          Advertisement