ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
  • Plugin Security

    5
    0 Votes
    5 Posts
    551 Views
    T
    Let me clear up a remark I made at the top of this thread, and even my followup posts. When I said "that is not the topic", I thought I was posting to Lewis's thread about a Ruby vulnerability that applies to people who use Ruby on a server for websites. However, this thread, your topic, certainly applies, and yes, you can do just about anything you want with Ruby.
  • SketchUpBBS--My SketchUp6 plugins picture

    8
    0 Votes
    8 Posts
    1k Views
    B
    Please tell us when you found these. It looks like fun!?!
  • Security Advisory on Ruby

    2
    0 Votes
    2 Posts
    469 Views
    T
    The Ruby on Rails community might be in panic, or not, but it doesn't mean much for us at all.
  • Question about ADO

    3
    0 Votes
    3 Posts
    375 Views
    G
    Hey Fletch, Thanks for the reply. I have the same camera position, I'm working on 24 alternative designs for an entry. So, it would have been nice to automate the export process. Glenn
  • Idea of enhancement for Sketchy Physics.

    3
    0 Votes
    3 Posts
    528 Views
    C
    @malaise said: Hello, everybody I just send an idea. As far as Sketchy-physic is involved in animation. Could it be possible to write some plug-in in order to simulate sensor or end-switches? This would allow to build sequential movements. I mean the block B for instance may move after the block A reached a kown position.... (in french we name that AUTOMATISMES ..) We may program the positions or links on the same way ,we do for joint and block. (my Ruby Level is unfortunally very basic ) Pierre MALAISE frendly yours I am thinking about ways to make this sort of thing work.
  • Convert dashed lines to regular lines

    12
    0 Votes
    12 Posts
    1k Views
    T
    I just imported the .dwg file. The "dasd lines" are coming in as components. Try this - select everything, right click, and Explode. Then, try close opens as you did before. Todd
  • Plugin not showing up

    2
    0 Votes
    2 Posts
    444 Views
    D
    I beleive it works on the context menu. Bring in your window and place it on the wall. Right click selected window and choose Window & Wall/Make a Cutting Window
  • Can you recommend an IDE for Ruby outside of SU on Windows?

    7
    0 Votes
    7 Posts
    2k Views
    L
    @unknownuser said: funny thing, I tried last night Aptana - it has some nice features, but for me is waaay to bloated/slow. nowadays I play with SublimeText coded by an ex-google. as it is at the beginnings it doesn't have all the cool tricks, but it is extensible via python scripts (if Ruby were available I would jump in to write some specific Sketchup thingies) another one that I keep an eye on is Intype Sublimetext looks very nice, and it is very small at 11 MB installed...smaller than RDE in fact. And it's only $59, which is not that bad. I'll give it a shot and see how the features work out...thanks, TBD.
  • @Todd: old question

    4
    0 Votes
    4 Posts
    666 Views
    L
    @unknownuser said: Question of a total candide There is no tool in Su for reccord actions on the screen for see the result in Ruby? Do you know that such a thing was built into SU1 (before Ruby), but it was hidden? John Bacus and I had a little bit of an argument about it at 3DBC. I still think a macro recorder is a useful thing. But they pulled it out by SU2.
  • Set centre point on multiple objects?

    13
    0 Votes
    13 Posts
    2k Views
    J
    Yeah, the script was a quickie I did before work this morning. I was originally just going to make a copy & paste one-liner for the Ruby Console, but putting it in a menu was easy enough. I just used Groups because that is all that the first example model had. Update: TIG has updated this script to work on Groups and Componenets. See the following link: http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=11081
  • [ruby doc] Entities.add_group

    6
    0 Votes
    6 Posts
    1k Views
    T
    You are welcome. I thought I had already done it. Thanks for the tickler. Todd
  • Any interactive sketchup to communicate with users?

    9
    0 Votes
    9 Posts
    705 Views
    A
    Hmm... reasonable. But we are really looking for innovative (weird, maybe) ones rather than common ones. (It is Reeeeesearch) So any solution here?
  • SketchyFlash, Anyone???

    4
    0 Votes
    4 Posts
    596 Views
    tbdT
    see http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=3124 for some details about the project
  • Is it possible to extend UI.inputbox?

    4
    0 Votes
    4 Posts
    569 Views
    D
    Todd: I sincerely appreciate the offer but must decline for a number of reasons. Besides, what's the fun in having someone else do it for me when I now have an excuse to pick up javascript and DHTML? This is for a propietary in-house plugin so it would also be slightly unethical for me to just take someone elses code, freely offered or not. But again, thank you for the generosity! Jim: thanks for the link, that looks like a great place to get me started! If I have questions along the way it seems this is a good place to ask, glad I've found it!
  • A ruby request: select similar

    5
    0 Votes
    5 Posts
    851 Views
    J
    Richard was also looking for a script that could use this function for identifying leaves on an imported model: http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=9476
  • Acoustic rays

    12
    0 Votes
    12 Posts
    1k Views
    L
    This would be great but as Adam says different materials, masses and densities absorb/deflect sound differently. To model the conditions with any accuracy there has to be a way to express the sound attenuation effects of actual materials. This would be very useful for testing acoustic insulation but it sounds very complicated to achieve. Also sketchup deals with surfaces not solids, I'm presuming its easier in a solid modelling application to model acoustics. edit: You could group some geometry that represents, say, a concrete wall and then calculate the acoustic properties by its volume.
  • Google I/O 2008 - Advanced Ruby Scripting for Sketchup

    19
    0 Votes
    19 Posts
    4k Views
    chrisglasierC
    I have just watched the clip and noted it was dated 29th May 2008. On the very same day I started a thread called SketchUp nameset workability in Google Sketchup Help, part of which went: "I am trying to find out whether sketchUp and ruby programming could be workable as a nameset device, and would be most grateful for your help... would it be possible ... to generate a sketchUp model from an array of names?" Scott actually answered my question simultaneously! But seriously I am begining to think Sketchup/Ruby API business could well be more significant than the birth of DOS was in its day. Chris
  • Is the Tools folder read before the Plugins folder?

    5
    0 Votes
    5 Posts
    680 Views
    Alan FraserA
    Yes, I noticed LightUp was already in there on my system. Probably not a wise move. It harks back to the problems people had when copying their entire Plugins folder from one release to another...with the Extensions like Sandbox not showing up etc. The present separation allows Google to safely upgrade some of their own rubies and dlls...tucked away in the Tools folder...without the danger of people then reinstating older versions back when they copy over the Plugins folder.
  • GetViewInfo

    3
    0 Votes
    3 Posts
    491 Views
    N
    Thanks, Jim. set konsolenText to "DayOfYear = Sketchup.active_model.shadow_info[\"DayOfYear\" ]" tell application "SketchUp" activate tell application "System Events" tell process "SketchUp" --stellt im Konsolentextfeld die Einfügemarke sicher tell menu bar 1 tell menu bar item "Fenster" tell menu 1 click menu item "Ruby-Konsole" end tell end tell end tell end tell keystroke konsolenText --to "AXTextFiled" of "Ruby-Konsole" keystroke return end tell end tell Because I start an AppleScript script from FileMaker, I need not to type in ruby console. With ruby script above I get 162 (when the date of shadow is 06/11) 163 (when the date of shadow is 06/12) But for Longitide, Latitude I got no different values, if I turn or go some steps, but only 10 and 50 (my location). So my question, how I can set the parameter of my view to get back a view of remember, stays here.
  • Index of entity

    12
    0 Votes
    12 Posts
    907 Views
    Didier BurD
    La doc la moins mauvaise est celle de SU lui-même... Quand je ne sais pas quelles méthodes sont valides sur un objet, j'en sélectionne un exemplaire dans le modèle, et dans la console Ruby: a=Sketchup.active_model.selection[0] a.methods Cela renvoie toutes les méthodes applicables à ce type d'objet.

Advertisement