sketchucation logo sketchucation
    • Login
    1. Home
    2. Garry K
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Urasik Extensions | Lots of new extensions to check out Learn More
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 33
    • Posts 976
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Foundation Plugin

      You should be consistent with your post.skp files
      Probably have the center at the bottom of the post sitting on the ORIGIN

      
      def get_post_def(post_name)
        model = Sketchup.active_model()
        definitions = model.definitions
      
        definitions.each{ |my_def| return my_def if (my_def.name == post_name && my_def.valid?)}
      
        filename = File.join(path_to_your_plugin, "posts", "#{post_name}.skp")
      
        definitions.load(filename)
      end
      
      

      Then you need to place the post

      
      # get the post definition
      post_def = get_post_def(post_name)
      
      # where pt is where you want to place it
      tr = Geom;;Transformation.new(pt)
      
      instance = group.entities.add_instance(post_def, tr)
      
      
      posted in Plugins
      G
      Garry K
    • RE: Followme with the SketchUp API

      top_face.reverse!() if (top_face.normal.z < 0)

      posted in Developers' Forum
      G
      Garry K
    • RE: Wishlist for SketchUp 2018

      Not necessarily. It is quite possible that the voice recognition software can work with voice macros. You say orbit and the short cut is executed.

      Voice activated software has come a long way in the last few years and can actually work with the powerful hardware that we now have.

      posted in SketchUp Discussions
      G
      Garry K
    • RE: Wishlist for SketchUp 2018

      If you want voice then I would look at a 3rd party voice add on. Therefore I wouldn't want or expect sketchup to do it. With a 3rd part solution then you can use it for many applications - not just one.

      posted in SketchUp Discussions
      G
      Garry K
    • RE: Adding layers to extension

      You could add a sketchup menu option something like "Medeek Truss - Edit Config"
      Then throw up a simple Sketchup API inputbox where you set each of your granular layers
      The prompts could be:

      Roof Truss:
      Roof Framing:
      Roof Sheathing:

      etc.

      If the input box is empty then use Layer0
      You can also provide logical defaults like "Roof Framing"
      Users like Paul can add "Medeek Roof Framing"
      Users who like underscores "Roof_Framing"
      Users who want upper case "ROOF_FRAMING"
      User who speak a different language can call it what ever they want

      Also if a user wants Roof Framing and Roof Sheathing to appear on the same layer - then all they need to do is use the same layer name for both!!

      With a bit of effor - you can almost satisfy everyone.

      posted in Developers' Forum
      G
      Garry K
    • RE: Adding layers to extension

      If you choose to change the active layer - make sure you set it back the way you found it.

      model = Sketchup.active_model
      layers = model.layers
      original_layer = model.active_layer

      begin
      your_layer = layers.add("your_layer_name")
      model.active_layer = your_layer

      do whatever you need to

      ensure
      model.active_layer = original_layer
      end

      posted in Developers' Forum
      G
      Garry K
    • RE: [Plugin] GKWare Cabinet Maker

      I'm now supporting A4 and letter for CutMaster Reports.
      I've also finished the Angled End Cabinets

      posted in Plugins
      G
      Garry K
    • RE: Windows spawn program

      Of course !! Thanks Tig

      posted in Developers' Forum
      G
      Garry K
    • Windows spawn program

      I've been playing around with the spawn command and found some interesting things. I'm setup as a regular user on Windows 10 and using SU 2016

      I can easily start an external Windows program such as cutmaster.exe using the spawn command providing it is not installed in program files
      filename = File.join('c:', 'program files (x86)', 'cutmaster', 'cutmaster.exe')

      File.file?(filename) returns true and yes the file exists
      spawn(filename) gives me the error 'No such File or Directory'

      If I install the program somewhere else then it spawns.
      However, if I use the old DOS subst command then it will spawn just fine.

      subst y: 'c:\program files (x86)\cutmaster'

      I've tried to run the subst command from within ruby but can't seem to do it.

      cmd = 'subst'
      drive = 'c:'
      folder = File.join('c:', 'program files (x86)', 'cutmaster')
      #{cmd} #{drive} "#{folder}"

      Has anyone any success doing this sort of thing?

      posted in Developers' Forum
      G
      Garry K
    • RE: Wishlist for SketchUp 2018

      Building software that exploits multiple cores can be extremely complicated and often does not increase performance significantly. Multiple cores, threads and processes are some of the most misunderstood computer concepts. Someone thinking that doubling the number of cores should double performance is in most cases completely inaccurate.

      I've written software for the transportation industry and have effectively designed applications using a single process and several dozen threads. Threads were chosen in this case so as not to lose any real time data. For example, 1 thread read and processed GPS data while 1 thread read and processed ECM data and another thread handle m2m cellular communication and another satellite communication. There was some parallel processing that could have benefited by multiple cores - but not much.

      Please note that cores have to share memory, share disk access etc. So even the effort of backing up the skp to disk would require most if not all of the cores to synchronizing prior to writing the file so that the application could be completely sure that it was in a known state at the time it flushed to disk. Seems like a lot of extra work for very little gain.

      If you can completely isolate a number of tasks as completely independent then those tasks can be processed in parallel and run on separate cores.

      An example would be an application that visually compares different sorting algorithms. A copy of the same list of data could be sorted using sorts such as, 1)bubble sort, 2) insertion sort, 3) merge sort, 4) bucket sort, 5) heap sort, 6) quick sort

      You could perform the sorts sequentially but the effect wouldn't be all that interesting. So run them in their own threads and start them up. What you would see is the fastest 6) quick sort would finish first and the rest would follow. Now the effect is visual.

      Some of the rendering programs that use ray tracing can very effectively divide tasks across multiple cores.

      posted in SketchUp Discussions
      G
      Garry K
    • RE: [Plugin] GKWare Cabinet Maker

      I've also added support for labels using an A4 format. These labels will be slightly larger and will have 24 labels per sheet instead of 30.

      posted in Plugins
      G
      Garry K
    • RE: [Plugin] GKWare Cabinet Maker
      1. Added Angled End cabinets for uppers and base cabinets
      2. Added Cabinet (Description in Web Dialog) to Labels
      3. You can know start a label run with a partial sheet. Just enter in the number of skipped labels.

      BarCodes.png

      posted in Plugins
      G
      Garry K
    • RE: Disable popup notification

      I too would like to have it disabled.

      My reason is that I do not install extensions the way most users do. I install them in a shared public area so I don't have to worry about roaming or virtual folders etc. I have a single install for my cabinet maker and I can test it with any version of Sketchup from SU7 through SU 2017.

      It is only the version specific extensions that must be installed SU version by SU version.

      posted in SketchUp Discussions
      G
      Garry K
    • RE: Wishlist for SketchUp 2018

      I agree with slbaumgartner. He provide some reasonably good examples.

      I cannot agree with someone who just says "Are you kidding me" without even a single substantive statement to corroborate their statement.

      Perhaps it is you who should explain !!

      posted in SketchUp Discussions
      G
      Garry K
    • RE: Sketchup 2017

      Go to 3DConnexion web site, download their latest driver and install it.
      http://www.3dconnexion.com/service/drivers.html

      posted in Newbie Forum
      G
      Garry K
    • RE: [Plugin] GKWare Cabinet Maker

      Back to CabMaker

      Working on Version 1.0.60

      • Added more context help graphics. You can now see the handle choice when you mouseover 1 of 7 controls that let you specify handles.
      • Added a new vanity that has been requested. It has 2 small drawers and the sink is centered. You can also set this up for standard cabinets. In this case it isn`t a sink front it is an actual 3rd drawer.
      • Working on angled end cabinets next.

      vanities.png

      posted in Plugins
      G
      Garry K
    • RE: [Plugin] GKWare Cabinet Maker
      1. Drawer Stretchers were not aligning. Fixed
      2. Drawer Slide holes in sides were missing. Fixed
      3. Drawer Box Front and Backs reversed. Fixed
      4. Enabled multiple Dxf Configuration files. These line up with Rules in CabMaker
      5. Licensing not working for some users. I believe this is now fixed.

      Version 2.0.1.27 of CutMaster now available on my web site
      Version 2.o.1.27 of DxfConfig now available on my web site
      Also CabMaker 1.0.58 is now available. Part of the fixes just mentioned were on CabMaker side.

      posted in Plugins
      G
      Garry K
    • RE: [Plugin] GKWare Cabinet Maker
      1. The drawer box backs and fronts were switched. It's an issue when notching for undermount drawer slides. Fixed in CabMaker
      2. Right and Left Doors were reversed. Fixed in CabMaker and in CutMaster
      3. Holes for cup hinges now aligned. Doors need to be a multiple of 32 mm plus or minus a fixed amount.

      Working on multiple rules. If you have a rule defined in CabMaker then you can set up a corresponding rule (same name) in Cutmaster. If the CabMaker rule doesn't exist in CutMaster then CutMaster's default rule "default" will be applied.

      posted in Plugins
      G
      Garry K
    • RE: [Plugin] GKWare Cabinet Maker
      1. Kick Joinery is one of the bugs. Turns out it wasn't hooked up. Fixed.
      2. Also Full Dado wasn't hooked up. It is now fixed.

      There are a couple more discrepancies. I will fix them and put out a new version.

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

      I guess you can never do enough testing. I have found a few bugs and am working quickly to fix them.

      Bugs:

      1. In cabmaker if you leave the description blank then CutMaster Imports the parts incorrectly and the fields shift. This is now fixed. The current work around is to not leave the description blank.
      2. Side panels have some discrepancies in CutMaster as compared to DxfConfig. DxfConfig is correct. I'm currently working on figuring out why the difference.

      Users are welcome to discuss anything that they are finding.

      posted in Plugins
      G
      Garry K
    • 1
    • 2
    • 12
    • 13
    • 14
    • 15
    • 16
    • 48
    • 49
    • 14 / 49