Sketchucation Tools 5.0.7 | Licensing improvements and bug fixes 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
  • Can someone may help with that?? (problem Solved ...Thanks)

    6
    0 Szavazatok
    6 Hozzászólások
    787 Megtekintések
    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 Szavazatok
    6 Hozzászólások
    371 Megtekintések
    CadFatherC
    and i even do searches!
  • What tools can help to debug?

    5
    0 Szavazatok
    5 Hozzászólások
    428 Megtekintések
    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 Szavazatok
    16 Hozzászólások
    3k Megtekintések
    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 Szavazatok
    8 Hozzászólások
    2k Megtekintések
    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 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    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 Szavazatok
    18 Hozzászólások
    8k Megtekintések
    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 Szavazatok
    3 Hozzászólások
    244 Megtekintések
    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 Szavazatok
    3 Hozzászólások
    362 Megtekintések
    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 Szavazatok
    6 Hozzászólások
    538 Megtekintések
    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 Szavazatok
    2 Hozzászólások
    300 Megtekintések
    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 Szavazatok
    6 Hozzászólások
    481 Megtekintések
    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 Szavazatok
    17 Hozzászólások
    4k Megtekintések
    TIGT
    Use v1.2: fixed an array bug. http://forums.sketchucation.com/viewtopic.php?p=166978#p166978
  • Timeout for Ruby Scripts

    6
    0 Szavazatok
    6 Hozzászólások
    595 Megtekintések
    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 Szavazatok
    5 Hozzászólások
    910 Megtekintések
    charly2008C
    thank you Gaieus. i have the latest update. Karlheinz
  • Generating and Uploading Results

    4
    0 Szavazatok
    4 Hozzászólások
    289 Megtekintések
    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
  • Need help debugging

    3
    0 Szavazatok
    3 Hozzászólások
    253 Megtekintések
    PixeroP
    Thanks, that seem to work. (I didnt have to use that last part.)
  • [Idea] Aligner

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    D
    download second link PowerAligin_2.swf
  • Rotate, Move and arrange components, Plugin??

    8
    0 Szavazatok
    8 Hozzászólások
    3k Megtekintések
    pilouP
    @unknownuser said: Any ideas is welcome... You don't like my Sketchyphysic3 idea?
  • Does exist a Component maker?

    6
    0 Szavazatok
    6 Hozzászólások
    944 Megtekintések
    pilouP
    Cool And if it's possible to apply the "hole selection" to a volume that will an another perfect plug!

Advertisement