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
  • WebDialog.set_html() Gotchas

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    M
    "Any customer can have a car painted any color that he wants so long as it is black." H. Ford There is no doubt that JavaScript is the best language for code running in the browser. Ruby is absolutely the best choice for SketchUp plugins. For similar reasons we've chosen HTML and CSS. However, if you know a man whose pet Python is named Monty, you may infer something about his personal language choice. (Monty just reminded me that van Rossum works for Google. There's hope.)
  • IE9 looking good

    24
    0 Szavazatok
    24 Hozzászólások
    2k Megtekintések
    M
    @hfm said: Well yeah, I/we have been ranting about updating IE. But it feels more like the're changing it with every number. If you are a very big, very rich software company you can have team A working on version N, while team B works on version N+1. As a guess, the IE8 team is now on IE10.
  • Set camera, and move shape by end point

    7
    0 Szavazatok
    7 Hozzászólások
    519 Megtekintések
    M
    @lib said: Martin I will have a look at the API you offer , I think it is going to help me in my project. Do keep us posted!
  • Open Komodo

    2
    0 Szavazatok
    2 Hozzászólások
    507 Megtekintések
    R
    I thought the post was Open Kimono. Boy was I disappointed.
  • Units Strings i18n

    8
    0 Szavazatok
    8 Hozzászólások
    1k Megtekintések
    TIGT
    OK, you [almost] got me... Webster's US spelling ideas were to base America's English spellings on the original roots - which he took usually to be Latin - as in ***center/centrum, color/em, labor/em, honor/em etc, instead of centre, colour, labour, honour etc used in Johnson's 'English' English taken via the French... [***actually even 'kentrus' is also a Greek word for a 'spur-point', but became the more usual meaning 'center' when in Latin] So, although some words did originate in Greek, they had long been borrowed into Latin - like Greek's metron/metros which became Latin's meteri/metiri/metrum [both concerning 'measure']... Words like 'metrology' do come from two Greek roots - 'measure' and study' - metron-logos... The word 'meter' for a measuring device is [probably] from the Greek root too... English is also proficient at wrongly combining Greek and Latin roots into single words - e.g. 'Television' [Tele=Far (Greek) + Visio=Sight (Latin)] - which might have been more logical as something like Teletheamation or Videoeminus ??? The French Commission in charge of sorting out their newfangled 'metric' system chose the word 'metre' as the length-unit's name - most say from the Greek root 'metron'>'a measure' - and it is often prefixed with Greek 'number-roots' like deca, kilo, giga, micro, nano etc, but also several Latin rooted ones like deci, centi, milli, micro [Gr&L!] etc, to confuse things completely. Latin's 'metrum' ain't that different anyway and the French did make Latin's 'center/centrum'>'centre' so why not with 'metre'? So I still believe that Webster's spelling of 'meter' for a unit of length was taken from the Latin root 'meter(i)' as it was his preferred root source - albeit perhaps mistakenly, if the French had indeed taken it from Greek as 'metre' ! To quote Webster's Dictionary directly on this: 'Meter' = Old English mēter, from Latin metrum, from Greek metron = measure, meter; Anglo-French metre, from Latin metrum... What's in a name ? ... I used the word 'invent' in invisible 'quotes' - they did 'make' the 'metric' system - by definition it is based on their newfangled 'metres' !
  • SU 6.0 latest version?

    9
    0 Szavazatok
    9 Hozzászólások
    569 Megtekintések
    thomthomT
    Or did you actually want the new SU 7 version? And you're surprised you had to pay to upgrade?
  • Win32ole.so procedure/load issue

    13
    0 Szavazatok
    13 Hozzászólások
    6k Megtekintések
    M
    @thomthom said: @cjthompson said: Sketchup only uses 1.8. 1.8.0 to be exact. Thanks very much - that would certainly make sense!
  • Rate of Adding Faces

    7
    0 Szavazatok
    7 Hozzászólások
    946 Megtekintések
    thomthomT
    @jim said: This is how it works. I set the response window 0.07 seconds, so there is almost no lag. Probably a setting of 5 seconds would provide frequent enough updates to allow an abort, and still be nearly as fast as possible. You're using a timer of some sort?
  • More bounding box questions

    5
    0 Szavazatok
    5 Hozzászólások
    250 Megtekintések
    chrisglasierC
    Yes of course thanks. No fun being dumb!
  • [Question] Is it possible to set the face.normal?

    23
    0 Szavazatok
    23 Hozzászólások
    4k Megtekintések
    Chris FullmerC
    I don't think Lightup does this. I think it renders materials and bakes them into faces in SU. At least that is my (severely limited and naive) understanding.
  • Bounding box - different colours

    5
    0 Szavazatok
    5 Hozzászólások
    1k Megtekintések
    chrisglasierC
    @chris fullmer said: You would need to create your own tool that draws to the screen. Then it could draw bounding boxes around your components. And you could specify any color you desire. I am out of mental gas for the day, but maybe tomorrow I could try to mock up a quick snippet that would show how its done. Chris Very kind - it's not urgent but I needed to know if it were possible. But of course if you find some time ...
  • Debugging WebDialogs' .tmp Files

    4
    0 Szavazatok
    4 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    In a normal MSIE browser window, if an error occurs (and you have Internet Options > "Advanced" (tab) > "Browsing" (group) > "Display a notification about every script error" unchecked,) you will not see a Error Popup, but there wil be an error icon in the lower left corner on the Status bar. Clicking this icon will bringup the Error Popup dialog. If you have Visual Studio installed it will likely ask if you wish to Debug in VS.
  • Sketchup.find_support_file

    12
    0 Szavazatok
    12 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    Actually Martin.. that example was quick and dirty. It CAN be cleaned up. I was thinking it would be better to break out of the iteration when the proper match was found, rather then keep iterating, though how many paths do most people have in their $: anyway? You'd likely run a method and set a constant (perhaps Integer index into $LOAD_PATH) and then use that reference from then onward. So it should be a one time, startup type thangy... One thing I do is actually put set ENV['SUpath']
  • Set path for request dlls

    3
    0 Szavazatok
    3 Hozzászólások
    304 Megtekintések
    Dan RathbunD
    Most people (who run Su on PC,) already have a copy of Win32API.so where their $LOAD_PATH array can find it, so you should only need to: require 'Win32API' if it's already loaded, require will skip reloading it. You can even get more fancy, by first checking if it's loaded, because it defines the class Win32API, and classnames are constants ie: unless (defined? Win32API)=='constant' %(#F0F0F0)[__]require 'Win32API' end Also.. I think you must unload those DLLs when your plugin is done with them. Perhaps you might need to use a custom AppObserver implementing the onQuit callback, with your plugin.
  • Switch direction of edge?

    7
    0 Szavazatok
    7 Hozzászólások
    573 Megtekintések
    C
    TIG's method of getting the vertices of a face worked for me. Thanks everyone for the replies.
  • Sketchup use of WebKit

    3
    0 Szavazatok
    3 Hozzászólások
    696 Megtekintések
    W
    When Sketchup is run there is no instance of Safari that shows up in the process list. Actually, nothing shows up in the process list other than Sketchup. This indicates that all of the processing is managed within Sketchup itself. Therefore, the sketchup application is linking to frameworks to get its services - rather than launching separate applications. The web framework that Sketchup uses is WebKit. Within the Sketchup bundle there is a WebDialog.framework The WebDialog.framework has the WebKit.h file so I'm assuming it links to the WebKit.framework within the OS I have loaded the nightly build for WebKit and redirected the load path to use the new build. If Sketchup is calling WebKit.framework it should be the one I'm referencing. Its possible that Sketchup is using some kind of "statically linked" instance of webkit but that isn't likely (I hope) The nightly build has a built in Javascript Debugger within the WebInspector but now I need to figure out how to activate it since the Sketchup WebDialogs don't respond to a context click (a right click) like normal Safari windows. I hope I'm on the right track since a JavaScript debugger would be a great help to WebDialog development!
  • Pushpull scripting. need HELP plz

    7
    0 Szavazatok
    7 Hozzászólások
    474 Megtekintések
    Chris FullmerC
    OK, just got Sketchup and the web console installed on my system so I could test this out. Sure enough, making TIG's changes, plus the ones I showed above, and it all works. This is the final code: model = Sketchup.active_model sel = model.selection model.start_operation "mult. pushpull" faces = [] sel.each do |e| faces << e if e.is_a? Sketchup;;Face end faces.each do |face| face.pushpull 100 end model.commit_operation There you go! Let me know how the other tutorials go also!, Chris
  • Breaking an ArcCurve - how?

    2
    0 Szavazatok
    2 Hozzászólások
    193 Megtekintések
    thomthomT
    Yes Thomas - you blind pillock - it's under the Edge class. Edge.explode_curve http://code.google.com/apis/sketchup/docs/ourdoc/edge.html#explode_curve
  • [Web dialog] switch snippet for pc / mac

    7
    0 Szavazatok
    7 Hozzászólások
    497 Megtekintések
    chrisglasierC
    To make or to become weary; A feeling of being mentally fatigued; Expressive of fatigue Wary: marked by keen caution and watchful prudence; Either I think is appropriate. But more important cgScenes might well become compatible - some kind of milestone in PC/Mac WD compatibility perhaps.
  • Any way through ruby to create a component collection

    4
    0 Szavazatok
    4 Hozzászólások
    336 Megtekintések
    chrisglasierC
    And, John, I think you said you have Macified cgScenes. I wonder if that version also works on PCs. Or do you think it should released as a Mac version? Oh and also you should note that cgScene start button was introduced because Macs run the script before loading the model. However nset doesn't rely on model data at the start but it is something you might like to add to the "no js after window.location" for callbacks I pointed to before.

Advertisement