Sketchucation Tools 5.0.7 | Licensing improvements and bug fixes Learn More

Subcategories

  • No decscription available

    20 Topics
    462 Posts
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Rusty with Ruby. Import help needed.

    5
    0 Votes
    5 Posts
    564 Views
    Dan RathbunD
    You'll need to make your own button images 16x16 and 24x24 The code will be near to: if Sketchup.version.to_i > 13 # no save as before v14 ! save_as_v8_cmd = UI;;Command.new("Save As v8") { model = Sketchup.active_model path = model.path if path.empty? if RUBY_PLATFORM !~ /(darwin)/i # MS Windows path = UI.savepanel( "Save Model As v8 skp...", "*.skp", "SketchUp Files (*.skp)|*.skp;||" ) else # Mac path = UI.savepanel( "Save Model As v8 skp...", "*.skp" ) end unless path.nil? # nil if dialog cancelled model.save( path, Sketchup;;Model;;VERSION_8 ) end else # use current filepath model.save( "", Sketchup;;Model;;VERSION_8 ) end } save_as_v8_cmd.small_icon= "your_icon_name_16.png" save_as_v8_cmd.large_icon= "your_icon_name_24.png" UI.menu("File").add_item save_as_v8_cmd # assume you've created a toolbar ref'd as my_toolbar; my_toolbar.add_item save_as_v8_cmd end
  • Change variable after certain number of loops

    14
    0 Votes
    14 Posts
    1k Views
    jolranJ
    @unknownuser said: Thanks, I'm just trying to find a way not to have to keep pressing 'Ctrl & "A" then delete, every time I want to test a code. Ah, right! Understood. Well TT and Driven got the answers already. Another handy plugin is using Alex Ruby-code editor. You don't have to wrap code in Start Operation cause there's an inbuilt Play and Undo button. Very useful for testing loose code snippets. Copy and paste from Notepad for ex..
  • How to distribute my plugin

    6
    0 Votes
    6 Posts
    597 Views
    W
    Thanks guys, I'll go ahead and post it here and wait a while and see what people say before submitting to the Extension Warehouse. Thanks again, Walter P.S. That 5 million euro thing was a joke, right? Coz I think all I got is 2 dollars and change.
  • Smooth Line after push/pull

    4
    0 Votes
    4 Posts
    460 Views
    sdmitchS
    @ktkoh said: sdmitch I am trying to learn from you code. How is the smoothing only applied to the edges created by the add arc? It needs some English description if you will!! Keith I save the vertices, vrt1 and vrt2, at the beginning and end of the arc. Then I look at all the edges associated with those vertices and eliminate all that are not the proper length. This leaves me with a single edge that is softened.
  • TAO open source programming language for real-time ...

    2
    0 Votes
    2 Posts
    505 Views
    pilouP
    Very amazing! [image: logo.png] Official site! TaoDyne Documentation is fabulous! http://www.youtube.com/watch?v=Fvi29XAo4SI
  • Retreive world coords nested component InputPoint

    2
    0 Votes
    2 Posts
    7k Views
    sdmitchS
    InputPoint returns the transformation, if any, for the face you clicked on. Simply apply that tranformation to the vertices of the face to get the real world coordinates. rwc = @ip.face.vertices.map{|v| v.position.transform(@ip.transformation)}
  • WebDialog particular html issue

    6
    0 Votes
    6 Posts
    726 Views
    Dan RathbunD
    [off:2cqiik2n]I've suggested Gecko a number of times. Yes, each time I have to implement a WebDialog, knowing it will be a pain in the <bleep>,.. I put it off for as long as possible. I'd prefer for native dialogs that Qt worked inside SketchUp. I think that development and maintenance on WxWidgets has stalled.[/off:2cqiik2n]
  • Round front edge of

    5
    0 Votes
    5 Posts
    602 Views
    D
    Thanks a lot for the replies. The code actually draws it the way I would draw it manually. Thanks!
  • How does material color multiplication works?

    7
    0 Votes
    7 Posts
    2k Views
    tt_suT
    I would need the deltas, and know whether the material is HSL shifted or tinted - something the Ruby API doesn't expose right now. But we have an issue open to address that.
  • Avoid SketchUpBIM?

    3
    0 Votes
    3 Posts
    480 Views
    KrisidiousK
    It's in my architecture list. I'll put in a warning.
  • No DLLS were Found in the Waterfall Procedure

    2
    0 Votes
    2 Posts
    2k Views
    S
    Yep, just now ran into this after installing GoPro. This solution fixed it. Many Thanks !!!
  • Xml anyone?

    16
    0 Votes
    16 Posts
    2k Views
    TIGT
    @jp2009 said: How do you stop Sketchucation from downloading XML documents? It keeps doing this? There's an issue with the recently updated PluginStore Extension when used in Chrome. Disable that extension under Settings, until it is fixed... Breaking news... v1.3 of that Extension was released today, it should fix the issue, so install that to update things, and those xml errors should be no more...
  • View.refresh behavior

    3
    0 Votes
    3 Posts
    697 Views
    thomthomT
    For animations it's best to use the Animation class instead of using sleep() and forcing a screen refresh. http://www.sketchup.com/intl/en/developer/docs/ourdoc/animation
  • About VB.Net and Sketchup Integration

    3
    0 Votes
    3 Posts
    1k Views
    thomthomT
    The C API allow you to read and write files. For .NET integration you would have to create a wrapper that bridges the two.
  • Open Excel code to a Plug-in.

    3
    0 Votes
    3 Posts
    541 Views
    D
    Thank You Very much.
  • Manipulating a polyline like the freehand tool

    2
    0 Votes
    2 Posts
    372 Views
    pbacotP
    Bezier Spline? http://sketchucation.com/forums/viewtopic.php?t=13563
  • How to get face which is belong to two group

    9
    0 Votes
    9 Posts
    880 Views
    TIGT
    Try the groups' .bounds if they 'touch', then some_group.bounds.max.x OR .y OR .z and some_other_group.bounds.min.x OR .y OR .z might be coincident ?? Especially if the are simple boxes...
  • Status Text being reset

    3
    0 Votes
    3 Posts
    442 Views
    tt_suT
    There is no way to force a statusbar text to stick around. It's normally set by the active tool, but also by menu and toolbar items. Do you have a sample snippet that demonstrate the issue?
  • Need some help again.

    3
    0 Votes
    3 Posts
    408 Views
    S
    Thanks again TIG! I am very grateful. I knew I was missing something, but was pretty much stumped. Thanks for putting me back on track, and so quickly. Cheers
  • How to attach text to a line

    3
    0 Votes
    3 Posts
    637 Views
    P
    I'm sorry I have tried that .. but that is not what is in my mind.. I just want the text to follow the line even if I move one point only . . doing this manually is possible.. but not for ruby scripts I think..

Advertisement