sketchucation logo sketchucation
    • Login
    1. Home
    2. duke
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 18
    • Groups 1

    duke

    @duke

    10
    Reputation
    1
    Profile views
    18
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    duke Unfollow Follow
    registered-users

    Latest posts made by duke

    • RE: Query Tool Toolbar Button

      Thanks for this, although 5 years later, i'm getting this with Sketchup8:

      Error Loading File QueryToolbar.rb
      undefined method `GetString' for nil:NilClass

      posted in Developers' Forum
      D
      duke
    • RE: Get last image export settings?

      Brilliant! Thanks

      posted in Developers' Forum
      D
      duke
    • Get last image export settings?

      Sketchup seems to persist image export settings, such as width/height, file format, antialias. Is there a way I can grab these settings?

      posted in Developers' Forum
      D
      duke
    • VCB greyed out

      I'm making a fairly simple script called Thicken, thats basically a wrapper for JPP. My problem is that the VCB is greyed out - even after putting in enabledVCB?

      Does anything stand out here (I removed the guts between start_operation and commit_operation for debugging purposes)?

      
      ### NOTE; Dev. halted - couldnt get Measurements (VCB/Value Control Box) input working
      
      require 'sketchup.rb'
      require 'extensions.rb'
      require 'jointpushpull.rb'
      
      thickenExt = SketchupExtension.new "Thicken", "CKD_Thicken.rb"
      thickenExt.version = '1.0'
      thickenExt.description = 'Uses JPP to thicken the select face/s directly or inside the selected groups'
      Sketchup.register_extension thickenExt, true
      
      module Thicken
      
      def initialize()
          @thickness = 100.mm
      
          @model = Sketchup.active_model
          selectedEntities = model.selection
          
          thickenTool = ThickenTool.new(self)
          @model.select_tool thickenTool
      
          model.start_operation "Thicken"
      
          model.commit_operation    
      end
      
      class ThickenTool
      	def initialize(caller_class)
      		@caller = caller_class
      	end
      	
      	def activate
      		Sketchup.set_status_text "Thickness", SB_VCB_LABEL
      		Sketchup.active_model.active_view.invalidate
      	end
      	
      	def deactivate(view)
      		view.invalidate
      	end
      	
      	def onUserText(text, view)
      		UI.messagebox("what")
      	end
      	
      	def enableVCB?
      	   return true
      	end
      end #Class ThickenTool
      
      if( !$thickenLoaded )
          $ckdSubMenu.add_item("Thicken") { thicken }	
          thickenLoaded = true
      end
      
      end #Module Thicken
      
      
      posted in Developers' Forum
      D
      duke
    • RE: Maxwell Render For Google SketchUp Competition

      @unknownuser said:

      That's how I would go about it as well. JD has done a great job of matching the SU viewport with the Maxwell output so exporting an image with SU linework and overlaying it in photoshop is a pretty straightforward process. It's a nice trick to have under the belt, I've used it once before. But I can't see Maxwell incorporating something like this as their aim is for photorealism and that's more of a NPR trick.

      -Brodie

      JD?

      posted in Extensions & Applications Discussions
      D
      duke
    • RE: Maxwell Render For Google SketchUp Competition

      If this had the option to render edges/lines, i'd buy it. This is very important when using them as textural elements (panel breakup lines, etc).

      posted in Extensions & Applications Discussions
      D
      duke
    • Material area?

      In Sketchup, if you right click on a material theres an option to see the total area. Can I call this in my script?

      posted in Developers' Forum
      D
      duke
    • RE: Reset floating window positions?

      Thanks for the tips, although it seems the Style window does not use standard Windows dialog boxes (which I suppose it's why it's one I can't do alt+space m on, which works for the others). Damn!

      posted in SketchUp Discussions
      D
      duke
    • Reset floating window positions?

      I changed my dual screen config, and now many of my sketchup floating windows are on a screen that doesn't exist! For most, I can press alt+space and m to move it, but others i can't. Is there some file I can edit or delete to reset this?

      posted in SketchUp Discussions sketchup
      D
      duke
    • RE: Copying along w/ Scale

      Thanks Chris. I'm slowly getting better at the math involved ๐Ÿ˜„ I made a tiling DC today that's central panel does not scale, but the vertical beams do, so it can be whatever size horizontally, but is fixed vertically. Loving these DC's

      posted in Dynamic Components
      D
      duke