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: [Plugin] GKWare Cabinet Maker

      Gary version 12 worked very well. The small font made the form fit my portable screen and the no toe kick option worked as expected. Thanks.

      Now one other thing I have noticed but not commented on is the license. When I use the windows/preferences/extensions to up date to a new version I do not have a license available. I have tried loging out at cab32 where I got the down load but I the program still will not ask for or find a license. To run a new version I have been removing the gkware32 files from the plugin directory and then reinstalling the up dated version and then at the first use a login form is shown and after I login the program finds the license and shows the days remaining for the trial.

      Keith

      posted in Plugins
      K
      ktkoh
    • RE: [Plugin] GKWare Cabinet Maker

      Fantastic cabinet plugin. When I used designcad 3d for my home shop I wrote a macro to design kitchen cabinets for my project to build my daughters cabinets so I at least have a idea of the complicated nature of the program and I only had to provide options to please myself.

      1. The book I use to design cabinets suggests for toe kicks to make 1 frame for each bank of cabinets or to use the adjustable legs on each base cabinet. Any plans to offer this option.

      2. For my grandson's kitchen I need a angled sink cabinet. This can be built by editing the cabinet and removing the drawer and hardware but you might consider this option.

      3. On my portable pc I need to re size the input form to see all the form but found no way for the re-size to be remembered by the program. Is there a method of dealing with this?

      Keith

      posted in Plugins
      K
      ktkoh
    • RE: [Plugin] GKWare Cabinet Maker

      Sorry Gary I found that I had the Dynamic Components Extension turned OFF.

      Keith

      posted in Plugins
      K
      ktkoh
    • RE: [Plugin] GKWare Cabinet Maker

      Gary I signed up for the Beta and was trying to make my first cabinet. I used all the default dim that were entered in the form, model in mm. I selected a starting point at 0,0,0 then entered 600.00,00 for width and angle. I get one side of a cabinet. I am using Sketchup 2015 on a portable Win 7. This is the error message:

      Error: #<NoMethodError: undefined method copy' for #<Sketchup::ComponentInstance:0xd6ace80>> c:/users/keith/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/gkware_cabmaker/cabmaker.rbs:1940:in copy_component'
      c:/users/keith/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/gkware_cabmaker/cabmaker.rbs:525:in make_sides' c:/users/keith/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/gkware_cabmaker/cabmaker.rbs:1985:in draw_cabinet'
      c:/users/keith/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/gkware_cabmaker/cabmaker.rbs:2444:in make_one_cabinet' c:/users/keith/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/gkware_cabmaker/cabmaker.rbs:214:in do_create_cabinet'
      c:/users/keith/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/gkware_cabmaker/cabmaker.rbs:443:in `onLButtonDown'

      Keith

      posted in Plugins
      K
      ktkoh
    • RE: Outliner selection not in Order

      Thanks Dan when I added definition where you suggested that code worked very well. I had been adding it in the wrong place after the instance. And I appreciated the English description of what the code was saying.
      THANKS TO ALL THE FORUM CONTRIBUTORS THAT HAVE HELPED ME!! I seem to have the ability to imagine programs that would help speed up manual operations but using the API samples to write code is a crap shoot at best. Would have not bothered without the great help available here.

      mod = Sketchup.active_model # Open model
      ent = mod.entities # All entities in model
      sel = mod.selection # Current selection

      sorted = []
      sorted = sel.grep(Sketchup::ComponentInstance).sort {|a,b| a.definition.name <=> b.definition.name}
      sorted.each { |e| UI.messagebox(e.definition.name)}[/code]

      posted in Developers' Forum
      K
      ktkoh
    • RE: Outliner selection not in Order

      TIG It may not be rocket science but so far none of the ideas has helped me get a list of instances sorted by the component name. Now if I temp add a instance name = definition name would that make the list easier sortable?? I came to programing late in life so it is not like a second language to me and I have appreciated the forum help. I hope I have not asked too often. I do look for examples and try several ideas before I ask here.

      Thanks
      Keith

      posted in Developers' Forum
      K
      ktkoh
    • RE: Outliner selection not in Order

      That is still not the result I am looking for. I need the sel entity list (all entities are comp instances) but the entities should be in order by their def name. I can't see a way to get back to the entities from the name list. Perhaps a better way would be to sort the pages after completion. I don't know if that is possible

      thanks
      Keith

      posted in Developers' Forum
      K
      ktkoh
    • Outliner selection not in Order

      Selecting an array of components from outliner and ruby returns the list NOT in the order shown in Outliner.
      This displays the comp names

      mod = Sketchup.active_model # Open model
      ent = mod.entities # All entities in model
      sel = mod.selection # Current selection
      
      sel.each { |e| UI.messagebox("Sel Array " + e.definition.name.to_s)}
      

      I tried sorting but either of these show error no method for sort.

      sel.sort!
      
      sel.sort! { |e| e.definition.name } 
      

      I need the list of entities but sorted by name

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • RE: Removing duplicat Component Instances from an array

      Thanks for the help I just got to part of the program where this is needed. I visulized 6 to10 lines of code knowing that unique would work directly.

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • Removing duplicat Component Instances from an array

      I am having a problem trying to eliminate duplicate Component Instances from an the selection array. If the user selects more than one instance of a component I want to eliminate that from the array before operating on the selection. Suggestions would be appreciated.

      Thanks
      Keith

      posted in Developers' Forum
      K
      ktkoh
    • RE: Deleting an Edge knowing 2 points

      Thanks TIG and Dan

      I applied the code to the Tails part of my Dovetail Tool and now the result is a part with tails that is still a solid. No left over edges or faces.

      The strange thing was that when selecting the component edges if you selected them clockwise (edge1 to edge2) the part was clean but selecting in a counter clockwise direction there were left over faces. Now thanks to your help edge selection direction works either way.

      Thanks
      Keith

      posted in Developers' Forum
      K
      ktkoh
    • Deleting an Edge knowing 2 points

      My Dovetails Tail program sometimes leaves faces that should have been deleted by the pushpull action. I am trying to clean these up by deleting edges for which I know only the end points. I have not been able to find a way to identify the edges knowing only 2 points so I could delete them.

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • RE: Test Comp to see if it has Nested Components

      Thanks that seems more straight forwad

      posted in Developers' Forum
      K
      ktkoh
    • Test Comp to see if it has Nested Components

      This is the code I wrote to determine if a Component or Group contained any Nested Components. Is there an easier or more direct method of doing this??

      mod = Sketchup.active_model # Open model
      ent = mod.entities # All entities in model
      sel = mod.selection # Current selection
      obj = sel[0]
      exp = "No"
        if (obj.is_a? Sketchup;;ComponentInstance) || (obj.is_a? Sketchup;;Group)
          ce = obj.definition.entities
          ce_a = ce.to_a # Make sel an array
          ce_a.each {|e|if e.is_a? Sketchup;;ComponentInstance then exp = "Yes" end
            }
        end # if obj
      UI.messagebox("Explode Selection " + exp)
      

      Keith

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

      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

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

      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

      posted in Plugins
      K
      ktkoh
    • RE: [Plugin] Comp2LayerScene

      I guess I could add the 6th view. I never needed it in any of my models. One way around this problem is to select the preferred view for your main view and delete the rest then use DwgViews from the drop down menu to create the remaining 4 views.

      About problems with the K2WS_Tools I have not had any feedback but would be interested in the problems you see in the program. With out a description and or model you leave me in the dark. If any of the tools had problems I would have expected the dovetails. PLEASE reply on the forum or message or by email kbkrueger2@gmail.com I recently had back surgery so I am out of the shop and looking for things to do that require no physical labor.

      Keith

      posted in Plugins
      K
      ktkoh
    • RE: Mini woodworking challenge

      I don't have the capability of using dominos but my loose tenons are basically the same thing and have the same assembly questions. As other users have stated the secret is sub assemblies.
      Typically I make the mortise tight on one part (this would be the part that has tenon when making a mortise and tenon joint) and on the other mortise I usually increase the slot width by 0.010 in each direction (0.02 total) Then I always glue the tenon or domino in one part (think the part that would have tenon) before starting a sub assembly. After gluing in the tenon then I do a dry assembly before attempting the final glue up.

      Also if you detailed the dominos I hope you used the K2WS_Tools plugin from the SketchUcation Plug In Store as that should simplify the process.

      Keith

      posted in Woodworking
      K
      ktkoh
    • RE: Selected Dim to Component Instance

      Thanks for the help. I'll try your suggestions.

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • Selected Dim to Component Instance

      I am starting with the following code (after selecting a dim in the model)

      mod = Sketchup.active_model # Open model
      ent = mod.entities # All entities in model
      sel = mod.selection # Current selection
      
      s_ent = sel[0]
      type = s_ent.typename
      if type == "DimensionLinear"
        
         arr = s_ent.start
      if arr[0].nil?
        UI.messagebox("No attached entity. Point is " + arr[1].to_s)
       else
         UI.messagebox("Attached entity; " + arr[0].to_s)
        type = arr[0].typename
       end 
        parent1 = arr[0].parent
        l_name = parent1.layer.name
       
      end
      

      This gets me to the Component Definition but I need the Component Instance to find the layer name so I can change the dim layer to the Component Instance layer.

      Keith

      posted in Developers' Forum
      K
      ktkoh
    • 1 / 1