⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Help on ICONS

    3
    0 Szavazatok
    3 Hozzászólások
    385 Megtekintések
    M
    thanks a lot, a friend of mine did it for me yesterday.
  • Holding variables

    4
    0 Szavazatok
    4 Hozzászólások
    313 Megtekintések
    J
    @azuby said: Use an instance variable. At the moment, your code should be in a class. Initialize your instance variable (i. e. @clicks - the @ is neeeded) in the initialize method of your class and use the variable in the code which is executed by clicking on your button. azuby Thanks, but this is too complex for me, I started studying Ruby yesterday, I'm still at "copy&modify&paste" level... This is my source: def MoveLeft model = Sketchup.active_model entities=model.active_entities sp=entities[1] plane=sp.get_plane pos += 1 plane=[Geom;;Point3d.new(pos,0,0),Geom;;Vector3d.new(1,0,0)] sp.set_plane plane end def MoveRight model = Sketchup.active_model entities=model.active_entities sp=entities[1] plane=sp.get_plane pos -= 1 plane=[Geom;;Point3d.new(pos,0,0),Geom;;Vector3d.new(1,0,0)] sp.set_plane plane end pos=0 toolbar = UI;;Toolbar.new "Sections" cmdSectionLeft = UI;;Command.new($tStrings.GetString("Test")) { MoveLeft } cmdSectionLeft.tooltip = $tStrings.GetString("Move section to left") cmdSectionLeft.status_bar_text = $tStrings.GetString("Move section to left") cmdSectionLeft.menu_text = $tStrings.GetString("Move left") toolbar = toolbar.add_item cmdSectionLeft cmdSectionRight = UI;;Command.new($tStrings.GetString("Test")) { MoveRight } cmdSectionRight.tooltip = $tStrings.GetString("Move section to Right") cmdSectionRight.status_bar_text = $tStrings.GetString("Move section to Right") cmdSectionRight.menu_text = $tStrings.GetString("Move Right") toolbar = toolbar.add_item cmdSectionRight toolbar.show How do I hold value for I among various button presses?
  • How do I save a screenshot?

    3
    0 Szavazatok
    3 Hozzászólások
    576 Megtekintések
    J
    thanks a lot, I'll try it.
  • Any info about DCL_Technology for SU used in RPTOOLS

    3
    0 Szavazatok
    3 Hozzászólások
    420 Megtekintések
    Al HartA
    @wikii said: Thank you very much for the info, AI! Is it possible to show me a little demo rb_file about how to use RpTools.dll to load a dcl file? Pardon me,if you feel my request is unreasonable,for I want to know more about it eagerly. I put some samples on the Render Plus Forum if you want to try some things out:
  • Scripts not working after Scrambler

    12
    0 Szavazatok
    12 Hozzászólások
    849 Megtekintések
    A
    @unknownuser said: Ha, Ha, Happy New Year Oscar oscarlok.slepp 6.days azuby
  • SoapSkinBubble...need help.

    6
    0 Szavazatok
    6 Hozzászólások
    2k Megtekintések
    C
    Hey....thanks guys. You were both very helpfull. Much appreciated. What a very cool tool! I hope I can post a creation soon. I've been using SU for about 3 years now but have really increase my knowledge and skills since I joined this great forum. The script writers have made this program the best! Hats off to everyone who posts with help and solutions. Merry Christmas everyone! Jeff
  • Rotate and point component

    4
    0 Szavazatok
    4 Hozzászólások
    393 Megtekintések
    honoluludesktopH
    Thank you,
  • Need BOMB ALL plugin

    4
    0 Szavazatok
    4 Hozzászólások
    2k Megtekintések
    H
    thanks
  • [HowTo] Make SendKeys (WIN32OLE) works "immediately" ?

    3
    0 Szavazatok
    3 Hozzászólások
    885 Megtekintések
    M
    Just discovered I can Close components with "Sketchup.active_model.close_active" Thank you, but even with sleep(5) and bring the window to focus ... no success to trigger "Edit Component" shortcut ("Y"). p Sketchup.active_model.active_path s=WIN32OLE.new("WScript.Shell") p s.AppActivate("SketchUp") sleep(5) p s.SendKeys("y") sleep(5) p Sketchup.active_model.active_path
  • [Didier} Point Cloud Triangulation error message

    5
    0 Szavazatok
    5 Hozzászólások
    3k Megtekintések
    GaieusG
    Ah, thanks, Didier. In the topic mentioned above, I had to "bundle" all three scripts (the point cloud triangulation already "tweaked") into a zip file but this way it will always be easier to direct people to your site.
  • Import cloud of point

    6
    0 Szavazatok
    6 Hozzászólások
    606 Megtekintések
    P
    Many thanks for your reactivity, I'm actually conversing with Didier (easier in french) in order to solve the last problems. Best Regards. Adrien
  • Double Ruby Console entry

    12
    0 Szavazatok
    12 Hozzászólások
    841 Megtekintések
    PixeroP
    Just wanted to add that it was deletecoplanaredges.rb that did it for me as well. Fixed now.
  • How to modify Default Layer Geometry Ruby

    4
    0 Szavazatok
    4 Hozzászólások
    951 Megtekintések
    TIGT
    ¡ No problema ! Ask and ye shalt receive... Seasons greetings...
  • SU7 and old rubies

    4
    0 Szavazatok
    4 Hozzászólások
    571 Megtekintések
    B
    I get them again as before, they worked fine this time. Thanks for the help TIG
  • Modifying Texture objects?

    4
    0 Szavazatok
    4 Hozzászólások
    443 Megtekintések
    thomthomT
    Turns out, I think I need to write the texture to disk. The only reason it seemed to work to just take the original filename with the path and assign just the filename was because SU's last file dialog location pointed to where the original texture was. TextureWriter object is the only one that allows me to save out a texture? It doesn't take a Material object as an argument, so would I have to create a temporary object, like a group, assign it the material, export using TextureWriter, then delete dummy object? ...seems messy to me... any better solutions?
  • Didier Bur's projection_extension.zip file

    17
    0 Szavazatok
    17 Hozzászólások
    4k Megtekintések
    L
    @didier bur said: Hi, @unknownuser said: the dialog box says it's in mm In what command ? Please precise what command executes in inches instead of your unit ? I meet the issue too When use "P-P selected faces along their normals " and "P-P selected faces randomly" (projection_V6) It executes in inches instead of MM!!
  • Lighting Plugin for Sketchup

    232
    0 Szavazatok
    232 Hozzászólások
    58k Megtekintések
    R
    I.frisken, i think your best bet would be to send adam a PM and see what he says. He always struck me as quite a reasonable chap so he might be able to make you an offer.
  • Adding menu item to existing submenu?

    3
    0 Szavazatok
    3 Hozzászólások
    474 Megtekintések
    thomthomT
    /me goes hunting for ninjas
  • [Ruby Request] - Duplicate Layers & Contents

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    M
    I don't think so, thomthom. Components take colours from layer they are in. And if you select all entities in a layer (with Didier's quick selection plugin), you copy place them in a new layer?
  • DC components and ruby

    2
    0 Szavazatok
    2 Hozzászólások
    385 Megtekintések
    scottliningerS
    That's a great idea, Bill. I've added it to the feature request list. Cheers,

Advertisement