ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Pipe diagrams to models - plug in

    3
    0 Votes
    3 Posts
    355 Views
    chrisglasierC
    Thanks very much TIG - here is a first try at the conduit - so easy.[image: kDoy_pig031.png] I think it has great potential, even maybe going straight from concepts to auto-modeling ... a kind of machine made provocation - 'what's wrong with this?'
  • Shade study

    13
    0 Votes
    13 Posts
    2k Views
    L
    Thanks, For now this shade analysis ruby worked for me. http://forums.sketchucation.com/viewtopic.php?f=323&t=18222&p=150950&hilit=shade+analysis+tool#p150950
  • Shadow Settings in the API

    4
    0 Votes
    4 Posts
    250 Views
    Dan RathbunD
    See BUG report I posted: http://forums.sketchucation.com/viewtopic.php?f=11&t=27534 Which apparently was noticed by others as early as 5 years ago (and it's still NOT fixed!)
  • Fast way to toggle visibility

    6
    0 Votes
    6 Posts
    362 Views
    N
    Good point. Thanks
  • Cursor snapping to a nearby point...

    5
    0 Votes
    5 Posts
    362 Views
    A
    ThomThom, Again, thanks for your speedy and gracious response. You've provided some good information. Time permitting, I'll work on this this weekend and hopefully come to a better understanding. Take care!
  • LayOut xml structure

    2
    0 Votes
    2 Posts
    222 Views
    Dan RathbunD
    XML structures are normally specified in a XSD (XML Schema Definition) file. Check the header in the XML file to see if a URL link to a Schema file is specified.
  • Detect OSX on Intel and pre-Intel systems?

    6
    0 Votes
    6 Posts
    523 Views
    thomthomT
    I just checked on an older PPC mac. So to sum up this thread: ` # Sketchup Ruby OSX 10.4 PPC * RUBY_PLATFORM: fat-darwin8.8.0 * RUBY_VERSION: 1.8.5 Sketchup Ruby OSX 10.5 Intel * RUBY_PLATFORM: i686-darwin8.10.1 * RUBY_VERSION: 1.8.5`
  • OSX key "menu" ?

    2
    0 Votes
    2 Posts
    246 Views
    tbdT
    I think it is a typo, as it is the ALT key on Mac. tested with a simple tool.
  • Translate My Documents

    18
    0 Votes
    18 Posts
    1k Views
    J
    Hopefully, this file will work. It uses the system call ShGetFolderPath or ShGetSpecialFolerPath to retrieve the folder, so maybe the paths will be localized. @thomthom said: But on XP the folder names for sure is localised. I can try later today on my old laptop with Norwegian XP. I'd be interested to see if it works.
  • Layout, google doc API

    2
    0 Votes
    2 Posts
    431 Views
    thomthomT
    There is no scripting API for layout, no.
  • Mac WebDialog & Flash

    24
    0 Votes
    24 Posts
    4k Views
    scottliningerS
    @thomthom said: Like AJAX solutions often do? This approach is most often used for "inter-frame" communication. If there are 2 frames in a page that are hosted on different domains, the JS in one is not allowed to access the other, but many browsers allow you to change the fragment identifier regardless of security, so it might work in this case. (There are a handful of other mechanisms people have used to get around frame-2-frame security, and any of them might work. Searching on the topic might give us a clever workaround.) Ajax apps will often modify the fragment to maintain state in the URL, so you can still email URLs around and have your friends land on the same "page" inside an Ajax app.
  • Global.bounds (is there a way to mimic this)

    5
    0 Votes
    5 Posts
    394 Views
    DavidBoulderD
    thanks, I'll give that a try. David update: Chris, thanks! that worked perfectly.
  • Observers not garbage collected?

    3
    0 Votes
    3 Posts
    260 Views
    thomthomT
    This is somewhat troublesome. One would then have to be very careful when creating observer instances. Ideally only create one instance - ever, if possible. And also clean up any references the observer has to other objects when possible, as otherwise they won't be GC'd either. grumble refactoring time.
  • Problem while creating a circle ?!

    4
    0 Votes
    4 Posts
    263 Views
    thomthomT
    ooops!
  • How to retrieve an observer attached to an entity ?

    11
    0 Votes
    11 Posts
    565 Views
    Didier BurD
    Me stupid
  • How observers work ?

    18
    0 Votes
    18 Posts
    2k Views
    thomthomT
    @dan rathbun said: @thomthom said: @dan rathbun said: (1) Jim did not subclass from Sketchup::ShadowInfoObserver No need. Su doesn't care. Just implement the methods required. I knew that Sketchup does't (currently,) check the observer's superclass. But isn't it a matter of good Ruby programming practice? And, what if (in the future,) Google implements some built-in methods, constants, etc. in the superclass that will need to be inherited by your custom observer's subclass(es)? You'd have to go and edit and re-release all your plugins that use observer's. Kind of seem to be by design: http://forums.sketchucation.com/viewtopic.php?f=180&t=17047&start=150#p171636
  • NEW SUTOOL 2010

    27
    0 Votes
    27 Posts
    5k Views
    GaieusG
    @gavvy said: em~~ Gaieus Maybe you don't know the pass of them. I love Sketchup Very Much,and they claim they are "China Sketchup Official website".why? And much other things of them OK, that explains much! Sorry for my ranting!
  • SketchUp Crashing w/o Bug Splat

    2
    0 Votes
    2 Posts
    302 Views
    M
    And again. This time bar should have been @foo.bar.
  • Splitting strings around 2 parameters

    18
    0 Votes
    18 Posts
    799 Views
    Dan RathbunD
    @thomthom said: And it really is counter-intuitive the way Ruby 1.8 works. Agree! .. but at least they revising Ruby to correct things the way they should be.
  • Overlay text on screen as part of a ruby

    3
    0 Votes
    3 Posts
    297 Views
    Dan RathbunD
    @davidboulder said: This isn't data that will just pop up while something is running. It would be on the screen while the user is working on the model. This rules out view.draw_text as this can be done only inside a custom Tool, and the user would be using other tools (standard and custom.) @davidboulder said: ... but I thought a screen overlay head's up display for some data would be slick. Might be... but some users find overlays annoying, and would want a way to turn them off. @davidboulder said: I guess my third option is just to keep the data as part of a dialog box; Best idea is a Webdialog. The user could have it floating anywhere, resize it to their liking, and close it when they wish. FUTURE: Perhaps someday the API might include a dockable DataBar class (similar to the StatusBar.)

Advertisement