⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

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
  • SU6 SKM processing

    3
    0 Szavazatok
    3 Hozzászólások
    939 Megtekintések
    tbdT
    that means that the user must export as OBJ first - not acceptable so I think I will use TextureWriter as there is no Ruby method that points to the .skm file to do a .zip parsing of .xml files. urgh thanks anyway
  • Look around tool in ruby?

    8
    0 Szavazatok
    8 Hozzászólások
    2k Megtekintések
    J
    You need to use camera.set. The vector from the target to the eye is the direction. m=Sketchup.active_model view=m.active_view camera=view.camera v1 = (camera.target - camera.eye).normalize v2 = camera.direction.normalize p v1 == v2
  • Material with coloured or distorted texture

    15
    0 Szavazatok
    15 Hozzászólások
    3k Megtekintések
    T
    @daiku said: gourp.entites will give you the array of entities in the group. Then run through all the items in the array, and look for your face. I just want to OPEN a group. I am using group.entities.. but it is not the case. uvHelper behaves different INSIDE. There is method in model called close_active. But I cannot find make_active. How can I achieve it? In other words - is there way to do outliner double click in Ruby? Tomasz
  • Adjustable Line Widths aka Fat Lines

    15
    0 Szavazatok
    15 Hozzászólások
    3k Megtekintések
    T
    Here's some virtual "grass" on top of the grass texture. Todd [image: http://www.sketchucation.com/forums/scf/sas/Ruby/Picture%2019.png]
  • UI.openURL(executable + params)

    17
    0 Szavazatok
    17 Hozzászólások
    5k Megtekintések
    TIGT
    @unknownuser said: I have no idea. I am working on XP. Thanks anyway. Just upgraded to a new PC - Core 2 Quad with 2Gb RAM - but it runs Vista... Vista seems to be the problem...
  • UI Messagebox within LMB method of a tool

    6
    0 Szavazatok
    6 Hozzászólások
    1k Megtekintések
    T
    I have found it! Silly me. I have placed view.invalidate at the end of draw method def draw(view) if( @ip1.valid? ) if( @ip1.display? ) @ip1.draw(view) @drawn = true end end if( @ip2.valid? ) @ip2.draw(view) if( @ip2.display?) self.draw_geometry(@ip1.position, @ip2.position, view) view.invalidate #WRONG! @drawn = true end end Each time UI.messagebox was invoked SU called draw method which erased MB from the view. Thanks Tomasz
  • 3d interaction objects?

    8
    0 Szavazatok
    8 Hozzászólások
    2k Megtekintések
    N
    Is this script easy to write? Can someone write one for this scene jumping in the animation? Thanks again. [honsuales]
  • Transparency shadow threshold

    16
    0 Szavazatok
    16 Hozzászólások
    4k Megtekintések
    PixeroP
    Hmmm... there seem to be a problem. Now it doesnt work the way it did when I tested it. I'll try it more at work tomorrow. For now you can use the other script, jsShadowControl, to turn shadow casting and shadow receiving on or off. Even for non transparent objects.
  • Ruby and Open GL

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    A
    But seems to be supported by some SDK programming, am I right? I thought you mean a Ruby-only approach. azuby
  • Setting the scale in sketchup

    2
    0 Szavazatok
    2 Hozzászólások
    2k Megtekintések
    L
    I'm really trying to understand what you mean, can you upload an image that demonstrates the issue?
  • Animation Presention Bundle 2

    8
    0 Szavazatok
    8 Hozzászólások
    2k Megtekintések
    R
    Wow, those are some seriously long transition times. If you're working with a large site model, I'd suggest something along the lines of 10-20m/s for motion speed. Of course, it all depends on whether you want fly-by, drive-by, or walk-by speed, and the physical size of the site/campus. As it is, you can use the multiplier. Select all scenes, use 1/5 as your multiplier, then click the "Apply to Selected TT", then click "Save Changes". That will speed things up considerably. The Transition Time is a time in seconds that it takes to transition from one scene to the following scene. Your TT of 80 seconds for scene 1 is a LONG TIME. That's why I suggested using 1/5 for your multiplier - it will yield a 16 second TT (and other selected scenes will also be reduced by 80%). Hope that helps...
  • Pushpull coding problem

    8
    0 Szavazatok
    8 Hozzászólások
    2k Megtekintések
    Didier BurD
    Hi, The simplest way: arc= model.entities.add_arc([x+@dist, y+@dist, z], vecx, vecz, @d/2, 0, pi/2, @s) line1 = model.entities.add_line([x+@dist, y+@dist, z],[x+@dist, y+@dist+@d/2, z]) line2 = =model.entities.add_line([x+@dist, y+@dist, z],[x+@dist+@d/2, y+@dist, z]) face = model.entities.add_face[arc,line1,line2] face.pushpull @thick Regards,
  • What is wrong with this script?

    9
    0 Szavazatok
    9 Hozzászólások
    2k Megtekintések
    PixeroP
    Got it working! Thanks for the help. Read more here: http://www.sketchucation.com/scf/viewtopic.php?f=9&t=1986
  • Question About Extension Toolbars

    7
    0 Szavazatok
    7 Hozzászólások
    1k Megtekintések
    GaieusG
    In my office I have Free SU 6. I can check - unless someone will be faster than me. At home I cannot install Free SU6 for I have Pro and they don't run parallel with each other.
  • V6 Downloadable Ruby Help?

    5
    0 Szavazatok
    5 Hozzászólások
    1k Megtekintések
    PixeroP
    Thanks.
  • Autosave

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    BurkhardB
    thanks todd for taking a look on it.
  • Shortcuts.rb: how does it work?

    5
    0 Szavazatok
    5 Hozzászólások
    2k Megtekintések
    TIGT
    Here's a 'universal solution'... Paste this into a file: (c) TIG 2007, ANY without warranty... BUT you can use it freely... however, it'd be nice NOT to claim it as your own OR at least just to mention me when you do reuse it... To use it: Put it in the Plugins folder... as 'GetShortcuts.txt', and the you can manually load it, when required [load"GetShortcuts.txt"] in the Ruby Console... require 'sketchup' Choose where you want the list to go PICK ONE # ... #filepath=ENV["TEMP"]+"/Shortcuts.txt" ### list's in, =YOUR Temp... #filepath=ENV["TMP"]+"/Shortcuts.txt" ### =YOUR Tmp... filepath="C:/Temp/Shortcuts.txt" ### =SystemTemp (PC) file=File.new(filepath,"w") Sketchup.get_shortcuts.sort!.each{|s|file.puts s} file.close
  • Key sequence in ruby

    10
    0 Szavazatok
    10 Hozzászólások
    2k Megtekintések
    T
    Oops. Command = 1048576 Alt = 524288 Control = 262144 The Command key, also known as the "apple" key, shown as a ⌘ in the Doc, is the Mac equivalent to the PC's CONTROL key. The control key on a Mac isn't used that often. The ALT key is also named the Option key. Todd
  • Select Visible?

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    J
    @cphillips said: @jim said: Is there a plugin to select only geometry that can be seen on the screen? Edit: Including the backfaces. Maybe select visible is a bad description. How about select all within the field of view? Cant you just use select and drag across the whole window? That does the same thing. Yes, but wanted to do it using Ruby.
  • Keycode with onKeyUp question

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    PixeroP
    Thanks! I'll try that.

Advertisement