🚨 Skimp | 25% Off until March 30 Buy Now

Alkategóriák

  • No decscription available

    20 Témakörök
    462 Hozzászólások
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Adding menus to the Layer and Material windows?

    7
    0 Szavazatok
    7 Hozzászólások
    541 Megtekintések
    thomthomT
    @gaieus said: And it's now a sticky with a "hot" sign in the Wish List forum...
  • Make group from component?

    2
    0 Szavazatok
    2 Hozzászólások
    274 Megtekintések
    J
    I haven't looked at this in a long time, and after looking at it again I'm not sure why I did it the way I did. m=Sketchup.active_model inss=m.active_entities.find_all{|e| e.typename=="ComponentInstance"} inss.each_with_index { |ins, ind| name = ins.definition.name g = m.entities.add_group ins.explode.find_all{|e| e.typename=="Face"} g.name = name #g.to_component }
  • TextTag14 by TIG

    3
    0 Szavazatok
    3 Hozzászólások
    446 Megtekintések
    M
    This is the file attached. thanks, Mark TextTag14.rb
  • Installation of Ruby applications

    6
    0 Szavazatok
    6 Hozzászólások
    415 Megtekintések
    T
    Hey Al. I was hoping I could post again before you saw my terse update. I was going to expand on my post to give you the info you are asking for now. Right now, I zip everything up into a single file. Doing this on Windows works fine for Macs. I haven't done the reverse, but I suspect it would work fine too. After reading the first hit on the link I posted, creating the .dmg seems pretty straight forward. However, I want to go a step further from that for now on, and actually create an installer app as part of the .dmg. I'm now researching what it would take to do this. I would be happy to share it with you when I am done (as long as you don't mind a "powered by Smustard.com" label at the bottom of the dialog... Todd
  • Dynamic Components vs Rubies

    3
    0 Szavazatok
    3 Hozzászólások
    328 Megtekintések
    Chris FullmerC
    DC's just make parametric modeling available to non-ruby programmers. Anyone could make their own version if they wanted to.
  • Help from coders needed

    20
    0 Szavazatok
    20 Hozzászólások
    2k Megtekintések
    pilouP
    @unknownuser said: Subdivision modeling Seems you are making a SUZ_brush
  • 360 Camera

    22
    0 Szavazatok
    22 Hozzászólások
    24k Megtekintések
    C
    Here is a try combining the Web Exporter with a fly through path. i am working on it still but I guess you can see the intention already http://www.cad-addict.com/2009/01/sketchup-adding-camera-control-to-web.html
  • Radom Rotate

    3
    0 Szavazatok
    3 Hozzászólások
    343 Megtekintések
    S
    Component spray has random rotation.
  • Copy along path

    2
    0 Szavazatok
    2 Hozzászólások
    460 Megtekintések
    boofredlayB
    Here is a free script that does this called PathCopy. http://www.smustard.com/script/PathCopy (moved topic to Ruby Discussions).
  • [Solved] My script keeps bugsplatting :(

    19
    0 Szavazatok
    19 Hozzászólások
    2k Megtekintések
    M
    Yep. Iterative method can save time compared with the recursive method... But recursing is much more beautiful !!
  • File.copy() not working?

    11
    0 Szavazatok
    11 Hozzászólások
    663 Megtekintések
    T
    I figured it out by downloading the full ruby install, so I could learn and use Ruby outside of SU (and follow existing tutorials), and after seeing what it expanded to, it was obvious that the full install doesn't come with SketchUp.
  • [ruby-doc]The missing Sample Code scripts compilation

    4
    0 Szavazatok
    4 Hozzászólások
    559 Megtekintések
    thomthomT
    Ah! Great! I really wish Google would sort out the SU API docs... grumble
  • Small script that deletes all text in a drawing

    4
    0 Szavazatok
    4 Hozzászólások
    441 Megtekintések
    Didier BurD
    Hi, Alternatively, you could use my "quick selection" script: it can filter objects by type in the drawing to make a selection. Here: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/quick_selection.zip Regards,
  • Point to point move?

    11
    0 Szavazatok
    11 Hozzászólások
    1k Megtekintések
    JClementsJ
    Builder, In case you are not aware, there is a Glue feature in SU. If a selection is giving me problems while trying to move it, I'll right click on it to see if "UNGLUE" is available in the context menu. If so, then I'll do an Unglue. ===================================== Moving or drawing geometry across large distances can be tedious. A method I often forget to practice, but which is very helpful, is to zoom into the "target point", then Zoom to Extents, then zoom to your "start" point, select your geometry or intiate a drawing tool, then utilize the "Zoom Next" and "Zoom Previous" functions available in the Camera Toolbar.
  • Is it possible to retrieve the font settings using Ruby?

    3
    0 Szavazatok
    3 Hozzászólások
    365 Megtekintések
    A
    Todd, There is a lot about colors in the hash but, alas, nothing about font attributes.
  • Combo Ruby for Reveals

    5
    0 Szavazatok
    5 Hozzászólások
    1k Megtekintések
    D
    BooTools at work Thanks to EarthMover for the boulders. Exploded and then grouped. Union and re-texture from boulder material list. Good way to build a large rock form for we the lazy.[image: sjPj_HappyBoulderIsland-2.jpg] dtr
  • Frontface&subsmooth on Mac ( solved )

    17
    0 Szavazatok
    17 Hozzászólások
    2k Megtekintések
    ton baetenT
    Edson, Well, maybe that is correct, but my SU6 folder is about 16MB (138 files), includes almost all big ones (alvailable for mac) and many, many smaller ones. My SU7 folder is still rather empty, only a few rubies, since I have decided to check them all, get rid of duplicates, the once a hardly ever use and to get back any overview, before moving them to SU7. I will see whatever happens to my user/etc....folders, no big deal for me. I will keep you informed if I encounter a ruby making an extra unexpected ruby-folder.
  • Specify Font Size of Leader Text or Screen Text?

    3
    0 Szavazatok
    3 Hozzászólások
    408 Megtekintések
    daikuD
    Thanks, Todd. I'll add it to Scott's wish list.
  • Run windows .exe and wait for completion

    3
    0 Szavazatok
    3 Hozzászólások
    627 Megtekintések
    Al HartA
    I was finally able to do this using Win32API and a function I call "call_and_wait". def self;;call_and_wait(scommand_line) cp_params = 'LPLLLLLLPP' create_process = Win32API.new('kernel32','CreateProcess', cp_params, 'I') startinfo = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].pack('LLLLLLLLLLLLSSLLLL') # place holder for results procinfo = [0,0,0,0].pack('LLLL') trace("scommand_line; %s", scommand_line) cp = create_process.call(0, scommand_line, 0, 0, 0, 0, 0, 0, startinfo, procinfo) trace("create_process returned; %s", cp) if (cp == 0) return end#if # get process if of process we created hProcess = procinfo.unpack("LLLL")[0] trace("hProcess; %s waiting...", hProcess) if (hProcess == 0) return end#if waitForSingleObject = Win32API.new("kernel32","WaitForSingleObject",['L','L'],'L') a = waitForSingleObject.Call( hProcess, 0xFFFFFFFF ) # wait forever trace("waitForSingleObject returned; %s", a) end#def The WaitForSingleObject waits for the task to complete without using up resources. The ruby command system(command_line) runs the commands and waits for it, but uses up 1/2 of the resources of the machine in a tight loop checking to see if the command is done yet.
  • Activate toolbars automaticly

    5
    0 Szavazatok
    5 Hozzászólások
    593 Megtekintések
    dazzaD
    @sepo said: I don't know if making new template will solve your problem but I have managed to sort out toolbars randomly moving with making new template. This was on PC though. I agree with Sepo, arrange your toolbars as needed and then save as a template. Worked like a charm!!!

Advertisement