🚨 Skimp | 25% Off until March 30 Buy Now

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
  • Need a plugin?

    11
    0 Szavazatok
    11 Hozzászólások
    618 Megtekintések
    pilouP
    No problem! I'ts my pleasure! ...et le français québécois est encore meilleur que celui du vieux continent!
  • Check if group of entities exist, if true delete them

    5
    0 Szavazatok
    5 Hozzászólások
    558 Megtekintések
    D
    Thanks for your help everyone! TIG's advice did the trick. Also thomthom, thank you for pointing out your editable 3d text plugin. I've wished it existed for a long time. Awesome work!
  • Anyone up to this??

    11
    0 Szavazatok
    11 Hozzászólások
    671 Megtekintések
    bsintzelB
    Great Canadian beer, Beaver tails and hockey....man, what a country we live in. Happy Canada Day
  • Failed saving image on plugin directory. (solved)

    3
    0 Szavazatok
    3 Hozzászólások
    248 Megtekintések
    renderizaR
    Hi, Doing some research I found this post by TIG and it was pretty much what I was looking for. http://sketchucation.com/forums/viewtopic.php?p=281017#p281017 Thanks!
  • [Code] Printing color range as grid for preprint checking

    11
    0 Szavazatok
    11 Hozzászólások
    1k Megtekintések
    atelierpaarA
    Hello Tig, thanks for looking into it. Just the SU Material file "colors" contains 310 Colors. Each Color has to be selected and applied to some surface in order to get the color into the model. It`s the tedious manual work that discouraged to make a color guide. Is there perhaps a another way of mass-loading materials into a model ? Uli
  • Safe place to store user-defined parameters

    114
    0 Szavazatok
    114 Hozzászólások
    16k Megtekintések
    thomthomT
    Norwegian XP - User "Tæst": ` ENV.to_hash { "PROCESSOR_ARCHITECTURE"=>"x86", "HOMEDRIVE"=>"C:", "CLASSPATH"=>".;C:\Programfiler\Java\jre1.6.0_07\lib\ext\QTJava.zip", "APPDATA"=>"C:\Documents and Settings\T\221st\Programdata", "USERPROFILE"=>"C:\Documents and Settings\T\221st", "TMP"=>"C:\DOCUME~1\TST~1\LOKALE~1\Temp", "SESSIONNAME"=>"Console", "ProgramFiles"=>"C:\Programfiler", "PROCESSOR_REVISION"=>"0d08", "PROCESSOR_LEVEL"=>"6", "CommonProgramFiles"=>"C:\Programfiler\Fellesfiler", "USERNAME"=>"T\221st", "PROCESSOR_IDENTIFIER"=>"x86 Family 6 Model 13 Stepping 8, GenuineIntel", "OS"=>"Windows_NT", "FP_NO_HOST_CHECK"=>"NO", "windir"=>"C:\WINDOWS", "SystemRoot"=>"C:\WINDOWS", "PATHEXT"=>".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH", "ALLUSERSPROFILE"=>"C:\Documents and Settings\All Users", "USERDOMAIN"=>"WEEBLE", "NUMBER_OF_PROCESSORS"=>"1", "HOMEPATH"=>"\Documents and Settings\T\221st", "TEMP"=>"C:\DOCUME~1\TST~1\LOKALE~1\Temp", "SystemDrive"=>"C:", "QTJAVA"=>"C:\Programfiler\Java\jre1.6.0_07\lib\ext\QTJava.zip", "Path"=>"C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\FELLES~1\SONICS~1\;C:\Programfiler\Fellesfiler\Autodesk Shared\;C:\Programfiler\backburner 2\;C:\Programfiler\Fellesfiler\Roxio Shared\DLLShared;c:\Programfiler\Microsoft SQL Server\90\Tools\binn\;C:\Webdev\MySQL\MySQL Server 4.1\bin;C:\Programfiler\QuickTime\QTSystem\", "LOGONSERVER"=>"\\WEEBLE", "ComSpec"=>"C:\WINDOWS\system32\cmd.exe", "COMPUTERNAME"=>"WEEBLE" } TT::System.local_data_path C:\DOCUME~1\TST~1\LOKALE~1\PROGRA~1 ENV['TEMP'] C:\DOCUME~1\TST~1\LOKALE~1\Temp File.dirname( ENV['TEMP'] ) C:\DOCUME~1\TST~1\LOKALE~1 TT::Win32.get_folder_path_ansi( TT::Win32::CSIDL_LOCAL_APPDATA ) C:\Documents and Settings\Tæst\Lokale innstillinger\Programdata TT::Win32.get_short_folder_path_ansi( TT::Win32::CSIDL_LOCAL_APPDATA ) C:\DOCUME~1\TST~1\LOKALE~1\PROGRA~1 path = TT::Win32.get_short_folder_path_ansi( TT::Win32::CSIDL_LOCAL_APPDATA ) C:\DOCUME~1\TST~1\LOKALE~1\PROGRA~1 File.exist? path true file = File.join( path, 'test.txt' ) C:\DOCUME~1\TST~1\LOKALE~1\PROGRA~1/test.txt File.open( file, 'w' ) { |f| f.puts 'Hello World' } nil File.exist? file true File.size file 13` PROGRA~1 in the local appdata folder is just a coincidence as the Norwegian work is very similar to English. C:\Documents and Settings\Tæst\Lokale innstillinger\Programdata It'd be nice to have this tested on a computer with very different language.
  • Download skp files directly into Sketchup

    14
    0 Szavazatok
    14 Hozzászólások
    4k Megtekintések
    thomthomT
    Yea, I also found awkward ways to drop files to the WebDialog - but it's so awkward that I won't bother making a public release for it. It'll just be confusing - and defeat the purpose of trying to make an easy drag and drop feature...
  • Save Model using Ruby API on Windows

    7
    0 Szavazatok
    7 Hozzászólások
    859 Megtekintések
    Dan RathbunD
    @conchords said: @chris fullmer said: From that same thread, Dan mentions you can use this command to simulate the actual File > Save: Sketchup.send_action( 57603 ) Then you could use the regular Model.save for Mac and the send_action for PC's. I've not tried it, but it might be a solution. That worked great, thanks. Actually at that time I did not know of the cross-platform send action string, "saveDocument:" ... ... so you can just use Sketchup.send_action( "saveDocument:" )
  • Lengths over trigonometric

    3
    0 Szavazatok
    3 Hozzászólások
    330 Megtekintések
    TIGT
    This is pretty basic 'trigonometry'... [Should have listened more carefully in class ] The ' opposite_side' of a right-angled triangle is found by adjacent_side * Math::tan(angle) The 'angle' needs to be in radians, so if you have it in degrees then you need to use angle.degrees There are similar equations for finding the other sides depending on the known angles/sides etc... There are many Internet sites giving advice...
  • Web dialog pass data from Ruby to webdialog

    6
    0 Szavazatok
    6 Hozzászólások
    2k Megtekintések
    A
    That is because you "kill" the document when you do document.write(query). Look at the documentation of document.write. This works: @name = "the name" @description = "the description" dialog = UI;;WebDialog.new("Details", true, "sachi_pluginname_dialogname", 410, 875, 1030, 0, true) dialog.add_action_callback("pass_data") { |dialog, htmlpage| js = "set_details(#{@name.inspect}, #{@description.inspect})" # It's not java. dialog.execute_script(js) } dialog.set_file 'C;\Program Files\Google\Google SketchUp 8\Plugins\set_id\details.html' dialog.show() <html> <head> <script> function callRuby(htmlpage) { // Declare the variable with "var" so that it is not global. var query = 'skp;pass_data@' + htmlpage; window.location.href = query; } function set_details(a, b){alert(a); // Example 1 var text = document.createTextNode(a); document.getElementById("detail1").appendChild(text); // Alternative // document.getElementById("detail1").innerHTML = a; // Example 2 document.getElementById("detail2").value = b; } </script> </head> <body> <div id="detail1"></div> <input id="detail2" /> </body> <script> // If you will access element in the page, you need to do this after the page (body) has loaded. callRuby("pull_selection_count"); </script> </html>
  • How to add multiple groups into one group?

    18
    0 Szavazatok
    18 Hozzászólások
    861 Megtekintések
    nithi09N
    Hope this explains my requirement a little better. I have a sunroom comprised of many groups: corner post, floor channel, door, window etc. I want the user to select their sunroom color by clicking the model. In order to do this I need to gather all the sunroom groups into a parent group where I will use the onClick function to change the Material attribute. I expect the Material change will automatically cascade to the sub-groups but if not I can easily set the Material of the sub-groups to something like=Parent!Material The question is how do I wrap all of my groups into this parent group? Thom Thom thank you for the advice regarding start opertaion, but I do not need undo for this model, the user is starting with a blank canvas and will simply delete top level group if they have to start over
  • Get attribute roty

    11
    0 Szavazatok
    11 Hozzászólások
    927 Megtekintések
    existmeE
    I wonder if you had find an answer to your problem, I also need to know the value of lenY but I cannot get it through get_attribute with out entering them manually in dc panel
  • Drop-Down List Options

    18
    0 Szavazatok
    18 Hozzászólások
    2k Megtekintések
    pingpinkP
    Maybe,the problem is about the component , and face color functions . I did it separately in the external files. My webdialog have to be chosen all options and run by clicking. I'm trying to develop the curtain wall structure modeling .I'm not finished all the codes yet. I use Window , and SU7 to test a program. I changed all the color_value names which you suggest it would cause the conflict about component's color and face's color. It's looked easier in the code. I've attached the files for you If you would like too see. And If you have any suggestions , I love to read for improvement. Thank you for helping and teaching me ,Jolran .I keep doing codes every day.I'm trying !
  • [Doc] Official LanguageHandler Docs

    2
    0 Szavazatok
    2 Hozzászólások
    201 Megtekintések
    A
    That's the end. Once it's an official API they won't fix/rename/add what has been urgently requested.
  • Reference to deleted Group

    9
    0 Szavazatok
    9 Hozzászólások
    518 Megtekintések
    J
    Following this conversation I realized I am doing something Sketchup was not meant to do, So I switched to rotating points instead of edges, and rotate them one by one instead of in a group. I still need to keep references to the points (not to the edges), but so far it looks OK. Thank you
  • Understanding overlayed transparent OpenGL polygons

    9
    0 Szavazatok
    9 Hozzászólások
    2k Megtekintések
    thomthomT
    @aerilius said: The best (nicer) but it seems only to affect pngs. The example should be fully working. Do you see the same phenomenon? I see the same on my nVidia 8800GT card. (SU8)
  • What does SketchUp 2013 do for developers?

    44
    0 Szavazatok
    44 Hozzászólások
    9k Megtekintések
    thomthomT
    @dacastror said: when opening sketchup 8 will not get a notice to upgrade to 2013 version (because of this, they will lose millions of users) It does update. Unless you have a firewall that blocks access. @dacastror said: in "Sketchup 2013 free" entities transformations performed more slowly than "Sketchup 2013 pro" and "Sketchup 8". These things are really serious errors Got a reproducible sample case for this?
  • This method of apply color working?

    14
    0 Szavazatok
    14 Hozzászólások
    613 Megtekintések
    TIGT
    That was and is displayed. But it think the string equivalent was always shown but just didn't work until now
  • DC Custom Function - Sum of attribute values

    4
    0 Szavazatok
    4 Hozzászólások
    837 Megtekintések
    TommyKT
    I have rewritten the plugin to add up the attribute values as it recursively looks through the components and groups. This works without a problem. For future reference, all those people out there dealing with dynamic attributes should probably know that something weird happens when you create an array of nested groups/components and start working on them within the DCFunctionsV1 class. That may be an incorrect diagnosis, but it explains enough for my situation. For those interested, see the plugin attached that works. At the moment, when you change the value of an attribute of a nested group/component that is summed, it doesn't automatically update the formula value. Fixing this is my next challenge. Oh what fun I will have with observer classes (of which I know very little about)! AttributeSum v0.1
  • Ruby script for selecting color

    62
    0 Szavazatok
    62 Hozzászólások
    3k Megtekintések
    nithi09N
    Hi TIG I figure it out how to write animate. but I have a another question How do I make one group from bunch of small groups for example house has door group, window group, roof group (I mean door(),window(),roof()). now how do I do these three method in to one group? I need to make house group contain door group, window group, roof group. I search whole forum I could not find close to my situation. pls give me some Idea thanks

Advertisement