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

    Topics

    • D

      Yet another SphereTool

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      20
      0 Votes
      20 Posts
      430 Views
      thomthomT
      For UVs I won't matter. It was just odd to see a one segment Curve. I noticed it because the Smooth and Sort property was gone in the Entity Info when I selected one of them.
    • D

      AppleScript, Ruby, Threads and Unix... help!!!

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      269 Views
      D
      Cheers Dan, I'm sure a timer before but will revisit... for the moment a couple of us have highjacked Jeffs thread, to work a few thing out... I'll post some bits back here when there usable... john
    • D

      Upgrading OSX from 10.5 to Mountain Lion?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      18
      0 Votes
      18 Posts
      1k Views
      D
      I've got that on my macBook Pro and when I completely dorked my iMac 48hrs ago, I wanted to use it to do a rescue but both partitions where to small... I kicked myself because I haven't used the 'old' OS on it since I updated, just haven't found a reason to and had forgotten it was there, taking up space. luckily, I was able to use unix in single user mode to rm the offending software and rescue my drive [no backups...] word of warning LittleSnitch and CodeWeaver combined, can dork pThread's causing complete system lockdown.
    • D

      Is mac set_html working, again?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      16
      0 Votes
      16 Posts
      2k Views
      D
      I nicked this from the other thread, because thought it was appropiate to something I wanted to say... @thomthom said: @jolran said: So doing like that and putting in an image for button like below would work on Mac? It used to work, then it didn't. Then it might be working for some. But not me. I wouldn't rely on it. I agree, for now, for general release plugins, but I like using set_html with Heredoc for simple short scripts, like toolbar buttons. If your on the 'evil' WebKit version you could use the same basics but write to file the use set_file I'll dig up the unix call to check webkit version, then a conditional could do either/or thoughts... john
    • D

      Bicycle Thread

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      1
      0 Votes
      1 Posts
      115 Views
      No one has replied
    • D

      Mac UI.messagebox - hud and timeout

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      38
      0 Votes
      38 Posts
      2k Views
      D
      That's what was happening here, the block bit, until I put it in it's own thread. @bht= Thread.new { Thread.current["name"] = "BHT"; system("bht_su"); Thread.exit} john
    • D

      Mac Ruby Console is multi-line

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      1k Views
      D
      Hi all you avid followers... For the record, I've been using the modified nib constantly for a over a week now and thought I'd make some comments. The cursor is a little hard to spot in 'hud' mode as I can't change it from the normal text input 'black', but being able to see through to the model more than compensates. It's hard always remembering to Alt/Return for newLine as Return is Submit. I have it set to always stay on top, very handy when working with an external editor, but I'd rather be able to toggle that. I discovered last night that it has a back/forward function, i.e. using the arrow keys you can go back 1..3 inputs, tweak and re-submit. This makes a inputing instead of newLine error a bit less of an issue. If there are any mac users interested in trying this out 'speak up' or is it t'ype up'. I'm happy to PM my 'findings' for your perusal, but I won't be attaching NIB files to this post. john
    • D

      Mac Unique 'per model' ID: question

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      191 Views
      D
      @dan rathbun said: object_id is a Ruby integer, that is only unique within a single session. It will be reused in the next session. (The possibility exists that you may get that integer assigned to another model, in another session. With this 'Untitled[0..-1] Sketchup' is always reports 'Unsaved_260629430_su.txt' until one of them is has been written to, then the number sequence randomizes. If I 'Save' an 'Unsaved_260629430_su.txt' the full script will (eventually) update and re-name it's file. I also have a cleanup sequence for closed unsaved models. I'll try and wrap it all, and see how it goes. john
    • D

      Mac truncates tool names question.

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      250 Views
      Dan RathbunD
      @dan rathbun said: For custom Ruby tools, active_tool_name is always "RubyTool", and active_tool_id is always the same integer, something around or slightly more than 50,000. (Yesterday it was giving me 50006 for any custom tool I activated.) Actually just tested this again... (because something seemed weird, as I was sure in the past that I had gotten different tool ids for custom tools.) And what is happening is that unique tool ids DO get assigned (it seems,) if the tool is associated with a UI::Command object. Then in this case the tool_id is actually the command id. How this happens, I have not yet figured out.
    • D

      User Debug Aid Plugin

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      968 Views
      jeff hammondJ
      ah.. ok.. i see @driven said: the easiest way to load individual plugins is to click add, and under a new Plugins menu there's only Plugin Loader, submenu load single plugin. as you add them your menus grow and the work as normal. yeah, i want to set skindigo up to do this (it messes with the new windows so i can't close them super easily).. can you also turn an individual plugin OFF with this? [ie- load skindigo when i want but easily prevent it from loading on my next launch?] that said, i do have a request in to whaat to make skindigo an extension or try to fix the mac error.. this would work well until that time.. i'm currently renaming skindigo in the plugins folder to keep it from loading when i don't want it.. kind of a hassle..
    • D

      GUI Toolkit: Shoes

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      600 Views
      Dan RathbunD
      Never saw that before.. it's kinda weird the way it's setup, but alot like MacRuby also. He seems to have put a Ruby interpreter inside it, so I don't know yet.. may take a huge rewrite to have it work in a normal Ruby way. And then there's the issue of communicating with the Sketchup app... he's seems to have gone out of his way to be sure each "Shoes" app is separate.
    • D

      Enable Web Inspector in WebDialog on Mac

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      9
      0 Votes
      9 Posts
      2k Views
      TommyKT
      @driven said: Tommy, just set it as a global preference and it works for SU and Safari... defaults write NSGlobalDomain WebKitDeveloperExtras -bool true paste into Terminal or wrap in %x() from Ruby Console... john YES! IT WORKS! SO SIMPLE! THANK YOU!
    • D

      Ruby 1.8.6 on Mac

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      7
      0 Votes
      7 Posts
      700 Views
      M
      I changed two linkes to get the os x 10.6 bundled ruby 1.8.7 (patchlevel 174) Also for me everything seems to work. cd /Applications/Google SketchUp 8/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/A mv Resources Resources.back mv Ruby Ruby.back ln -s /System/Library/Frameworks/Ruby.framework/Versions/Current/Resources Resources ln -s /System/Library/Frameworks/Ruby.framework/Versions/Current/Ruby Ruby to change back: cd /Applications/Google SketchUp 8/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/A rm Resources rm Ruby mv Resources.back Resources mv Ruby.back Ruby
    • D

      Browserscope

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      265 Views
      thomthomT
    • D

      MAC-SU utility tool needs some testers

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      734 Views
      D
      @tfdesign said: John, would you be so kind as to explain what a "Mac editing Bridge" actually is? I'm sure if you explained what you are trying to achieve in a clearer, more 'laymans terms' kind of way, there would be far more interest. Tom Hi Tom, If you have an interest in how to make or fix rubies to use on a PC there are a couple of 'Bridges' that you can use between SketchUp and a more familiar or powerful script editor that you fancy. Their called bridges because they allow two way communication with SU to varying degrees. That means your not guessing as much, because you can check more often in a given time frame. No such 'Bridge' exists for Mac-SU, so you do a lot of copy/pasting between the external editor and Ruby Console. A second issue then arises is that SU has some limits to how many 'lines' you can copy/paste in before it 'bogs-down' and you need to 'purge' Ruby Console. Of course there's no Mac equivilent of the PC purge ruby, so you need to quit, restart, close the buggy start page, open a new page, open Ruby Console and then start copy/pasting again until it's slow or 'bug-splat's'. In a single session, you might this 100's of times, and it's a pain. So, I started playing around with Applescript to ease some of my pain, and found I can get it to do quite a bit in SU through UI [user imput] manipulation. That means, if there's a Menu Item, a Window Button, a Shortcut Key, etc... you can click it with applescript. (I highlight can because the how can be tricky) SU also uses a self preservation ruby, so some thing's can't be done from inside (an example is that a plugin in SU can't tell SU to quit, unless it does it through a separate external process) So, while I've been improving on these scripts/apps for my own use, I just thought there may be others interested. The 'new with my toolbars' and the 'kill button' alone would make life easier if you open SU more than twice a day and use 'beta' plugins. The next step is to get applescript to switch out the plugins before starting SU, so you have a button for drawing tools, one for advanced editing, one for prepping renders, or whatever. Applescript is brilliant at moving files around for processing in the background, so there's a lot of potential once we have a library of what works. Personally I've spent a great deal of time looking for 'cross platform' solutions when there may actually be very good built in tools for many of the problems. Every Mac owner has the very powerful 'Script Editor' and 'Automator' as standard and can upgrade to 'Xcode' from their instal disc's if they wish, so I think it's worth a look... cheers for your interest, I'll post the update for the app on the other 'Mac' thread for now. john
    • D

      Rhino SDK goes open source

      Watching Ignoring Scheduled Pinned Locked Moved Freeware
      2
      0 Votes
      2 Posts
      2k Views
      E
      Too technical for me... But that would be like SketchUp's Ruby going Open Source, right? But isn't it free for anyone to develop ruby plugins for SketchUp? Or do you want the SU developers to let anyone participate in the process of creating SU's Ruby language?
    • D

      Syntax Highlighting in SU WebDialog

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      13
      0 Votes
      13 Posts
      2k Views
      alexschreyerA
      The Ace highlighter looks very good, too. Great to see a few of these popping up now. However, I just fixed my Ruby editor up with Codemirror, so I am not moving... I'll have an updated version of my editor ready after a bit of testing. Here is a picture for now: [image: 5MTg_2011-04-08_1623.png] Cheers, Alex
    • D

      HELP setting up a SU code editor

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      97
      0 Votes
      97 Posts
      6k Views
      C
      I did a search on the aptana site for "sketchup" and didn't find anything. Are there any installation instructions on how to pair up aptana and sketchup? @thomthom said: That's an interesting article. @unknownuser said: You can download Aptana Studio and RadRails, but the installation process is long and complicated. Besides, if you just want a Ruby editor, downloading a 30-day evaluation version of the gigantic Aptana Studio isn't worth it. Complicated installation process? And the thing is free. http://www.aptana.org/ Anyway - are you able to set breakpoints etc in SU plugin scripts and run them from Eclipse?
    • D

      Design Contest, not SU.....but $2500 ain't bad

      Watching Ignoring Scheduled Pinned Locked Moved Corner Bar
      1
      0 Votes
      1 Posts
      131 Views
      No one has replied
    • D

      Mac Snagit Beta

      Watching Ignoring Scheduled Pinned Locked Moved Freeware
      13
      0 Votes
      13 Posts
      3k Views
      Dave RD
      Edson, based on your report, I guess I'll wait, too. Thanks. Dave
    • 1 / 1