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

[Plugin] K2WS_Tools a joint tool set for SU

Scheduled Pinned Locked Moved Plugins
36 Posts 12 Posters 12.4k 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.
  • S Offline
    studeag
    last edited by 24 Oct 2013, 01:31

    I missed the security permission, lowered it and the program now works.

    Thank you very much

    Alain

    1 Reply Last reply Reply Quote 0
    • E Offline
      ettengerg
      last edited by 2 Nov 2013, 16:49

      I am not able to get the tool to load in SU 2013 pro. The menu shows up but none of the joint tools work. I have tried to load thru window preferences renaming from zip to RBZ but still does not work? 😞 Any help would be appreciated.

      1 Reply Last reply Reply Quote 0
      • K Offline
        ktkoh
        last edited by 4 Nov 2013, 13:13

        I am using SU2013 and I downloaded the K2Tools file from the Ruby Depot and changed the .zip extension to .rbz and installed it as a extension from the preferences menu and the tools worked for me.

        As stated above file permissions are the first thing to check when a plugin fails to do anything.

        Keith

        1 Reply Last reply Reply Quote 0
        • E Offline
          ettengerg
          last edited by 5 Nov 2013, 03:48

          I changed permissions on the folder and it now works. Thanks

          1 Reply Last reply Reply Quote 0
          • E Offline
            eneu3
            last edited by 26 May 2014, 03:07

            Anyone having problems loading K2WS_Tools with Sketchup 2014? I keep getting an error message on my Mac:

            "Error Loading File loadK2WS_Tools.rb
            Error: #<LoadError: cannot load such file -- K2WS_Tools\K2_ToolsLoader.rb>

            I've downloaded the .zip file twice tonight from the SketchUCation site. No luck either time. I used the load extensions option from SketchUps preferences. It told me each time the load was successful, but when I re-open SketchUp I get the error message.

            Any help would be appreciated. This is a great set of tools!!

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 27 May 2014, 11:13

              @Ed

              The error is self-explanatory !
              The ZIP file contains a single .rb file and a subfolder of many helper files.
              The ZIP's contents need extracting into your Plugins folder [if you completed your User profile with OS & Version we might be able to advise better on where that is, and if security permissions need resetting to FULL etc - see earlier posts in this thread about that].
              The .rb file and the subfolder need to end up in the Plugins folder with the same relationship intact as they have in the ZIP itself.
              When the file loadK2WS_Tools.rb loads it does a require [like 'load'] on a file in the subfolder
              K2WS_Tools\K2_ToolsLoader.rb
              If it's missing you get the Error: #<LoadError: cannot load such file !
              If successful that will load other files etc until the toolset is assembled for use...
              But when it fails it stops, so nothing gets finished !

              If you have NOT got the subfolder with its contents intact inside Plugins then add it.
              If you have managed to put the contents of the subfolder directly into Plugins then you need to tidy things up and remove them.
              You ought to know that RBZ archives can be AutoInstalled using Preferences > Extensions > Install... button, you can add .rbz onto the end of a ZIP file's name to achieve this too as an RBZ is just a renamed ZIP file...
              SketchUcation Plugin Store toolset also has submenu item to AutoInstall Archives - RBZ & ZIP formats are supported.

              TIG

              1 Reply Last reply Reply Quote 0
              • E Offline
                eneu3
                last edited by 31 May 2014, 03:06

                Thanks for the feedback, TIG.

                The first two times I attempted to install K2WS I used the method of changing the .zip extension to .rbz. I got the file error. Tonight, I manually un-zipped the file and put the folder K2WS_Tools and the loadK2WS_Tools.rb file directly into my Plug-Ins folder.

                I verified all files and folders retained the same order as in the .zip file, just as you indicated. Attached is a jpg file showing the content and structure of my Plug-In folder.

                I still get the same load error.

                I'm running a Mac with OSX 10.7.5. Permissions for Plug-In folder and all contained files and folders is write & read.


                Plug-In file structure and content

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 31 May 2014, 11:03

                  I have finally [re]seen the issue 💭

                  The error says the initial loader rb can't find:
                  K2WS_Tools\K2_ToolsLoader.rb
                  Because you are on a MAC that's not a valid file path.
                  It must be K2WS_Tools/K2_ToolsLoader.rb to suit MAC AND PCs.
                  The back-slash \ will scrape through on most PCs, but fail on MACs.
                  Whereas the forward-slash / will work OK on PCs and MACs.

                  To fix this open the file loadK2WS_Tools.rb with TextWrangler or a similar plain-text editor...
                  See here... http://sketchucation.com/forums/viewtopic.php?p=352600#p352600
                  As reported \ in the require path needs to be a / for MAC compatibility...
                  require 'K2WS_Tools\K2_ToolsLoader.rb'
                  becomes
                  require 'K2WS_Tools/K2_ToolsLoader.rb'
                  Capture.PNG

                  BUT oddly if you get the latest ZIP off the forum and extract the files loadK2WS_Tools.rb is correctly formed with the /
                  Presumably these and a few other issues were reworked by the author after the initial reports/testing in 2011!!
                  So the question arises where did you get the older incorrect version from ?

                  Get the latest ZIP from the first post - that is already correctly configured.
                  Extract its contents and convince yourself about the lack of a \ in the 'require'...
                  Make sure ALL of the files and subfolder equivalents in the extracted set are manually removed from your users Plugins folder [also check the other Plugins folder in the HD path is similarly emptied too !]
                  Rename the ZIP with .rbz at the end and use the AutoInstall feature under Preferences > Extensions...
                  To double check, open the loadK2WS_Tools.rb and ensure the required path is still with / not \

                  If it still fails look for other Plugins folders that might be loading an older incorrectly written version ???

                  For the avoidance of doubt here's a latest working RBZ version too !
                  You can install that directly...


                  K2WS_Tools.rbz

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    eneu3
                    last edited by 4 Jun 2014, 02:42

                    Thanks for all your help, TIG.

                    I now see that if I had read prior posts more carefully I would have found the solution to my problem.

                    I began the repair by editing each file by hand. When I realized ALL the supporting files required the same change from \ to /, I took your advice and used the Sketucation archive loader.

                    Everything works great now!

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      ktkoh
                      last edited by 10 Jul 2014, 13:47

                      I have posted an updated K2WS_Tools version 2.0. See first entry in this subject for some info and the new rbz file. I have sent this to some other users directly so as I hear from them and from this forum I will then add it to the SU Plugin Store.

                      Keith

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        trekker
                        last edited by 29 Jan 2015, 14:43

                        hi,

                        I'm having trouble creating screw holes with your plugin (K2WS_Tools v2.1.0). when creating screw holes on a rounded corner rectangle I got this Error

                        Error: #<NoMethodError: undefined method x' for nil:NilClass> C:/Users/ronnie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/K2WS_Tools/K2_ToolsScrewHoles.rb:458:in onLButtonDown'

                        but creating screw holes on a rectangle without rounded corner it works.

                        What should I do?

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          trekker
                          last edited by 30 Jan 2015, 05:06

                          hi,

                          I'm having trouble creating screw holes with your plugin (K2WS_Tools v2.1.0). when creating screw holes on a rounded corner rectangle I got this Error

                          Error: #<NoMethodError: undefined method x' for nil:NilClass> C:/Users/ronnie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/K2WS_Tools/K2_ToolsScrewHoles.rb:458:in onLButtonDown'

                          but creating screw holes on a rectangle without rounded corner it works.

                          What should I do?

                          Attached rounded corner.skp

                          Thanks


                          rounded corner.skp

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            samlion
                            last edited by 15 Feb 2015, 18:22

                            Hi !

                            I'm running Sketchup 2015 and I have problem with the "Loose -tenon joint" and the "Mortise tenon joint". All other option of the tools box seems to run properly. If I use one of those two tools, the program ask me the data for the construction of the tenon and mortise except for the last input screen which ask "Select tool option ? and as I have seen in a tutorial we are supposed to answer a complete tenon and mortise or a complete tenon or a complete mortise. Also, it send to the screen an error message "Problem reading data! ReEnter Data" if I ask to use the existing data.

                            Do you have an idea of the source of the problem ? Thanks in advance for your help.

                            PS.: I have used the tool before and it was running properly for the tenon and mortise. I have not use sketchup since 2 months and I can't identify what change I could have made to my configuration !

                            Add note: I have tried to uninstall sketchup and re-install the software with a fresh copy of the K2WS_Tools. I have the same problem; the tool run, ask for the info and stop without produce the tenon/mortise (return to the drawing as nothing was done).

                            Thanks in advance

                            Richard G.

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              ktkoh
                              last edited by 16 Feb 2015, 02:10

                              Sorry to hear you are having trouble with my Tools Plugin. It would help to trouble shoot if you could open the Windows/Ruby Console and report the error message it displays when this happens. I do use my program with make2015 so the problem is not with the 2015 version. I think it could be with the data file that the program makes to store the data for use to reduce the data entry on similar joints. I would also suggest you use the Window Explorer to find the file K2_ToolsLooseTenon.txt and delete this file then try the program again.

                              Keith

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                ktkoh
                                last edited by 16 Feb 2015, 02:38

                                Trouble with holes in rounded corner part. This program expects the 2 selected edges to determine the face for holes to intersect @ 90 deg In other words only works on rectangle. in the case of your rounded corner part the program needs a square corner. I would edit the component and add a temp rectangle corner and use that get the program to accept data and it will work if you use user data and enter dim required. Ignore the program reports negative numbers in the user data form. I don't know how you made the part originally but made as a rectangle and add holes before rounding the corners would be how the tool program would expect. I don't know where you want the holes but you should only need to alter 1 corner to get holes down each side and across both ends by using large offset dim from the edge to the CL of holes. Hope this helps.

                                Keith


                                rounded corner.skp

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  samlion
                                  last edited by 16 Feb 2015, 13:01

                                  Hi Keith,

                                  You are a genius! As you suggested to me, I erased files and everything works normally.

                                  Once again thank you for your intervention!

                                  Richard G.

                                  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