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

    Topics

    • Dan RathbunD

      [Plugin] Dialog Cascader - recover and collect Ruby dialogs

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      2
      2
      0 Votes
      2 Posts
      55 Views
      massimoM
      Moved to plugins section as requested.
    • Dan RathbunD

      [code] Calculate volume on manifold surface without grouping

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      2k Views
      No one has replied
    • Dan RathbunD

      [code] format volume in model units

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      2k Views
      No one has replied
    • Dan RathbunD

      [Code] Geometry Creation from Excel worksheet data

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      2k Views
      Dan RathbunD
      @picpic020960 said: how to for write data to excel from ruby ? Try something simple like: def set_value(row,col,val) # @xl.activesheet.cells(row,col).value = val # end ### set_value() @picpic020960 said: other question : [Do you know if there] exists 'macro' recorder as in Excel ? Whatever exists in Excel, and has a built-in VisualBasic interface, can be accessed via WIN32OLE (from Ruby.) So, refer to the VisualBasic object model for Excel: MSDN: Object model (Excel VBA reference)
    • Dan RathbunD

      Auto show plugin window at startup

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      1k Views
      Dan RathbunD
      @sawdust_online said: Tell me, can we deal with sketchup API and another language than Ruby? ... is there any other way ? You can write extensions in C & C++. @sawdust_online said: I use it for about a week but I'm not sure to go deeper. At first it looks as a strongly typed language easy to use for developers but this doesn't turn real. How a language could be easy if it requires two keys for commenting a single line? it's the first time I meet such odd thing! It would be better to start a new topic about the Ruby language. Or repost your thoughts to one of the old topics... Should we / could we learn Ruby? Where to Start with Ruby?
    • Dan RathbunD

      Can I "forget" a thread I've posted in ?

      Watching Ignoring Scheduled Pinned Locked Moved Ideas Box & Board Issues
      12
      0 Votes
      12 Posts
      10k Views
      Dan RathbunD
      I looked to see if there was a delete button, but do not see one. Perhaps the post is too old ?
    • Dan RathbunD

      [Library] Ruby v1.8.6-p287 Standard Libraries as an RBZ

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      1
      0 Votes
      1 Posts
      183 Views
      No one has replied
    • Dan RathbunD

      [Code] better inputbox() wrapper

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      202 Views
      No one has replied
    • Dan RathbunD

      Versioning

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      355 Views
      tt_suT
      It's still unclear what release they are scheduled for. Sometimes these things end up in new releases only - some times they backport the fixes.
    • Dan RathbunD

      [Talk] Ruby Debugger for SketchUp 14+

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      45
      0 Votes
      45 Posts
      6k Views
      T
      @avariant said: When displaying data about a variable, does it volunteer variable names or does it just respond with a value? I would be very disappointed to find out it did The debugger is exposing nothing new here, the same thing could be done anyway through any of the SU consoles by any savvy Rubyist - using nothing but standard Kernel method calls. Setting trace functions and using the returned bindings to read local and instance variables, get the current method and its call signature, read the call stack etc... can all be done from even the most basic install of Ruby. You can't actually read the code lines unless they are in a 'plain text' source file (the scrambler presumably 'evals' the unscrambled code, which precludes seeing the source) - but there's not much that can be done to secure the other information without losing the consoles - which would make life very difficult for the amateur developers that we all rely on for our toys!
    • Dan RathbunD

      [Code] encapsulate instance into group

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      319 Views
      Dan RathbunD
      Updated (2014-03-16) to copy properties of old instance to the new one.
    • Dan RathbunD

      Fooling the EW?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      328 Views
      fredo6F
      In my case, LibFredo6 is registered as a true extension. If you disable it from the Extension Dialog box, then all my scripts relying on LibFredo6 will be disabled. I do agree that SU should provide some built-in support for scripts relying on a common library as this becomes more frequent: managed the requirement of the Lib possibly check its version for compatibility Fredo PS: I wonder why there is a field requirement when you upload a plugin, but it is not displayed in the PS tool browser window.
    • Dan RathbunD

      [Code] SU8 Cleanup User Toolbar entries

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      153 Views
      No one has replied
    • Dan RathbunD

      Windows 8 GUI sucks !

      Watching Ignoring Scheduled Pinned Locked Moved Hardware, Software & Gadgets
      6
      0 Votes
      6 Posts
      778 Views
      A
      Isn't the Windows 8 UI a logical consequence from the previous versions? While a technology (graphic processors) is being learned, improved and polished, its development progress is showcased by mediums that it was not intended for (window effects like glass&shadows and other gimicks) and finally overexaggerated in a playful manner. Once this development is completed, the skills are applied for different purposes but don't play a visible role on the scene: [image: b4Xs_0.png]
    • Dan RathbunD

      SketchUp 2013 Gripes & Bitchin' ONLY ;)

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      306
      0 Votes
      306 Posts
      19k Views
      Dan RathbunD
      I only made this thread so people could bitch without starting a flamewar in the other thread.
    • Dan RathbunD

      [Plugin] Hypocycloid Cam Profile Generator v1.0.0

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      12
      0 Votes
      12 Posts
      5k Views
      Dan RathbunD
      @gullfo said: looks more like the former than the latter... SEE wikipedia: Cycloidal Drive This has nothing to do with curves made with the Spirograph toy !
    • Dan RathbunD

      [Plugin] Qpik::SimpleRays v1.0.1

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      13
      0 Votes
      13 Posts
      18k Views
      Q
      tamic I use it with SketchUp 7.0 It saves new textures either in the folder your model is saved or in a temporary folder and then replaces materials in the model so you should see it right away I just started a similar project but using Blender https://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=67569
    • Dan RathbunD

      [Code] User::ToolbarSet collection

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      272 Views
      Dan RathbunD
      UPDATED code in 1st post to v2.0.1, in refresh() method's next statement to avoid a vicious loop. (We use Hash#has_key?(key) rather than Hash#[key]!=nil, because our v2.0.0 update makes the [] method call the refresh method, so we must be very careful from within the refresh method that any [] method call does not cause a unwanted or unneeded, call to refresh.)
    • Dan RathbunD

      [Code] save Camera properties method

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      284 Views
      Dan RathbunD
      @greenskp said: all this code is to work in MAC and PC? Yes it will work on both Mac and PC. BUT it is meant for you to copy it INSIDE your plugin sub-module.
    • Dan RathbunD

      [Code] Scene Page flags getter method

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      115 Views
      No one has replied
    • 1 / 1