sketchucation logo sketchucation
    • Login
    1. Home
    2. thomthom
    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!
    Check out Febhouse | New extensions for Shadow Analysis in SketchUp Download
    thomthomT Offline
    • Profile
    • Following 0
    • Followers 10
    • Topics 635
    • Posts 17,105
    • Groups 4

    Topics

    • thomthomT

      Enable error reporting for WebDialogs under OSX?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      15
      0 Votes
      15 Posts
      3k Views
      thomthomT
      Thanks. I'll try that soon when I get the chance.
    • thomthomT

      JQuery 1.5 Released

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      397 Views
      thomthomT
      @jim said: jQuery 1.6.2 released. Beware to read the change notes from 1.5.x to 1.6.x if you are upgrading.
    • thomthomT

      Software pricing

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      22
      0 Votes
      22 Posts
      2k Views
      tbdT
      true, I am not involved in Podium anymore. and Product No 2 is secret for now - still I left some traces on the net for the stalking purposes now back on making the software worth more than $34.99
    • thomthomT

      Adding local Mercurial project to BitBucket?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      387 Views
      thomthomT
      well, that was easy... cheers!
    • thomthomT

      Optimize Challenge #1 - Find Curves (connected edges)

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      323 Views
      thomthomT
      Faster solution, using hashes for quick lookups: ` === Find Curves === Sorting: 0.306s (11%) Filter: 0.05s Method: TT_Find_Curves Found 4253 curves in 2.62s` Revision 2
    • thomthomT

      Undocumented class: Sketchup::Console

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      767 Views
      thomthomT
      It was just a pseudo code of how the puts behave in SU.
    • thomthomT

      Loop returns non-planar vertices?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      14
      0 Votes
      14 Posts
      1k Views
      Chris FullmerC
      Hi Scott, the question you have is a bit different than the one being discussed here. You might just start a new topic asking the whole group your question - which seems to be specifically "How do I make a wing surface from a list of 3d points" or something along those lines. Your question is a bit burried here in this topic, and you will probably get more eyes seeing your dilema if you just made your own topic. Do you have any programming experience? Not that it matters, you can always learn, I just thought I'd ask.
    • thomthomT

      Add_group( entity ) weirdness

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      681 Views
      K
      @unknownuser said: hmm im somewhat confuses here-why did the face appear to have been shifted to the origin of g1 - instead of preserving it's original position? I think that there is a problem somehow with the transformation of the objects. Following my instructions in the other post: http://forums.sketchucation.com/viewtopic.php?f=180&t=31443&p=276973&hilit=kwalkerman#p276860 the end result is that in the outliner, a group is added to Sketchup.active_model.entities. The transformation of the group is equal to the transformation of the original face in it's original group. Then, when you open the original group for editing, the face appears in its original location. So, there are two major problems: when passing entities into entities.add_group, entities MUST equal model.active_entities the entities passed in retain their original transformation, relative to the previous entities collection, with some strange behavior. -- Karen
    • thomthomT

      Online Editing on Google Project Hosting

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      955 Views
      thomthomT
      That's neat!
    • thomthomT

      Ruby autosplit edge?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      2k Views
      G
      I found a very easy way to auto split crossing edges. Create all edges inside a group when all edges are added to the group, explode the group. Sketchup will automatic split all crossing edges.
    • thomthomT

      New Material Methods! (With bugs :( )

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      25
      0 Votes
      25 Posts
      5k Views
      Dan RathbunD
      @unknownuser said: I'm thinking I could make a debugging monitoring class that loads first and monitors the base Ruby and SketchUp classes and modules for extensions. I also.. have a couple of methods proto'd out. I was thinking they need to be in a common namespace. How about: SKX::Dev ?? @jim said: tattletale. Yep.. I didn't want to "publish" the method publically, as there can be only one "monitor", or they'd be fighting each other to override it. @unknownuser said: "Monitor" because one couldn't just get the load path for any method. Need to hook into at the beginning before anything else. @jim said: I'm not sure you need to "monitor", but an as-needed check of the files in plugins would be sufficient. Much more efficient to 'hook in at the beginning' that way you can detect when a rbs file does an override. Ruby can tell you the file and line number without having to parse actual files. (Even Kernel.set_trace_function can do it.) One issue however is that "the method" will report ALL methods created once monitoring begins, so definately some filtering will be needed to ignore methods added to custom classes and modules. Otherwise you'll flood $stdout or the logging object (file, hash etc.)
    • thomthomT

      WebDialogs made with hashes don't store settings?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      674 Views
      thomthomT
      @driven said: although I think they did before the latest upgrade I tried the hash in V7.1 - didn't work there either. Created the section key, but not any of the position and size keys. @dan rathbun said: I will say that the UI::WebDialog.new() method is "cranky" when it comes to processing arguments... if you put nil as the pref_key arg, the method stops processing the remaining args. I tested that yesterday, Doesn't do that in SU8M1. @dan rathbun said: Note that processing of a hash is also cranky... it doesn't work correctly if string keys are used (at least on SU 7.x,) Seems hashes with keys are cranky as well. I always use symbols. @driven said: has anyone got a working example of any WD that can be re-positioned... You can always reposition and resize after you created the WD object. Note that, if you set a preference key, then the size and position you give in new will be ignored if there exist values in the registry. @dan rathbun said: One of the changes, for SU 8 was an updated user agent string ... I wonder if that's causing this problem? I see the same problems in SU7.1. So it doesn't appear to be new. And I'd be surprised if the web control's user-agent-string affected the a ruby method.
    • thomthomT

      SKX Project? Win32::API ?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      33
      0 Votes
      33 Posts
      3k Views
      Dan RathbunD
      if they were to.. yes are they likely to... if they poke about and learn a bit, and end up using the Installer, they will have minGW compiled Ruby, and should use a copy of the minGW interpreter DLL with Sketchup. ... but if they go with what ever Google gives them .. a large percent of the users, they'll have th mswin32 compiled DLL.
    • thomthomT

      Md5 hash or similar in SU Ruby?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      2k Views
      Dan RathbunD
      Personally I have just used a Ruby %x call using the fciv.exe command line checksum utility that I believe came with the Windows Support Tools. fciv stands for File Checksum Integrity Verifier: Microsoft Download: File Checksum Integrity Verifier
    • thomthomT

      Notepad++ SU8 Ruby API Autocomplete

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      62
      0 Votes
      62 Posts
      18k Views
      B
      Thanks a lot!
    • thomthomT

      Cone Generator?

      Watching Ignoring Scheduled Pinned Locked Moved Plugins
      11
      0 Votes
      11 Posts
      1k Views
      pilouP
      [image: cone-glace.jpg]
    • thomthomT

      [APIBug] Applying current material might cause bugsplat

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      868 Views
      TIGT
      Here's a short code snippet <span class="syntaxdefault"></span><span class="syntaxkeyword">=</span><span class="syntaxdefault">begin<br /></span><span class="syntaxkeyword">(</span><span class="syntaxdefault">c</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> TIG 2011<br /></span><span class="syntaxkeyword">=</span><span class="syntaxdefault">end<br />require </span><span class="syntaxstring">'sketchup.rb'<br /></span><span class="syntaxdefault">require </span><span class="syntaxstring">'SKMtools/material_class.rb'<br /></span><span class="syntaxcomment">###<br /></span><span class="syntaxdefault">def material_from_limbo</span><span class="syntaxkeyword">()<br /></span><span class="syntaxdefault">    mats </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">active_model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">materials<br />    cmat </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> mats</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">current </span><span class="syntaxcomment">### the limbo one<br /></span><span class="syntaxdefault">    cname </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> cmat</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">display_name<br />    cmat</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">name </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> cname</span><span class="syntaxkeyword">+</span><span class="syntaxstring">"x"<br /></span><span class="syntaxdefault">    cmat </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> mats</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">current<br />    cmat</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">name </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> cname<br />    cmat </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> mats</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">current<br />    return cmat </span><span class="syntaxcomment">### now safely added to model<br /></span><span class="syntaxdefault">end<br /></span><span class="syntaxcomment">### usage; cmat = material_from_limbo<br /></span><span class="syntaxdefault"> </span> If you select a material from the library and then immediately run the 'usage' example you will have a reference to the new current material that is added to the model [but currently unused]. The active tool will stay as the paintbucket unless you code an alternative 'tool' change...
    • thomthomT

      [Code] Win32 - Get SketchUp Window Handle (WIP)

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      40
      0 Votes
      40 Posts
      12k Views
      A
      @dan rathbun said: You neglect to show the require() staement that loads Dan Berger's win32-api extensions. (This example does not use the Win32API.so file, that comes "out-of-the-box" with Ruby.) Thanks for pointing that out. Yep, the code above requires win32-api
    • thomthomT

      Launch OSX finder to open a spesific folder?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      665 Views
      thomthomT
      hmmm.... maybe URL encoding them is the way to go... I'll have to try that. That might solve another problem I had when I used system - it would not open non-ASCII paths.
    • thomthomT

      Detect if an extenbsion is loaded?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      1k Views
      J
      @dan rathbun said: No point in me releasing it, as you guys generally don't like these sort of mods, and also Google will not use "unsolicited code contributions" (which is why I now understand why Jim gave up on the SKX project.) I probably shouldn't have - it can still be a valuable project. I think if I/we had pushed through, people would have started to use it and we might have a quality piece of work by now.
    • 1 / 1