⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Google I/O 2008 - Advanced Ruby Scripting for Sketchup

    19
    0 Szavazatok
    19 Hozzászólások
    4k Megtekintések
    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 Szavazatok
    5 Hozzászólások
    725 Megtekintések
    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 Szavazatok
    3 Hozzászólások
    528 Megtekintések
    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 Szavazatok
    12 Hozzászólások
    1k Megtekintések
    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.
  • Can you Mate Components??? Help Please!

    3
    0 Szavazatok
    3 Hozzászólások
    3k Megtekintések
    chrisglasierC
    You could have a look at my new Google site http://sites.google.com/site/namesets in which I trace the steps I am taking to use sketchup with something called namesets. You will definitely need a webdialog for your customer to select your products. It can be as simple as you like with just two basic functions: opening skp files and some device that moves each through the optional locations. The webdialog can be made with HTML and Javascript. Try it! Ask if you need help. Chris
  • Using open-uri or net/http to download a file from web?

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    M
    Could this be used to enforce/update a corporate SketchUp standard installation, I wonder?
  • New icons

    21
    0 Szavazatok
    21 Hozzászólások
    2k Megtekintések
    ibonI
    You have to put bezier ones into your .../Plugins/BZ_Dir folder, and surface tools ones in .../Plugins/TOS_Dir folder overriding
  • Stopping UI.play_sound ?

    4
    0 Szavazatok
    4 Hozzászólások
    590 Megtekintések
    M
    setting to nil or killing its thread will not stop it. only solution i managed is a new "UI.play_sound" command on new existing and valid wav file, a short one.
  • Windowizer problem?

    6
    0 Szavazatok
    6 Hozzászólások
    752 Megtekintések
    T
    Dear Rick - Greetings - just a quick note - the comment above brings out an interesting point. Since I often render with Maxwell after the model is built, I have also used the trick of push/pulling with the + on to make the "inside" of a window. Its a bit of extra work but, given the tremendous fantastic power of your script I am always quite happy to do it. BUT Why not edit the Windowizer to make double-sided windows? Perhaps, if there is no "second" or "inside" wall, it could just offset the original face by the required depth (ie., set Wall Thickness) and then ZAM! Its all ready. What do you think? Looking forward to hearing from you. Best wishes from Berlin, Jason
  • Sketchy Faces

    4
    0 Szavazatok
    4 Hozzászólások
    854 Megtekintések
    L
    There's always Piranesi, which trumps in most ways the various Styles possible in SketchUp and will work on faces. However, it's rather pricey and I frankly don't like its interface very much.
  • How do i set ShadowTime ?

    3
    0 Szavazatok
    3 Hozzászólások
    575 Megtekintések
    H
    Hi Jim, Thanks loads for your tip!! I'll go try it out straight away I'll be back...
  • Prettify icons of SUtool V0.38

    2
    0 Szavazatok
    2 Hozzászólások
    575 Megtekintések
    Dave RD
    I have that problem with some 3rd party toolbars as well. I don't know why that is, though.
  • Select all and delete

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    chrisglasierC
    @morisdov said: Update us on your progress in a new forum thread hopefully soon. I posted a something in the ideas box of the corner bar. But to finish off the select all delete business so far I find the following works: @dlg.add_action_callback("clearer") {|d, p| ents=Sketchup.active_model.active_entities status = ents.clear! } After a while the other two brought up some frightening looking splat windows. Thanks Chris
  • Problem using component spray tool

    4
    0 Szavazatok
    4 Hozzászólások
    661 Megtekintések
    GaieusG
    That's really a render problem. Once the components are in place, the CompSpray tool's job is over. You may be more lucky with this question in the Podium Subforum under The Extensions Forum - those who can help are unlikely to chime in here.
  • Can Ruby run in a windows mobile ppc

    5
    0 Szavazatok
    5 Hozzászólások
    901 Megtekintések
    A
    I documented my attemps in German here: http://forum.ruby-portal.de/viewtopic.php?t=2669 At first, follow the links given in the thread (haven't tried them for working). azuby
  • How to undo from ruby?

    5
    0 Szavazatok
    5 Hozzászólások
    1k Megtekintések
    J
    @unknownuser said: Hi, Again... But the start/commit_operation do not undo the variable that changes? It only undo "actions" on the screen, on the model. Then is there a way to act on the variable and undo the new value? Emmanuel, That is sort of an odd request. Can you elaborate on what you want to do, or post some code?
  • Lightwave

    11
    0 Szavazatok
    11 Hozzászólások
    1k Megtekintések
    T
    sorry! [image: lh6y_lightwave.jpg]
  • How to add a face? (line,arc)

    3
    0 Szavazatok
    3 Hozzászólások
    492 Megtekintések
    S
    ..Thanks! [image: CMsP_ugolok.jpg] metallokarkas_3.rar
  • Reading mm as inches

    5
    0 Szavazatok
    5 Hozzászólások
    767 Megtekintések
    chrisglasierC
    theX = Integer(a[3]).mm works. I'm at GMT+8, so please accept delayed thank yous. Chris
  • How to get the insertion point of a component?

    4
    0 Szavazatok
    4 Hozzászólások
    559 Megtekintések
    T
    Yes, I remember now figuring this out when I wrote the 3D Text Tool.

Advertisement