🏢 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • Plugins Idea- multiple offsets

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

    5
    0 Votes
    5 Posts
    682 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
    427 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
    582 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
    237 Views
    CadFatherC
    and i even do searches!
  • What tools can help to debug?

    5
    0 Votes
    5 Posts
    236 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
    2k 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
    167 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.
  • Embedding DLLs inside SketchUp Plugins(GSoC)

    3
    0 Votes
    3 Posts
    272 Views
    A
    so do we get a way if we want to implement C++ TUIO client http://www.tuio.org/?software in a DLL loadable into SketchUp, any ideas ? cheers anirudh
  • [Tutorial] Beginning Ruby 2 - Writing a Script

    6
    0 Votes
    6 Posts
    327 Views
    3
    Are the rubie scripts based in the old dBase manner. It's been years for me but it looks almost the same as I remember...
  • Help with the &quot;Must Have plugins&quot;

    2
    0 Votes
    2 Posts
    229 Views
    Chris FullmerC
    Yes, the installation is very simple. If any scripts have any non-standard installation, they normally explain that in the first post of the plugin thread. The general idea is this. Single .rb files (like progressbar.rb), just get placed in the Sketchup\Plugins folder. If it is a .zip file that contains lots of files and folders, then the author normally has it zipped in such a way that you can just open the zip file, select everything and drag it right into your plugins folder and they script will be installed correctly. There are a couple of scripts that require you to install other scripts (some scripts are dependent on other scripts to work). In those cases, just install the other scripts just like I described above. On top of this, you need to be aware that not all scripts get placed in the "plugins" menu. They can be put in the right click context menu, "plugins", "draw", "tools", "file", etc. They can install themselves into any main menu in SketchUp. So sometimes you have to hunt around for them. If you have questions about specific scripts beyond these generaly questions, you can always ask in that plugin's thread. Hope that begins to help, Chris
  • (REQ)uniform scale on separated faces

    6
    0 Votes
    6 Posts
    288 Views
    majidM
    thanx Chris and Pilou for considering,... maybe a tweak over "multiple S R" plugin is the solution , or maybe adding some option to it!.. also maybe thaking a look wings 3d gives many inspirations
  • [Code] material.delete

    17
    0 Votes
    17 Posts
    3k Views
    TIGT
    Use v1.2: fixed an array bug. http://forums.sketchucation.com/viewtopic.php?p=166978#p166978
  • Timeout for Ruby Scripts

    6
    0 Votes
    6 Posts
    415 Views
    J
    @jim said: I am getting the same sort of increasing slow-downs as Chris was asking about. The time between each pause increase the more geometry is added. Oops, not quite. I was creating and exploding groups when I wrote the above. When I just add plain geometry, the timeout appears to work alright. But... the pause between when my dialog is visible and when it actually becomes click-able is getting longer. I think I'm beating a dead horse.
  • Iron Bend Drawing

    5
    0 Votes
    5 Posts
    709 Views
    charly2008C
    thank you Gaieus. i have the latest update. Karlheinz
  • Generating and Uploading Results

    4
    0 Votes
    4 Posts
    161 Views
    R
    First thing would be to talk to someone who knows about web dialogues As far as i know theyre basically an IE window inside SU, so in theory you can just feed it a URL and it opens it. Heres the api page: http://code.google.com/apis/sketchup/docs/ourdoc/webdialog.html

Advertisement