πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
  • Using the SDK?

    14
    0 Votes
    14 Posts
    667 Views
    Chris FullmerC
    Oh good, I think that is a good idea. It does sound like you need to be working in Ruby. Feel free to start a new thread if you get stuck. I've probably said it before, but I'm saying it again: I've written two tutorials on getting started with Ruby. I made them because getting started writing ruby was a frustrating process for me. So I'm hoping this will get people started easier. #1 Getting Started Writing a Full Script Chris
  • Mirror tool

    4
    0 Votes
    4 Posts
    386 Views
    CadFatherC
    Hi TIG, that is true - i was thinking it would be fab not having to turn into 3d view to do it.. Takesh, thanks for clarifying - i wonder if the script 'knows' the view plane, perhaps it would behave in '2d mode'
  • Can i lock the toolbar?

    4
    0 Votes
    4 Posts
    280 Views
    TIGT
    http://forums.sketchucation.com/viewtopic.php?p=159685#p159685 has a PC based registry hack to save and reload toolbars... It works - I use it. You need to edit some of the example files for v7; it works in Vista too... You could also change it to only save toolbar stuff...
  • Adding Item To Sub-Menu?

    2
    0 Votes
    2 Posts
    166 Views
    Chris FullmerC
    http://code.google.com/apis/sketchup/docs/ourdoc/menu.html#add_submenu plugins_menu = UI.menu("Plugins") submenu = plugins_menu.add_submenu("Test") submenu.add_item("Plugin Name") { plugin_method } That should do the trick. It gets a little trickier if you want to multiple different plugins to the same sub-menu, but its possible. I use a global variable, but Jim showed me a way to do it without the global. Chris
  • Question/Request - Is there a way to Filter Layers' ...

    5
    0 Votes
    5 Posts
    217 Views
    pilouP
    Seems Didier Bur has made a big plug about that Layers Manager
  • Simple Loft tool from Chris Fullmer

    4
    0 Votes
    4 Posts
    746 Views
    pilouP
    another video
  • Odd results from Soap Skin Bubble

    19
    0 Votes
    19 Posts
    1k Views
    ToboboT
    Thank you Pilou. It is a complex shape and to get the curves and presures you need to divide it up. maybe I should invest in Sub/smooth.
  • Camera As an Object

    31
    0 Votes
    31 Posts
    2k Views
    halroachH
    It would even be nicer if the 'render area' which is defined in maxwell render would be preserved in the different cameras from film and stage... I think we could definitely use a new and easier to use film and stage plugin!
  • Plugins Idea- multiple offsets

    3
    0 Votes
    3 Posts
    2k Views
    N
    thanks
  • Weld or Stitcher doesn't work

    5
    0 Votes
    5 Posts
    725 Views
    pilouP
    For these 2 lines yes, but not for all [image: file.php?id=29722]
  • Ideas of modelling tools for Sketchup

    5
    0 Votes
    5 Posts
    452 Views
    GaieusG
    @honoluludesktop said: Is "MOI" a solid modeler? The one I am familiar with has the ability to merge or subtract volumes. My guess is that SU could never do that as long it is a surface modeler. I'm not sure if I misunderstand what you're asking but BoolTools by Whaat does merge and subtract operations.
  • Standardizing all plugin appearance

    6
    0 Votes
    6 Posts
    2k Views
    majidM
    @chris fullmer said: It would be best if it was implemented by Google ok Chris, so the question is "how we could aware Google from our request? (in fact awaring @last team)
  • Can someone may help with that?? (problem Solved ...Thanks)

    6
    0 Votes
    6 Posts
    628 Views
    N
    I found out the problems! I open the rb files and noticed that the firefox saved the HTML code as RB file... thats why all the plugins contained suddenly HTML code.... Thanks alot anyway, Nankyo.
  • Geometric centre

    6
    0 Votes
    6 Posts
    259 Views
    CadFatherC
    and i even do searches!
  • What tools can help to debug?

    5
    0 Votes
    5 Posts
    272 Views
    D
    @jim said: Hi Alain, pecan created a Windows debugger for SketchUp. See this post for information. Welcome to the forums. We have a Ruby Forum dedicated to Ruby/plugins discussons if you have any further questions - everyone here is friendly and helpful. Thank you very much. Straight I'm going to try and have a first look around of your forum
  • Objets controlled by a webpage

    16
    0 Votes
    16 Posts
    3k Views
    J
    Hi Eric, The example you cited from the SketchUp Blog has everything you need. In the html of the WebDialog there is a button: <input type="button" onclick="callRuby('pull_selection_count')" value="Refresh"> onclick is an event that is fired when the button is clicked. When the button is clicked, the Javascript function named callRuby is executed. The string value 'pull_selection_count' is passed to the callRuby function. // Javascript in the html which defines the callRuby function used by onclick. function callRuby(actionName) { query = 'skp;get_data@' + actionName; window.location.href = query; } callRuby shows how to pass a value from the WebDialog to the SketchUp plugin that created the dialog. The Ruby script needs a callback named 'get_data'. window.location = 'skp:get_data@' + data; skp: - not sure precisely what this does but is required for the callback, get_data - the name of the call back in the ruby script, defined using add_action_callback('callbackname') { ... } @ - Optional: If you need to pass values to the call back, you need this delimiter. String concatenation in Javascript. data - a Javascript String. # The ruby part my_dialog.add_action_callback("get_data") do |web_dialog, action_name| UI.messagebox("Ruby says; Your javascript has asked for " + action_name.to_s) end The Ruby variable action_name get the value of the Javascript variable data. Hope that helps a little.
  • Crossing lines break automatically

    8
    0 Votes
    8 Posts
    2k Views
    TIGT
    I didn't realise there was a $ script already ! Sorry RickW... but my version is out there now... $5 x X for a few seconds work ?
  • Using observer results

    4
    0 Votes
    4 Posts
    1k Views
    Chris FullmerC
    Sorry Chris, I would love to help. I have never used web dialogs - however!, I have bought me a nice Javascript book and I am going through it. I only in chapter 2, so I have not got to the point where I can do anything, but maybe in a few days or weeks I'll know better how to get SU and JS to talk freely back and forth. I can say that I don't like JS nearly as much as Ruby though. Chris
  • Behind the [cg]Scenes

    18
    0 Votes
    18 Posts
    7k Views
    chrisglasierC
    @dave r said: Trapping a click on a component could be good. That happens with the Outliner. But, in the outliner, you can also click on the component in the list and have it highlighted in the model. Please see this topic for update. Highlighting is now essentially bi functional. Thanks for bringing this up - very useful feedback. Chris
  • ? Print Path/Filename and/or Scene's Name and Description?

    3
    0 Votes
    3 Posts
    190 Views
    JClementsJ
    Thanks, I will give it a try. (I may have used it before but forgot the name). Out of curiosity, is there anything in the features in Dynamic Components which can call the Scene names, etc. Be cool if you could have one dynamic component that could update itself when place onto a new page or if page discriptions or order change.

Advertisement