sketchucation logo sketchucation
    • Login
    1. Home
    2. todd burch
    3. Posts
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 55
    • Posts 903
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: I was bitten in the hiney by *nix

      FreeBSD I believe.

      posted in Developers' Forum
      T
      todd burch
    • I was bitten in the hiney by *nix

      I wrote a ruby script in TextWrangler (on a Mac) and saved it (OK, I've written dozens, maybe hundreds...πŸ˜„ ). Howevber, this time, I inadvertently hit the space bar after the ".rb" and saved it. Then, not realizing a blank got added to the name, I attempted to load it and it could not be found. After messing with it, I realized the blank was saved as the third character after the "b" in .rb.

      Entering load 'myscript.rb' failed, while entering load 'myscript.rb ' worked! Fat thumbs beware! Leading and trailing blanks are significant on *nix system. Only took me 10 minutes to figure it out.

      Who would have thunk.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Setting Tool Tip?

      Sketchup.set_status_text("This is for Baker518, the official Ruby Programmer today")

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Can't create a scrollable web dialog. Bug?

      It's a bug. I reported it to Google for you.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Can't create a scrollable web dialog. Bug?

      I have not had that bug, but I don't run Vista or IE 7 either.

      The scrolling should indicate that a scrollbar will be shown IF NEEDED. Does resizing the window to make it smaller cause a scrollbar to show up? Do you have enough data elements in your dialog to cause it to not fit within the specified area?

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Length woes

      Try Float::EPSILON.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Add to existing sub-menu

      That's the best way to do it for now Chris.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Add to existing sub-menu

      No can do. We asked for this a year and a half ago, or so.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Blank Method in "Face" Class

      Woo-Hoo!! Time for a SketchUp lunch get-together!! (there are others!)

      Seriously, this week or next? Lupe Tortilla's - Hwy 6 & I-10.

      posted in Developers' Forum
      T
      todd burch
    • RE: Blank Method in "Face" Class

      Somebody's got to do it!

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Blank Method in "Face" Class

      I sent an email to a developer in Boulder. πŸ˜‰
      No, the SDK does not cover stuff like this.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Blank Method in "Face" Class

      Your list is pretty close to being perfect. Here's the official word (and no, these are not defined constants... yet).

      PointUnknown = 0;
      PointInside = 1;
      PointOnEdge = 2;
      PointOnVertex = 4
      PointOutside = 8;
      PointNotOnPlane = 16;

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Blank Method in "Face" Class

      I'll check. Good research.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Fisheye?

      To the best of my knowledge, it cannot be done from Ruby. The controls that Ruby has over the view are merely what are available through the standard SU dialogs.

      Perhaps OpenGL supports this, I don't know.

      Nice shoes.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Fisheye?

      The most you can get is 120 degrees. You can select Camera > Field of View and simply type 120 and press return. Why the desire for a Ruby script?

      Todd

      posted in Developers' Forum
      T
      todd burch
    • SketchUp Ruby scripts Blog

      Who owns this blog? Please do not link to ScriptSpot for Smustard scripts. Besides, the links are dead.

      As for some background, the owner of ScriptSpot was very eager to have content on his site, so he, without permission, registered my name as a user, uploaded several of my scripts, and added comments "from me" such as you see. He has since ceased that activity and apologized.

      We may work out an arrangement with ScriptSpot in the future, but as it stands now, there should be no Smustard scripts on his site.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Save skp file errors

      FYI. The default path for model.save is not where you would expect, nor, the current working directory. Save a unique name and search for it. It's probably going to C:\Documents and Settings\Default User\Local Settings blah, blah or some such location. I've put in an enhancement request to make it more obvious/intuitive/documented.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Purge

      There is a RemoveMaterials at http://www.smustard.com/script/RemoveMaterials that will remove all materials in use in the model. I suspect there is a collapse everything to layer0 script around somewhere too - maybe on Didier's site. I don't remember seeing a script for removing all styles though. I wrote a PurgeManager back during the V6 beta, but never released it. It uses WebDialogs, has buttons, gives you a before and after image of the counts (before and after purge), and is generally pretty neat. But, I then went on to add the File Size specification, and ran into cross platform issues that turned into bug reports and feature requests, and there it sits - never released.

      Todd

      posted in Developers' Forum
      T
      todd burch
    • RE: Two problems

      The first problem is because the second import came in as a Group. Right click it and choose Explode.

      Todd

      posted in Newbie Forum
      T
      todd burch
    • RE: Vcb and circles

      Well then - that must have been fixed! Nevermind!

      posted in Newbie Forum
      T
      todd burch
    • 1 / 1