⚠️ 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
  • Help me! [Resolved ...for the moment :) ]

    9
    0 Szavazatok
    9 Hozzászólások
    705 Megtekintések
    pilouP
    No it's was not ! But now seems you have made something , because seems that works! Bravo for that! Maybe these particular advertisements enter in conflict ? PS In any case : the second line of links at the bottom page seems a good idea! (and not a big effort of programming!
  • [WEBDIALOG] getJSON from source folder

    8
    0 Szavazatok
    8 Hozzászólások
    959 Megtekintések
    jolranJ
    JSONPadding Will try that. Thanks a lot!
  • Problem with removing letters from string

    10
    0 Szavazatok
    10 Hozzászólások
    755 Megtekintések
    renderizaR
    @tig said: SO THEN **b = a.split('')[4..-1].join('')** o there should do it, even with strings containing non-ASCII characters Great advice!...thank you guys!
  • ComponentInstance global transformation problem

    7
    0 Szavazatok
    7 Hozzászólások
    746 Megtekintések
    tt_suT
  • How to get Model Entities change event once?

    8
    0 Szavazatok
    8 Hozzászólások
    948 Megtekintések
    fuzzybroF
    Thanks, Dan! Your idea worked out very well using "onTransactionCommit" event of the Model Observer. On every commit event I simply reset the "changed" flag and then do the rest as you proposed.
  • Add_group() + outliner = bugsplat

    12
    0 Szavazatok
    12 Hozzászólások
    3k Megtekintések
    jiminy-billy-bobJ
    Great, thanks !
  • Setting file types in the savepanel

    21
    0 Szavazatok
    21 Hozzászólások
    3k Megtekintések
    T
    Sorry to drudge up old news, but this is an embarrassingly old issue, be nice to have a filter option in the API by now. Here was my solution because I didn't like the fact that it could possibly overwrite a file accidentally using TIGs approach (untitled != untitled.txt for example). Anyhow it can be a burden to hit save twice, but I'd rather do that 100x then accidentally save over something important. Where: EXT = "txt" default_dir = "c;\\temp\\" default_file = "untitled" The following while loop: name_valid = false while name_valid == false path_to_save_to = UI.savepanel("Save Code File", default_dir, default_file) #path_to_save_to = path_to_save_to.tr("\\","/") # This maybe required. fileext = File.extname(path_to_save_to) # filename with prefix stripped filebase = File.basename(path_to_save_to, ".#{EXT}") #puts fileext.inspect if fileext == "" || fileext == nil default_file = filebase + ".#{EXT}" UI.messagebox "Oops! Including the file extension '#{EXT}'\nThis is an embarrassing workaround...\nPlease hit save again." #puts default_file.inspect else filename = filebase + ".#{EXT}" path_to_save_to = File.dirname(path_to_save_to) + "\\" + filename name_valid = true end end
  • Spot Elevation Markers Plugin - Dev Help/Review

    21
    0 Szavazatok
    21 Hozzászólások
    4k Megtekintések
    M
    @mitcorb oslocadiz is correct, the script is not at a point where it's useful in any way. I'm just in the first stages of learning Ruby, so this post was more as a way of asking the skilled developers in the forum for advice and feedback, not as a usable script at this point. Furthermore, TIG's produced (as usual) a very capable script that does Datum measurements, I'd recommend that. I may shelf this project for the time being anyway, as it's a little to ambitious for my knowledge at the moment. I wish I knew more, but I just haven't had the time to devote to it enough, or enough understanding at this point. Thanks for the interest, Matt
  • Ruby FFI, Need Suggestions!

    3
    0 Szavazatok
    3 Hozzászólások
    694 Megtekintések
    A
    @tt_su said: I would recommend compiling it under your own namespace - to avoid version conflict if anyone else should try to load a different version. Ok, I guess that's the way I should go @tt_su said: The problem is that every SketchUp extension developer isn't on this forum to check this list. Lazy people @tt_su said: That somewhat that path I took with TT_Lib, but trust me - it will generate a lot of "This plugins doesn't work!!!111!!1" - because people never read the instructions. I've started expanding the library check with my plugins so the users will get a webdialog that describes why the plugin didn't load and direct link to the require libraries. That takes cares of most of the people who tries to install it. Even I my self got one of these messages before Good results require some work
  • Scenes not behaving correctly?!?

    3
    0 Szavazatok
    3 Hozzászólások
    431 Megtekintések
    A
    @renderiza said: @agamemnus said: I created some code to render a helicopter. Unfortunately, for some blasted reason, most of the scenes are not being rendered correctly. Help! Can you be more specific when you say "rendered correctly" because I am not 100% sure what you mean by this. Do you mean the scene style rendering options where not updated? Yes... all of the camera didn't update, so the image doesn't render as intended. Had to do "view.camera = pages.selected_page.camera" to get it to work correctly.
  • Assigning Textures

    6
    0 Szavazatok
    6 Hozzászólások
    818 Megtekintések
    s_k_e_t_c_h_yS
    Thanks Jolran, You're right that was a short coming in logic, but it was making it into the 'if' anyway. The issue is you can only use .texture to load images, not skm's. TIG wrote a module to extract a .skm and return the texture within so I'm currently integrating that library.
  • You are now editing multiple components

    56
    0 Szavazatok
    56 Hozzászólások
    7k Megtekintések
    ashscottA
    The final product and discussion is now available over here: http://sketchucation.com/forums/viewtopic.php?f=323&t=54082
  • Sketchup URL scheme / pseudo protocol

    4
    0 Szavazatok
    4 Hozzászólások
    722 Megtekintések
    TIGT
    A URL like: file:///C:/Program Files/SketchUp/SketchUp 2013/SketchUp.exe should open SketchUp [with a new file from a template] when run in IE, but the user will be prompted to let it execute because any exe has to have express permission - these are strict internet protocols to protect from virus/trojans etc that might otherwise do things without the user's prior knowledge... In other browsers like Firefox/Chrome you'll get different results, but all will ask the user what to do - usually they as you if you want to save the file NOT run it ! ...
  • Modifying Web-Dialog content size possible?

    4
    0 Szavazatok
    4 Hozzászólások
    429 Megtekintések
    renderizaR
    @aerilius said: Why do I reply here I'm not a god… I am currently building a temple on your honor...at least a SketchUp model of it for sure! Thanks!
  • Axis Orientation

    3
    0 Szavazatok
    3 Hozzászólások
    384 Megtekintések
    timberlineT
    @tt_su said: In SketchUp everything is built around Z being up. You will probably find it easier to convert imported geometry to match this and have the exporter adjust the axis again later for the target application. Thank you for this info. After a Google search I started to assume that this would be the case, but you have confirmed it. Being a beginner in SU I didn't want to start coding and hacking a 'square peg into a round hole'. I will code a function to transform the geometry between the two programs so that the data will react to each of the programs assumptions.
  • Problem with face.normal directions...help!

    10
    0 Szavazatok
    10 Hozzászólások
    849 Megtekintések
    TIGT
    Back to the question... NorthEast Quadrant: normal.y>0 normal.x>0 SouthEast Quadrant: normal.y<0 normal.x>0 SouthWest Quadrant: normal.y<0 normal.x<0 NorthWest Quadrant: normal.y>0 normal.x<0 As you said: Due North: normal.y==1 normal.x==0 Due East: normal.y==0 normal.x==1 Due South: normal.y==-1 normal.x==0 Due West: normal.y==0 normal.x==-1 Exactly Vertical: normal.z==0 Upwards Facing: normal.z>0 Downwards Facing: normal.z<0 Exactly Up: normal.z==1 Exactly Down: normal.z==-1
  • Transformation.rotation help

    5
    0 Szavazatok
    5 Hozzászólások
    1k Megtekintések
    tt_suT
    What fredo said, Transformation.axes sounds like the method you want to use: http://www.sketchup.com/intl/en/developer/docs/ourdoc/transformation.php#axes
  • Scripting/processing question..

    7
    0 Szavazatok
    7 Hozzászólások
    656 Megtekintések
    Chris FullmerC
    I think people have pretty good success with getting SU to run under WINE. I've never seen anyone try CentOS. Good luck!
  • Load and/or Save a SKM file to/from a model in Ruby

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    TIGT
    That's a work around if Java's not available... Sometimes decompression tools also hijack .JAR extensions ! If you are using PC only you can use VBS with 'unzip' etc...
  • X-UA-Compatible meta tag changes image button position.

    6
    0 Szavazatok
    6 Hozzászólások
    914 Megtekintések
    renderizaR
    @aerilius said: Once you override such a property (like padding: 0) the button can't be rendered anymore using the theme, and it won't look native anymore. I noticed that before using paddin:0 the button had a gloss effect on the button. @aerilius said: without width/height works fine for me. I tried this and it does center the button image but then the button is too big. @tt_su said: Exactly what code to use depend on the scenario and layout you have. Got a small snippet? http://sketchucation.com/resources/pluginstore?pln=RND_KeyScene The .html file is inside the "RND_Keyscene" folder...its called "rnd_keyscene.html" Note: Using the paddin:0 worked ok even though that will mess the theme used for button but I can deal with that. Thanks!

Advertisement