⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Ruby 1.9 is fast!

    12
    0 評價
    12 貼文
    709 瀏覽
    AdamBA
    Yes. Late binding allows lots of flexibility.
  • Vertex Normals Not Smoothing on Plain Geometry

    6
    0 評價
    6 貼文
    462 瀏覽
    D
    Thanks for all the help. I found the problem. Apparently if you add some geometry to the scene using ruby and then try to export a mesh of non-component geometry, the normals become unsmoothed. An odd quirk.
  • Creating a Custom Line Tool

    9
    0 評價
    9 貼文
    986 瀏覽
    Chris FullmerC
    I agree. I tried to use the linetool to learn how to make a tool, as the API suggests. I got so confused. It is a pretty complex tool, at least more complex than it should be if it is being pointed to as a good script for beginners to learn from. Chris
  • Adding dynamic attributes to multiple objects

    19
    0 評價
    19 貼文
    1k 瀏覽
    N
    Guys, Thanks for your help! Great insight.
  • Pipe diagrams to models - plug in

    3
    0 評價
    3 貼文
    397 瀏覽
    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 評價
    13 貼文
    3k 瀏覽
    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 評價
    4 貼文
    319 瀏覽
    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 評價
    6 貼文
    427 瀏覽
    N
    Good point. Thanks
  • Cursor snapping to a nearby point...

    5
    0 評價
    5 貼文
    418 瀏覽
    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 評價
    2 貼文
    246 瀏覽
    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 評價
    6 貼文
    578 瀏覽
    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 評價
    2 貼文
    272 瀏覽
    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 評價
    18 貼文
    1k 瀏覽
    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 評價
    2 貼文
    455 瀏覽
    thomthomT
    There is no scripting API for layout, no.
  • Mac WebDialog & Flash

    24
    0 評價
    24 貼文
    5k 瀏覽
    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 評價
    5 貼文
    470 瀏覽
    DavidBoulderD
    thanks, I'll give that a try. David update: Chris, thanks! that worked perfectly.
  • Observers not garbage collected?

    3
    0 評價
    3 貼文
    296 瀏覽
    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 評價
    4 貼文
    303 瀏覽
    thomthomT
    ooops!
  • How to retrieve an observer attached to an entity ?

    11
    0 評價
    11 貼文
    694 瀏覽
    Didier BurD
    Me stupid
  • How observers work ?

    18
    0 評價
    18 貼文
    2k 瀏覽
    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

Advertisement