💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering Download Trial
  • RUBYMENUS 6

    13
    0 Votes
    13 Posts
    2k Views
    GaieusG

    Sure... I wouldn't even have said anything ifI hadn't thought it was OT regarding your thread.
    That's what I ment in my lates post above. I was wrong...

  • Where can I find standard rubies?

    10
    0 Votes
    10 Posts
    1k Views
    Didier BurD

    See my signature 😄
    350 free scripts 😲

  • Sketchup.get_locale in .rbs files, LangHandler

    3
    0 Votes
    3 Posts
    1k Views
    A

    Well, I wrote my own, stable, tested language handler.

    azuby

  • Ruby Tutorial

    4
    0 Votes
    4 Posts
    933 Views
    A

    ... and most Ruby programmers own this book:
    http://www.pragprog.com/titles/ruby - The Pickaxe

    But be warned: Sketchup includes Ruby 1.8.0 as far as I know. AND Sketchup does not come with most of the libraries mentioned in the book.

    If you can read German, search the old Sketchucation Sketchup forum for the German section / my topics. I've tried to introduce Sketchup-Ruby to a programming newby.

    azuby

  • Changing default values?

    3
    0 Votes
    3 Posts
    689 Views
    PixeroP

    Okay, thanks for your reply.
    I was actually thinking of writing a web dialog for this script at a later stage.
    Just thought I'd test some functionality first without it.
    I guess I'll have to dive into the sea of web dialogs then... 😕

  • KERKITHEA EXPORT PROBLEM

    12
    0 Votes
    12 Posts
    1k Views
    elmerE

    Hi Tomasz,

    Thanks for the trick, was able to save and open model in KT!
    Now all I have to do is learn how to get some good render!!!!

    Thanks again,
    Regards,
    Patrice

  • Community Project : Development of a Sketchup Benchmark Test

    3
    0 Votes
    3 Posts
    1k Views
    tbdT

    how about loading a complex model (with textures, transparent materials, sun activated, ...) and typing in Ruby Console Test.time_display

  • Question - a way to select a set of veritces/end points

    8
    0 Votes
    8 Posts
    2k Views
    G

    There's another option. Scale has lots of subtle 3D control. If only an edge is selected, tugging on the top/bottom, dead-center handle will only raise/lower an end. Tugging at one of the selected edge corner handles would lengthen/shorten the edge along its vector, etc...

    Selecting a face would be similar.

    Face and edge combinations can be scaled. Works swell while in hidden geometry.

    For the greatest control, orbit around the model so the cursor tugging on the handle is in front of some geometry. The closer the geometry is located the better. That's one way to harness inference - using neighboring geometry to finesse/steer the handles. Otherwise scale may seems to go wacko.

    Smoove and Smoove+Shift work, and an offset can be set for controlled, incremental bumping. But I don't use it much. Fine-tuning shapes often means tweaking as little as one edge at a time.

    And of course tools like nudge.rb, nudge bits and pieces. That's real handy.

    Using scale to move vertices like this means some initial 3D movement of geometry first to get a 3D bounding box.

    http://www.sketchucation.com/forums/scf/sas/Ruby/kitty.jpg

  • Question - Can User Defined Axis be recognized in Ruby?

    3
  • SU Selection Object

    3
    0 Votes
    3 Posts
    984 Views
    G

    I am not so sure that it is random....I just removed item [0] of a 13 item set. Then, I added that particular edge back to the set...it went back in the orginal index position of [0]!

  • Umlaut in file name

    8
    0 Votes
    8 Posts
    2k Views
    Al HartA

    Thanks for all the information.

    Umlauts and other accents are more of a problem then I expected.

    I am going to look into some things and I will report back. It looks like they are supported in Ruby and SketchUp for some things, but then lost for some other things.

  • WebDialog in MacOSX

    7
    0 Votes
    7 Posts
    784 Views
    T

    SketchUp on Windows uses IE for webdialogs (not FireFox, not Opera, etc.). Sketchup on the Mac only uses Safari for webdialogs.

    Are you saying that if IE is installed on the Mac, that SketchUp is using IE in preference over Safari? This is new news if this is so. And, a pain in the hiney for webdialog developers, because some of us (err, me!) don't have IE for Mac. I bought a Mac to distance myself away from IE and MS Office.

    Todd

  • .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

Advertisement