Urasik Extensions | Lots of new extensions to check out Learn More

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
  • Subdivide and smooth not showing up ?

    4
    0 Szavazatok
    4 Hozzászólások
    888 Megtekintések
    J
    Simple as that thanks
  • Sketchup's API and Ruby

    5
    0 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    A
    To share, this is a post i found about it (by cphillips) Additionnal stuff: http://www.suwiki.org/suwiki/index.php?title=Ruby_Tutorial_-Dialog_Boxes_and_WIN32API%28Advanced%29 the Win32API.so link below wont work you can get Win32API.so from there After you install ruby into a folder, say c:\RUBY, then Win32Api.so will be in c:\RUBY\lib\ruby\1.8\i386-mswin32 the original post: http://groups.google.com/group/Ruby-API/browse_thread/thread/52ade11766148a57 -The function is called "cleanSlate()". -It will remove all the menus and the window boarder. -You need to manually disable any toolbars you dont want. -Requires win32API.so lib(attached). NOTES: -It works by looking for a window named "Sketchup - Untitled". Therefore it will only work when no model is loaded. You could change this by editing the ruby. -It wont fully work at startup because the "Plugins" menu gets created after the cleanSlate() function is run. Enjoy Chris http://groups.google.com/group/sketchup-Pro-Groups/web/win32API.so http://groups.google.com/group/sketchup-Pro-Groups/web/cleanSlate.rb <code> require "sketchup.rb" require "Win32API" def cleanSlate() #setup win32 calls. findWindow=Win32API.new("user32.dll", "FindWindow", ['P','P'], 'N') sendMessage=Win32API.new("user32.dll", "SendMessage",['N','N','N','P'], 'N') getMenu=Win32API.new("user32.dll", "GetMenu", ['N'], 'N') getMenuItemCount=Win32API.new("user32.dll", "GetMenuItemCount",['N'], 'N') getSubMenu=Win32API.new("user32.dll", "GetSubMenu", ['N','N'], 'N') deleteMenu=Win32API.new("user32.dll", "DeleteMenu", ['N','N','N',],'N') drawMenuBar=Win32API.new("user32.dll", "DrawMenuBar", ['N'], 'N') setWindowLong=Win32API.new("user32.dll", "SetWindowLong",['N','N','N'], 'N') #find the sketchup window pw=findWindow.call(0,"Untitled - Sketchup") #remove the menu menu=getMenu.call(pw) while(getMenuItemCount.call(menu)>0) menu=getMenu.call(pw) deleteMenu.call(menu,0,0x400) drawMenuBar.call(menu) end #force the layout to update. sendMessage.call(pw,0x0047,0,"") #remove the window boarders setWindowLong.call(pw,-16,0x00800000|0x10000000|0x00080000|0x00040000) end </code>
  • Can a non-repeating (non-tiling) texture be produced?

    8
    0 Szavazatok
    8 Hozzászólások
    10k Megtekintések
    GaieusG
    Yes, you definitely need to separate the geometry from the rest of the tube. If you paint the rest with the same colour you have in the outside of the logo part (white in this case), you can smooth the surrounding lines later; the image will stay separated.
  • Maybe a stupid question...

    8
    0 Szavazatok
    8 Hozzászólások
    844 Megtekintések
    I
    i was wrong about "applyTo"(multiple ex/change)...it works, "applyTo" + Emmanuel's "select component instances"... need simple [web]dialog to get it features as api
  • Help~ color to layer ruby?

    2
    0 Szavazatok
    2 Hozzászólások
    445 Megtekintések
    Didier BurD
    Hi, I think the script "layers_materials.rb" will help you. What it does: "Manages layers and materials as the "color by layer" display mode does. 4 options to create layers or materials corresponding with materials and layers, to repaint faces based on their layer or to change their layer based on their materials." Download it here: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_ren_page.htm Hope this helps
  • Hideedges script - Right Click Context

    4
    0 Szavazatok
    4 Hozzászólások
    726 Megtekintések
    W
    Dear Azuby, I have just had an opportunity to try out your script. Perfect!!! I like the undo hide-edge function too, and the right-click context menu is just SO HANDY. I use your script for cleaning up model elements. Suppose I am modelling an object with a 6-fold symmetry about the z-axis say. I model the object and then take a 1/6 slice, make it a component, and then rotate it about the z-axis. Using your Hide Edges script, I can click on the two bounding faces to hide the edges, then delete the faces before rotating. This saves a lot of time with the Eraser tool + shift, even in wire-frame mode. Thanks once again. Regards, Bob
  • Push pull selected

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    GaieusG
    @cadfather said: yes, but only if you already have extruded faces... True - you cannot do this with 2D geometry.
  • Rotate camera view by set degrees

    7
    0 Szavazatok
    7 Hozzászólások
    1k Megtekintések
    G
    Site is back up for the link I posted a few days ago.
  • Deleted scripts refuse to disappear in Vista

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    TIGT
    This is a Vista security problem - you need to have Admin rights and you can then delete, add and change files from within the Program Files folder structure. Otherwise you get 'compatibility file issues where things seem to change but when you look later they are back - or the old version !
  • Ruby Idea: Bones for animating characters

    15
    0 Szavazatok
    15 Hozzászólások
    2k Megtekintések
    R
    gata, I hear you A couple of things you mentioned were already on my list, but it's good to hear from script users to verify/validate/change my ideas on what a script needs.
  • Retrieve input from the status bar

    3
    0 Szavazatok
    3 Hozzászólások
    633 Megtekintések
    C
    Great Macs! I'll test it as soon I'll go back to my codes. Thanks A lot.
  • XLine2Line.rb not in current block

    3
    0 Szavazatok
    3 Hozzászólások
    488 Megtekintések
    J
    Super - thanks Didier
  • Scale to!!

    4
    0 Szavazatok
    4 Hozzászólások
    820 Megtekintések
    majidM
    thanx HFM and Gaieus ( for birthday ) and guidance ...
  • Double Follow me

    8
    0 Szavazatok
    8 Hozzászólások
    1k Megtekintések
    jujuJ
    @unknownuser said: Have you got any idea about when it will be possible to see and buy SU7? The people that do may not tell. I'm betting sometime soon after the 3DBC.
  • Polyreducer Experiments

    43
    0 Szavazatok
    43 Hozzászólások
    10k Megtekintések
    jujuJ
    @unknownuser said: Let's not pick on Ray, okay? It's just too easy - how many of us had cash to spend when we were his age? Well? Huh? This is totally off topic: When I was 14 I was mowing the lawn (plus some odd yard work), cleaning out the garage & store room and washing the cars, all on a weekly basis, for spending money that you could go to see a movie, buy some popcorn and a drink with before it was finished. Work isn't difficult to find if you want it.
  • Extrude given shape perp to line by selection

    8
    0 Szavazatok
    8 Hozzászólások
    934 Megtekintések
    L
    dtrarch, Whaat are spot on. Thanks,
  • Quarter or Multi-Plane Sections?

    6
    0 Szavazatok
    6 Hozzászólások
    650 Megtekintések
    W
    Dear John, You wrote, "I don't think SU's Section Plane tool can do the following without grouping and duplicating groups." In my enthusiasm to give/find a solution, I failed to read the question. Hopefully, the described technique will be useful to someone, and informative to those who are new to SU. Kind regards, Bob
  • Warning: SketchyPhysics conflicts.

    6
    0 Szavazatok
    6 Hozzászólások
    1k Megtekintések
    C
    Sigh. The installer shouldn't do that. Here is the file in case anyone has the same problem. Win32API.zip
  • Loop object in Selection?

    4
    0 Szavazatok
    4 Hozzászólások
    880 Megtekintések
    R
    There's a strange ...something... in SU that adds all kinds of non-geometric stuff to the selection set. Todd and I requested it be "fixed" (at least changed), to only add geometric objects to the selection set. After all, who wants to filter out loops, materials, etc., when all we really need to deal with are edges, curves, and faces? So far, no internal fixes, so we're left to filter objects.
  • Skin22

    2
    0 Szavazatok
    2 Hozzászólások
    891 Megtekintések
    I
    Dave remove(rename) number "22", leave "skin.rb"...thats all

Advertisement