sketchucation logo sketchucation
    • Login
    1. Home
    2. ktkoh
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 83
    • Posts 249
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Transfer Toolbar setup from 2014 to 2015?

      Thanks Dave I will try that method. Seems like a good feature to have.
      Keith

      posted in SketchUp Discussions
      K
      ktkoh
    • Transfer Toolbar setup from 2014 to 2015?

      Can my toolbar setup be transferred? I like the current setup and hate to recreate it.

      Keith

      posted in SketchUp Discussions sketchup
      K
      ktkoh
    • RE: Plugin Location in Windows 7

      Thanks for answer. I thought that I had view hidden files & folders set and never checked.

      Keith

      posted in SketchUp Discussions
      K
      ktkoh
    • Plugin Location in Windows 7

      I know that the plugins are in this location C:\Users\Keith\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins
      and if I copy this and paste in into windows explorer it displays the folder.

      NOW the question if I start at C:\Users\Keith there is no AppData directory??
      ALSO starting at the Plugins directory and stepping back to AppData all is ok but one more step back to Keith and there is no AppData folder.

      What am I missing it seems that I should be able to find the plugin directory starting from 😄

      Keith

      posted in SketchUp Discussions sketchup
      K
      ktkoh
    • RE: Smooth Line after push/pull

      sdmitch

      I am trying to learn from you code. How is the smoothing only applied to the edges created by the add arc? It needs some English description if you will!!

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • RE: Round front edge of

      You will probly get better answers and but I would draw the end face wich would include the radius and push the length. I did this for my loose tenons. I used simple trig to calculate as many radius points needed. The built in radius would be more flexible but I never got the hang of it.

      Keith

      Ps. Send pm if interested in my code.

      posted in Developers' Forum
      K
      ktkoh
    • RE: Shopmade Cam Clamps

      I use bootools a 10 dollar plugin from smustard

      Works in 8 to 14

      Keith

      posted in Woodworking
      K
      ktkoh
    • RE: Notepad++

      Solved the problem. I selected a .rb file and dragged and dropped it into notepad++ then when I selected a .rb file and open with notepad++ was in the list.

      Keith

      posted in Freeware
      K
      ktkoh
    • RE: Notepad++

      Somehow I lost notepad++ from my computer. I had been using it to edit ruby scripts. So I downloaded the latest version and am having trouble setting it up to open .rb files.
      Windows 7 operating system:
      I added .rb in notepad++ settings/preferences/file associations
      Now when I select a file.rb and click on open with notepad is the first choice and the drop down list does not have notepad++ and if I browse to select notepad++.exe the file still opens in plane notepad.

      What am I missing???

      Keith

      posted in Freeware
      K
      ktkoh
    • RE: New Version K2WS_Tools ver. 2.1.0

      Thanks for the feedback. Authors of plugins always like to know their work is being used. Also any requests for fixes and improvements are welcome.

      Keith

      posted in Woodworking
      K
      ktkoh
    • RE: Program needs Messagebox to complete Scene Up Date

      Thanks TIG after understanding what you were saying I found a solution.
      I discovered that if the view was set to Front View before the program started the pages all updated correctly without the UI.messagebox delay.
      By using code from Extended Standard Views, Chris Fullmer I was able to achieve automatic
      scene updates. I was not comfortable doing this so I compromised by adding the UI.messagebox to the first page only and then the rest of the pages updated correctly.

      To summarize:

      1. Use new_camera = new_camera.set eye, target, up Set to desired View or as I did use Sketchup.send_action "viewFront:"with a UI.messageboxto wait for the update.
      2. Use status = page.update(127) in place of Sketchup.send_action "pageUpdate:"

      thanks
      Keith

      posted in Developers' Forum
      K
      ktkoh
    • Program needs Messagebox to complete Scene Up Date

      I am working on code to automatically iterate thru the selected Components and Groups and make a Drawing Scene for each (an automated version of my Comp2LayerScene). However when I removed the last debug UI.messagebox the program only updates the last scene. All other scenes are there and the views have been created but never up dated so clicking on a scene except the last results in a blank view. If I zoom extents I can see the drawing views along with the main model view but not usable like this
      I tried a sleep(3) between each iteration however no change in results. Also the timer does not seem to be usable to solve this problem.

      The only thing that eliminates the problem is a UI.messagebox inside the loop. Not terrible but not what I had in mind.

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • RE: PagesObserver.onElementAdded

      Thanks Dan I had finally figured that out and then I tried different observers since my post and I don't think the overhead is worth it. If the user forgets to move the dim to the dwg layer it only means there will be stray dim in other dwg scenes. I am thinking of adding a note when the dwg scene is first made to remind the user that added dim will need to be placed on the dwg layer.

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • PagesObserver.onElementAdded

      My plugin Comp2LayerScene.rb has the ability to create new pages which are used for 2d drawings and the drawing view is on its own layer. Now when the user adds dimensions to the drawing he/she needs to set the dim layer to the page layer or the dim show up in other pages.

      My question is could the PagesObserver.onElementAdded be used to check for dim added to the page and then remind the user to make the change to the dim layer or even better do it for the user atomically ??

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • RE: BoolTools in SketchUp 2014?

      I have used Bootools in make2014 and works fine. Just remember to make a copy of the cutting component if you want to have it after the cut is made.

      Keith

      posted in Plugins
      K
      ktkoh
    • New Version K2WS_Tools ver. 2.1.0

      I have finally completed a major update to my woodworking joint tool and released it to the SketchUcation Plugin Store or you could find it in the plugins forum. I have uploaded 2 videos to YouTube to help explain its use. There is also help available when using the program as the help button will display images and text for that particular tool.

      Try it:
      Keith

      posted in Woodworking
      K
      ktkoh
    • RE: [Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

      I use BooTools on SU2014 and it works very well. I think it is still available from SMustard and worth the 10 bucks until this program is updated.

      Keith

      posted in Plugins
      K
      ktkoh
    • RE: [Plugin] K2WS_Tools a joint tool set for SU

      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

      posted in Plugins
      K
      ktkoh
    • RE: Inputbox chedking for cancel

      Thanks for the answers. However as noted at the bottom of the post I had tried some of them already. I found that the error actually was telling me that I could not Quit the Tool by the statement

       Sketchup.send_action "selectSelectionTool;"
      

      and thus the program was trying to proceed with out the results[] from the input box. I did find a way to place a test and exit before the code made any changes to the model.

      No easy way to quit a tool??

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • Inputbox chedking for cancel

      I am trying to check if the user selected cancel after looking at an input box. the api lists that it returns false however I have not found the way to check for this.

      prompts = ["Joint Face READ ONLY","LT Thickness","LT Width", "LT Length","Locate By; ","Tenon Depth Comp 1 ","Through Mortise? "]
          defaults = [@e_len1.to_s + " x " + @e_len2.to_s,@ans[7].to_s,@ans[2].to_s, @ans[8].to_s, @ans[9].to_s, @ans[3].to_s,@ans[15].to_s]
          choices =["","","","","Centered|Offset","","No|Comp 1|Comp 2|Both Comp"]
          results = inputbox prompts, defaults, choices, "Input Data for Loose Tenon Joint "
          if false then self.reset end; Sketchup.send_action "selectSelectionTool;"
          @thickness = results[1].to_l; @ans[7] = results[1]
          @width = results[2].to_l; @ans[2] = results[2]
          @length = results[3].to_l; @ans[8] = results[3]
          @locate_By = results[4]; @ans[9] = results[4]
          @lt_depth_C1 = results[5].to_l; @ans[3] = results[5]
          @thru_Mortise = results[6].to_s; @ans[15] = results[6]
      

      tried
      if results[] == false
      if results == false
      but all result in error undefined method `[]' for false:FalseClass>

      thanks
      Keith

      posted in Developers' Forum
      K
      ktkoh
    • 1 / 1