ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • .rbs files not loading at all.

    5
    0 Votes
    5 Posts
    934 Views
    A
    Don't know, whether the "old" standard Ruby "require" is really needed for all scripts. If you do not need it at all, WHAT is Sketchup.require doing? Does it use the "old" "require"? If not you can think about replacing it dynamically: module Kernel def require *args Sketchup.require *args end end (not tested, maybe the asterisks are on wrong place) After that you can use the "old" require and get the behaviour of the Sketchup "require" azuby
  • Face Align work around

    2
    0 Votes
    2 Posts
    617 Views
    D
    Note Forgot to comment in file xline is created to keep from selecting as path and to use for axis setting as a single line only provides the x axis refference to the align ruby dtr
  • Odd Ruby Error

    4
    0 Votes
    4 Posts
    1k Views
    G
    Thanks Todd! I never could have imagined that the spelling was different!!!! I REALLY feel stupid now.....................
  • Does it exist a "repeat last command" script??

    5
    0 Votes
    5 Posts
    1k Views
    T
    I would call that "recording of a macro". And as of today - no can do. Sketchup is closer to being able to do this with V6, but there are not enough "hooks" to get there yet. It would be a nice feature. Todd
  • I was bitten in the hiney by *nix

    3
    0 Votes
    3 Posts
    700 Views
    T
    FreeBSD I believe.
  • Keeping control over very long tasks

    2
    0 Votes
    2 Posts
    700 Views
    AdamBA
    I've had no success either. I guess its because if you look at how its recommended to embed Ruby in an App, its a very simple ruby_run() model. So SU may be multi-threaded or not, but the call to Ruby is a busy wait. Pretty much the only thing that does work is spawn a Ruby thread that twiddles the Sketchup.set_status_text Adam
  • An idea: topography in sketchup (I am not a programmer :-( )

    9
    0 Votes
    9 Posts
    2k Views
    A
    i spoke about a case, when a face-origin pyramid is partially inside and partially outside of the calculated shape but maybe since complicated things tend to be trivial once you get the 'clue' after adding all the pyramids together you will get the correct result, forgive me for being sceptic... comparing your and the original 'slicing' method could prove your point
  • Drop.rb script upgrade suggestion

    4
    0 Votes
    4 Posts
    3k Views
    A
    TBD thanks for your encouragement, will share for sure, it's fairly easy with the bounding box proposal from above - will get to it tomorrow, hope that method works stay tuned
  • Ruby Menu Attempt

    3
    0 Votes
    3 Posts
    762 Views
    CadFatherC
    TIG thanks, thought i'd try..
  • [SKM Bug]Material attributes within SKM files

    11
    0 Votes
    11 Posts
    2k Views
    T
    Here are my findings in relation to attributes assigned to the SKM file: SU will not save an attribute containing an array or hash SU will save multiple keys within single attribute dictionary .. but will load only first! In attached sample there are three keys saved: <n0:AttributeDictionary count="3" name="su2kt"> <n0:Attribute key="kt_lib_path" type="10">TEST1</n0:Attribute> <n0:Attribute key="kt_map" type="10">KT MAP</n0:Attribute> <n0:Attribute key="kt_mat" type="10">KT MAT</n0:Attribute> but only first kt_lib_path will be loaded I am afraid only a fix from Google would help. Tomasz http://www.sketchucation.com/forums/scf/sas/Ruby/Silver.zip
  • Toggle between section cuts

    5
    0 Votes
    5 Posts
    1k Views
    F
    I usually have camera scenes, and then scenes that save something else, different section cuts for instance. Different phases on diff. layers, or whatever... so in one cam. I can show 3 diff. phases, 3 diff. section cuts, then move to the next view, and do it all again...very powerful w/ clients and bosses.
  • Setting Tool Tip?

    4
    0 Votes
    4 Posts
    654 Views
    B
    hank You, I'll give it a try
  • Search Bounding Box-Script

    3
    0 Votes
    3 Posts
    564 Views
    G
    Also there's this http://www.smustard.com/script/ChamferAlongPath The old SU forum needed to move in order to gain access to the greater Google resources to better support the growing user community http://groups.google.com/group/sketchup-Pro-Groups.
  • Shadow on a transparent surface

    4
    0 Votes
    4 Posts
    858 Views
    S
    You probably already know, but just in case: if you turn the opacity to 70 or higher, it will then receive shadows. Or at least that was the rule when they first introduced transparency in SketchUp. Haven't tried it since \ Juat checked. That measure has to do with casting shadows, not receiving them. sorry about that.
  • Can't create a scrollable web dialog. Bug?

    4
    0 Votes
    4 Posts
    1k Views
    T
    It's a bug. I reported it to Google for you. Todd
  • Two Web Dialogs Open Together

    2
    0 Votes
    2 Posts
    530 Views
    J
    Yes, it's possible. It sounds like you may have opened the dialog as a modal dialog.
  • Length woes

    11
    0 Votes
    11 Posts
    1k Views
    G
    I actually found this implied in an example in the length class API. If you use a float, the math comes out like you would expect. The Length class is where this changes (as Al suspected). Notice that the 0.001" value that I got while testing is not mentioned as a limiting factor. @unknownuser said: < The < method is used to see if one length is less than another length. Syntax status = length1 < length2 Arguments length1 - a length value length2 - a length value Return Value status - true if length1 is < length2; false if length1 is not < length2 Comments For example, if l1 = 1.0.inch and l2 = 1.000001.inch then l1 == l2 so l1 < l2 should return false.
  • Add to existing sub-menu

    8
    0 Votes
    8 Posts
    715 Views
    T
    That's the best way to do it for now Chris. Todd
  • Ruby scripts

    4
    0 Votes
    4 Posts
    708 Views
    GaieusG
    Ah yes, that also often happens.
  • Ruby API Documentation Problems

    2
    0 Votes
    2 Posts
    633 Views
    CraigDC
    Hey g2ktcf, we're looking into this problem on our side. Thanks for reporting it! Cheers, CraigD

Advertisement