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

    Posts

    Recent Best Controversial
    • Updating text in a DC when scaling

      I have a textbox on one of my DCs which indicates its current LenX. I need for that text box to also be dynamic, so whenever the component is scaled, the value is updated (Note: I am doing the scaling from a text field in the component options dialog)

      I'm sure there must be a way to do this by hooking into the behavior attribute, but I'm at a loss as to how.

      posted in Dynamic Components sketchup
      S
      stevendaniels
    • RE: Fixed Texture Sizes

      Thanks a bunch Aerilius . That works fine for me, though its definitely not working with my dynamic components (where I stretch the object via a text field) Overall I think this would make a good feature request for SU9, the ability to make patterns oblivious to scale changes - maybe another pin?

      Cheers

      posted in Dynamic Components
      S
      stevendaniels
    • Fixed Texture Sizes

      Anytime I apply a texture to an object, and then scale the object the texture is stretched. How can I keep the material dimensions fixed and independent of the scaling on it's face?

      posted in Dynamic Components sketchup
      S
      stevendaniels
    • RE: [Plugin]SOLID QUANTIFY v2.5.1 (20131215)

      Ok so after further digging I see what you were trying to accomplish with grouping by materials. Unfortunately you chose to use your own custom attributes which will make this grouping meaningless to most people. I am currently rewriting some of this to suit my own needs - I will post here when complete but its definitely not a one-size-fits-all solution since I dont have the time to customize it for every use case.

      posted in Plugins
      S
      stevendaniels
    • RE: Calculate Volume/Length for All

      That is just what the doctor ordered. Thanks a bunch charly!

      posted in Dynamic Components
      S
      stevendaniels
    • RE: [Plugin]SOLID QUANTIFY v2.5.1 (20131215)

      Excellent plugin. I am amazed at what you accomplished in under 200 lines of Ruby. 👍

      One thing I would love to see is support for layers. For example in my model all of the wood framing, concrete beams and insulation are on separate layers. It would be great if I could have the option to see the list broken down by layers. As a temporary fix I modified your script on line 16 like so:

      pents.each{|ent|
        if ent.layer.visible?
      

      This way I can toggle the layer I want and get estimates JUST for that material. Still trying to figure out how to break down by layer as I familiarize myself with SU API, any help there would be appreciated

      Another small detail is the size of the window. Right now its way too small (100x100) and I have to keep opening it each time I run the plugin. I fixed this on my own copy by changing line 158 to:

      UI;;WebDialog.new("SOLID QUANTIFY", true, "SOLID_QUANTIFY", 800, 800, 150, 150, true)
      

      That's about it. Thanks for sharing this plugin with us!

      posted in Plugins
      S
      stevendaniels
    • RE: Calculate Volume/Length for All

      Hmm the reports generated are hardly accurate. Even exporting with one component and I see the report does not match the dimensions. This is one area of Sketchup that could use some improvement

      posted in Dynamic Components
      S
      stevendaniels
    • RE: Calculate Volume/Length for All

      Ok so it looks like this can be done by generating a report for the model. I just wish there was a way for me see this information inline without having to generate spreadsheets

      posted in Dynamic Components
      S
      stevendaniels
    • Calculate Volume/Length for All

      I have an i-beam as a dynamic component in my model. I set up a few options for z-length in the component attribute editor and can now happily change sizes on the fly from the menu. Example of my options:

      • 1 meter
      • 2.5 meters
      • 5 meters

      There is only one problem, I need to be able to calculate the sum length or volume for all of these beams, and right now I cant see anyway to do that

      The entity info only shows how many of the current component exist in the model, but there is no way for me to get a breakdown for its options, something like this:

      1 meter (40 in model)
      2.5 meters (15 in model)
      5 meters (30 model)

      Even better though, would be some way to have sketchup do the calculation for me

      85 in model (Z-length 362 meters)

      or

      85 in model (Volume: 21720 cubic meters)

      I tried using the VolumeCalculator plugin but it does not work on dynamic components - even if you select multiple it only calculates the volume for the individual.

      Any ideas? Despite my unfamiliarity with SU ruby API, I am pretty fluent in Ruby so any console buffs out there should feel free to chime in

      Thanks in advance!

      posted in Dynamic Components sketchup
      S
      stevendaniels
    • RE: [Plugin] Hole Punching Tool

      Hey thanks a bunch for posting this. It looks like exactly what I need

      Unfortunately I cannot get it working on Snow Leopard with Sketchup 8 (Free version)

      This is exactly what I did

      1. Download and extract latest zipfile (v2.0 20110309)
      2. Right-click on sketchup app in Finder and "Show Package Contents"
      3. Drag the unzipped files into the Plugins folder so it now looks like this:

      Plugins
      --#HolePunchTool.rb
      --deBabelizer.rb
      --TIGtools
      ----#HolePunchToolDE.lingvo
      ----#HolePunchToolEN-US.lingvo
      ----#HolePunchToolES.lingvo
      ----#HolePunchToolFR.lingvo

      1. Launch Sketchup and create a 3D wall (w:10m,d:0.2m,h:8m)
      2. Create a simple rectangular frame with hole cut into it and make it into a component
      3. Place frame on surface of wall
      4. Right-click frame and...

      The HolePunch option just is not there 😞

      Am I totally doing this wrong or have I uncovered a bug of some sort? Curious.

      posted in Plugins
      S
      stevendaniels
    • 1 / 1