sketchucation logo sketchucation
    • Login
    1. Home
    2. honoluludesktop
    3. Topics
    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!
    ⚠️ Important | Libfredo 15.8b introduces important bugfixes for Fredo's Extensions Update
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 151
    • Posts 2,177
    • Groups 1

    Topics

    • honoluludesktopH

      Apple compatibility

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      235 Views
      honoluludesktopH
      Sounds like the only way to check it, is to run the app on both platforms?
    • honoluludesktopH

      "Grayed out" Menu items

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      250 Views
      honoluludesktopH
      Thanks Tom, I really did try to find it.
    • honoluludesktopH

      Require 'sketchup'

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      24
      0 Votes
      24 Posts
      2k Views
      Dan RathbunD
      You could do this automatically by adding the above statement to the end of the Tools/dynamiccomponents.rb file (after the statement that registers the DC extension.) IF the extension is OFF then the extra class methods would be defined. IF the extension is ON, the file may get reloaded, but no harm should be done.
    • honoluludesktopH

      View.draw_lines point1, point2

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      262 Views
      honoluludesktopH
      Tig, thanks.
    • honoluludesktopH

      Testing user input as valid geo-location

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      329 Views
      honoluludesktopH
      Done, Thanks Dan. Haven't gotten back to working on this part of the code yet.
    • honoluludesktopH

      How to use the toolbar.show method

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      751 Views
      Dan RathbunD
      I recommend the following snippet: (Assume a boolean constant PC is set (see 2nd snippet.) <span class="syntaxdefault">    </span><span class="syntaxcomment"># show the toolbar<br /></span><span class="syntaxdefault">    delay </span><span class="syntaxkeyword">=(</span><span class="syntaxdefault"> Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">version</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">to_i </span><span class="syntaxkeyword">>=</span><span class="syntaxdefault"> 8 </span><span class="syntaxkeyword">?</span><span class="syntaxdefault"> 0.3 </span><span class="syntaxkeyword">;</span><span class="syntaxdefault"> 1.0 </span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">    state </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">@@</span><span class="syntaxdefault">toolbar</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">get_last_state <br />    if </span><span class="syntaxkeyword">(</span><span class="syntaxdefault">state </span><span class="syntaxkeyword">==</span><span class="syntaxdefault"> TB_VISIBLE</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">      </span><span class="syntaxkeyword">@@</span><span class="syntaxdefault">toolbar</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">restore<br />      </span><span class="syntaxcomment">#<br /></span><span class="syntaxdefault">      </span><span class="syntaxcomment"># Per bug 2902434; resize regression on PC<br /></span><span class="syntaxdefault">      UI</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">start_timer</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">delay</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> false</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">{</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">@@</span><span class="syntaxdefault">toolbar</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">restore </span><span class="syntaxkeyword">}</span><span class="syntaxdefault"> if PC<br />      </span><span class="syntaxcomment">#<br /></span><span class="syntaxdefault">    elsif </span><span class="syntaxkeyword">(</span><span class="syntaxdefault">state </span><span class="syntaxkeyword">==</span><span class="syntaxdefault"> TB_NEVER_SHOWN</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">&&</span><span class="syntaxdefault"> PC<br />      </span><span class="syntaxcomment"># We DONT want to show them until the user wants them,<br /></span><span class="syntaxdefault">      </span><span class="syntaxcomment"># but we cannot leave the state as TB_NEVER_SHOWN, as<br /></span><span class="syntaxdefault">      </span><span class="syntaxcomment"># there is a PC bug that inserts phantom empty toolbar<br /></span><span class="syntaxdefault">      </span><span class="syntaxcomment"># windows up near the menubar, if state is -1.<br /></span><span class="syntaxdefault">      if Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">version</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">to_i </span><span class="syntaxkeyword">>=</span><span class="syntaxdefault"> 8<br />        </span><span class="syntaxcomment"># We show it, then hide it so it will float later.<br /></span><span class="syntaxdefault">        </span><span class="syntaxkeyword">@@</span><span class="syntaxdefault">toolbar</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">show<br />        UI</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">start_timer</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">delay</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> false</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">{</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">@@</span><span class="syntaxdefault">toolbar</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">hide </span><span class="syntaxkeyword">}<br /></span><span class="syntaxdefault">      else </span><span class="syntaxcomment"># vers 6 & 7<br /></span><span class="syntaxdefault">        </span><span class="syntaxkeyword">@@</span><span class="syntaxdefault">toolbar</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">hide  </span><span class="syntaxcomment"># Sets last_state to TB_HIDDEN initially.<br /></span><span class="syntaxdefault">        </span><span class="syntaxcomment"># Users may still contend with "toolbar shuffle" later.<br /></span><span class="syntaxdefault">      end<br />    end<br /></span> If there are any LoadErrors in any startup script.. the toolbars will not resize unless the user closes the LoadError dialog before the delay fires the UI.start_timer block. Setting platform constants: MAC, OSX, PC, and WIN (This snippet can be inside your module or class, making them local constants, or you can paste them into the 'Tools/sketchup.rb' file so they get defined as global constants.) <span class="syntaxdefault">  unless defined</span><span class="syntaxkeyword">?(</span><span class="syntaxdefault">Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">MAC</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> <br />    Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">MAC </span><span class="syntaxkeyword">=(</span><span class="syntaxdefault"> Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">RUBY_PLATFORM </span><span class="syntaxkeyword">=~</span><span class="syntaxdefault"> </span><span class="syntaxkeyword">/</span><span class="syntaxdefault">darwin</span><span class="syntaxkeyword">/</span><span class="syntaxdefault">i </span><span class="syntaxkeyword">?</span><span class="syntaxdefault"> true </span><span class="syntaxkeyword">;</span><span class="syntaxdefault"> false </span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">  end<br />  unless defined</span><span class="syntaxkeyword">?(</span><span class="syntaxdefault">Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">WIN</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> <br />    Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">WIN  </span><span class="syntaxkeyword">=(</span><span class="syntaxdefault"> not Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">MAC </span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">  end<br />  Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">OSX </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">MAC unless defined</span><span class="syntaxkeyword">?(</span><span class="syntaxdefault">Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">OSX</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">  Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">PC  </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">WIN unless defined</span><span class="syntaxkeyword">?(</span><span class="syntaxdefault">Object</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">PC</span><span class="syntaxkeyword">)</span><span class="syntaxdefault">  </span>
    • honoluludesktopH

      [Plugin] Position_shadows_v1.2 112610

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      9
      0 Votes
      9 Posts
      13k Views
      W
      Well Tig, took the plunge. I just installed this on SketchUp 2016. Works as perfect as ever! Just renamed the .zip file to .rbz. I used to use this one a lot for renders. HonoluluDesktop would be very happy this lives on♫♪♫♪... .. .
    • honoluludesktopH

      V6.0 compatibility

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      541 Views
      J
      @honoluludesktop said: am drawing the icons in Sketchup, and sizing them down with a Win2000 utility. Hmmm...think that's the problem? I will try a high end image editor. Possibly (even likely.) There may be several settings to chose from when resizing the image; some designed for speed, others for quality. That may be all you need.
    • honoluludesktopH

      X-ray

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      265 Views
      J
      Many of the settings associated with Styles are stored in the RenderingOptions. Many of the keys are obvious, some not so much. http://code.google.com/apis/sketchup/docs/ourdoc/renderingoptions.html http://code.google.com/p/skx/wiki/RenderingOptions
    • honoluludesktopH

      Programming Method

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      5
      0 Votes
      5 Posts
      393 Views
      honoluludesktopH
      Jim, Thanks again:-)
    • honoluludesktopH

      Help with unhiding components.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      223 Views
      honoluludesktopH
      OK, thanks. Btw, how did you learn this stuff? Am I not studying the API sufficiently? Addenda: OK, I get it, in OPPS, the child inherits the parents DNA:-)
    • honoluludesktopH

      Rotating objects in space

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      644 Views
      honoluludesktopH
      Well, better late then never. Not as difficult as I thought. First point, then rotate: ` comp.transformation=Geom::Transformation.new(comp.transformation.origin,point_vector) comp.transform! Geom::Transformation.new(comp.transformation.origin,comp.transformation.zaxis, (Math::PI*3)/2)` Thanks everyone.
    • honoluludesktopH

      Programing menu icons

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      244 Views
      honoluludesktopH
      Didier, Thanks, This will speed up access to one of my tools. Addenda: Wow, that was too easy to do.
    • honoluludesktopH

      [Plugin] Select consecutive components v2.0 110510

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      20
      0 Votes
      20 Posts
      35k Views
      honoluludesktopH
      Added current selection of components to all components in the model in this update along with an improved user interface.
    • honoluludesktopH

      AllPlan

      Watching Ignoring Scheduled Pinned Locked Moved Extensions & Applications Discussions extensions
      7
      0 Votes
      7 Posts
      4k Views
      T
      Well, I am a user of Allplan for fifteen years or more and I can say Allplan is a great peace of junk. It's very expensive, it's complicated und there is only a rudiment of a virtual building. The best about Allplan is the money they spend in advertising. So, why I'm so rude? Very easy! Yes, you can build a virtual model and feed it with data. But all functions to get a benefit out of your model are only half developed. There are a lot of known bugs which are not fixed for years and after a main release there are certain new bugs in functions, which worked properly before (e.g. in version 2008 the dimensioning tool was fine, in version 2009 it took a service release to fix it). In the german nemetschek allplan forum are a lot of dissapointed users. They all stay with Allplan, because they paid so much money (and my boss, too) until now and they all HOPE that the bugs get fixed in the next main release. From my point of view I can say: Allplan is far away from a modern BIM-based CAD. The only usable and payable BIM-based CAD I know are ArchiCAD and Revit. Torben
    • honoluludesktopH

      Duplicate &quot;edit component&quot; with api methods.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      540 Views
      honoluludesktopH
      Thanks, fellows. Sometimes it's not as simple as I think, then after I'm done, its simpler then I think:-) Tig, That's neat, didn't know I could do that. The reverse face application requires the faces to be in Sketchup.active_model.entities. The faces are picked in terms of it's pixel location on the monitor. Maybe I first have to group the loose entities, then process all the groups, and components one at a time. Sometimes I write this stuff, just to see if I can. It doesn't take that much more work to open each component manually, and run the plugin Reverse_Backfaces each time.
    • honoluludesktopH

      ComponentInstance.explode

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      315 Views
      honoluludesktopH
      Thanks, gotit. Hope I don't forget!-)
    • honoluludesktopH

      [Plugin] Reverse_back_face_v1.9 102910

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      31
      0 Votes
      31 Posts
      32k Views
      A
      I like it!good!
    • honoluludesktopH

      [HELP] with Weld

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      5
      0 Votes
      5 Posts
      510 Views
      honoluludesktopH
      Got it, thanks. The relationship between faces, and edges are not as obvious as I thought they are. [image: mat0_Temp00.jpg]
    • honoluludesktopH

      [Plugin] Point_Component v2.4 2009

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      16
      0 Votes
      16 Posts
      19k Views
      FrederikF
      @gbterstal said: Thanks so much Honoluludesktop. Just for the record... HonoluluDesktop died a few years ago... August 5th 2011 in San Francisco... http://sketchucation.com/forums/viewtopic.php?f=179&t=40819
    • 1 / 1