⚠️ 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
  • Commit_operation bug

    28
    0 Szavazatok
    28 Hozzászólások
    3k Megtekintések
    Dan RathbunD
    Manuela, Add into your onQuit method, statements that detach your plugin's observers, then dispose of the observer instances by setting them to nil, and then call GC.start (Garbage Collection.) See if that prevents the BugSplat!s when SU closes.
  • Collada round tripping

    3
    0 Szavazatok
    3 Hozzászólások
    424 Megtekintések
    T
    As Collada is XML there is no reason why they should not be able to parse block and group hierarchies on import. As said Sketchup exports the hierarchies OK but cant do a 'round trip' and import the geometry in the same state. I think your comment refers to the Autodesk kit for DWG/DXF. I'm under the impression Sketchup uses libraries provided by the Open Design Alliance.
  • Removing the group after group.to_component

    7
    0 Szavazatok
    7 Hozzászólások
    490 Megtekintések
    honoluludesktopH
    Right again: my_instance = @master_group.to_component my_definition = my_instance.definition my_definition.name = my_file_name my_instance.erase! repeat = false model.place_component my_definition, repeat Can I just say that I must have been sleep deprived.
  • Win32 output debugging

    9
    0 Szavazatok
    9 Hozzászólások
    4k Megtekintések
    J
    Here's what I came up with. Just make sure it is alphabetically the first file in Plugins in order to capture the earliest output. require 'Win32API' class CL_rps_console < Sketchup;;Console OutputDebugString = Win32API.new("kernel32.dll", "OutputDebugString", ['P'], 'V') def write(smess="\0") smess = smess.to_s + "\0" OutputDebugString.call(smess) end end # redefine standard output to our new class $old_stdout = $stdout # in case you want to turn off traces $stdout = CL_rps_console.new $stderr = $stdout puts "-" * 40 puts Time.now puts "Starting SketchUp" puts "-" * 40
  • MAXWELL plugin Authors?

    23
    0 Szavazatok
    23 Hozzászólások
    2k Megtekintések
    thomthomT
    @jd hill said: And thanks for the idea of using a Definition; that's perfect. Mind you - if you don't use abort_operation you'll end up making lots of temp definitions cluttering up the In Model definition list.
  • Interface for plugins.

    38
    0 Szavazatok
    38 Hozzászólások
    4k Megtekintések
    Chris FullmerC
    @unknownuser said: I have done HTML+JS+CSS+DBS+FTE+HTE+KLM Seriously, in what world are web dialogs a good option for UI. Please Google include a simple UI into the API...
  • OnRButtonUp broken?

    6
    0 Szavazatok
    6 Hozzászólások
    650 Megtekintések
    thomthomT
    So both events are busted. And when they fix it..?
  • [Tool] Pencil - UI prototyping / sketching

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    J
    Still useful and cool, thanks for the link. You must have found Glade when searching for a UI designer - it supports quite a few language bindings. Even JavaScript, which I found interesting. Does that mean you can write desktop apps in JavaScript using gtk widgets?
  • Example of Compiled Extension with SWIG and CMake

    11
    0 Szavazatok
    11 Hozzászólások
    4k Megtekintések
    K
    Hi, has anyone tried this on Mac OSX (10.6)? For SWIG I did the standard: ./configure, make, make install. but when i try to CMake your examples above i get this: swig error : Unrecognized option -initname swig error : Unrecognized option Example for -initname "Example" in CMakeList.txt also if i remove that it doesn't get better. I tried SWIG versions 2.0.0 and 1.3.40 with no luck, and I have ruby 1.8.7 (so should be no problems here...). Please help, Thank you.
  • How to reverse edge

    4
    0 Szavazatok
    4 Hozzászólások
    630 Megtekintések
    thomthomT
    You want a sorting routine for connected edges? I got one on disk at home - but I'm currently in Germany on a field trip...
  • OnUserText

    4
    0 Szavazatok
    4 Hozzászólások
    424 Megtekintések
    thomthomT
    @spring.freediver said: It is odd that my other tools worked without it. hm..? Are you sure you haven't got that method in your other tools? I've never seen it possible without this method.
  • Cannot launch SU from hta [Now can]

    17
    0 Szavazatok
    17 Hozzászólások
    2k Megtekintések
    chrisglasierC
    Also found this written by the same guy specifically for hta's. I just wrote the input into my code so there is no need for any pop up window. Maybe useful for others ... [image: 2010-10-07_1820.png]
  • Ruby File Auto-Reloader code

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    J
    I'm glad you found it useful. But there are times when it is good to close SketchUp; when you change the name of a method, for example. Closing SketchUp is the only way to get rid of the old method name. Sometimes you have a bug where a part of your code is still using the old method name until you remember you changed it. I've done this numerous times.
  • Entities.add_group(ents)

    17
    0 Szavazatok
    17 Hozzászólások
    2k Megtekintések
    K
    ... actually this works if you want to create a sub-group that includes all entities of the parent group, but not if you want to create a sub-group that includes only SOME of the entities of the parent group. For instance, I start with a box, and I create one group for all walls, another for all roofs, and another for the floors. I guess I could create multiple sub-groups using your method, and then erase everything that I don't want out of each group. Aarg! This is much more calculation intensive that I want! -- Karen
  • Auto Reload Plugin folder

    4
    0 Szavazatok
    4 Hozzászólások
    2k Megtekintések
    M
    The traceback is always the same with this plugin because the lastest method used is "load" : ["C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:48:inload'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:48:in AutoReload'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:44:in upto'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:44:in AutoReload'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:35:in startTimer'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:34:in call'"] But you have in the error message the line of the error and a "small" description : [image: http://lh5.ggpht.com/_6btJdjutpH4/TKw-MbBTbgI/AAAAAAAACMQ/CiQ9UrtbW9A/s800/Error2.PNG]
  • Model Hierarchy

    2
    0 Szavazatok
    2 Hozzászólások
    682 Megtekintések
    TIGT
    A definition.name applies to every instance, as in instance.definition.name - which can't be "" - but an instance ALSO has it's own name - which might be "" - instance.name ?
  • Add to existing groups to a new group

    2
    0 Szavazatok
    2 Hozzászólások
    336 Megtekintések
    TIGT
    See this parallel thread http://forums.sketchucation.com/viewtopic.php?p=277009#p277009
  • Webdialog component and group html attributes

    5
    0 Szavazatok
    5 Hozzászólások
    631 Megtekintések
    4
    Thanks, guys. I Hope I can get this to work.
  • Entity.parent gives wrong type

    20
    0 Szavazatok
    20 Hozzászólások
    2k Megtekintések
    TIGT
    If you make a group into a component it will take the original 'Group#nn' name as the definition's name. You have to use definition.name="new_name" to change it to something else. When you place an instance you can give that a separate name [Entity Info]. So you can have a component definition named "My_component" and the instances of it can also have their own names "v1", "v2" etc...
  • Mechanizing the model upload process?

    2
    0 Szavazatok
    2 Hozzászólások
    299 Megtekintések
    Dan RathbunD
    You'd have to first export I'd think, via the Sketchup API. Then some kind of automation, perhaps thru a webdialog. (I do not see a specific 3Dwarehouse APi on Google API site.) Try posting a query here: http://sketchup.google.com/3dwarehouse/forum

Advertisement