⚠️ 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
  • Plugin for Sketchup using VB.NET or C#

    7
    0 Szavazatok
    7 Hozzászólások
    10k Megtekintések
    P
    i'm not into the dll stuff, but i'm currently working on communication between Sketchup and Microsoft PowerPoint and Microsoft Project. Win32OLE.so can be used in that case
  • An intereting question

    6
    0 Szavazatok
    6 Hozzászólások
    561 Megtekintések
    Dan RathbunD
    @zps222 said: Is it possible that Only run the ruby script to build the model, without "openning" SketchUp. You can use Ruby to write a Collada XML file (.DAE), and then that can be imported into Sketchup.
  • Is window.location="skp:" a protocol?

    6
    0 Szavazatok
    6 Hozzászólások
    1k Megtekintések
    Dan RathbunD
    Yup ... but really the better course would be duplex pipes.
  • Ruby widechar filenames not supported

    2
    0 Szavazatok
    2 Hozzászólások
    374 Megtekintések
    thomthomT
    I ran into that as well. My write-up from back then: http://forums.sketchucation.com/viewtopic.php?f=180&t=20657 (Probably outdated and not 100% correct.) I had thought of doing a CExtension available, with some basic file, read,write,exist? methods - but I'm not that familiar with C yet.
  • Points equal but distance is not larger or less?

    3
    0 Szavazatok
    3 Hozzászólások
    430 Megtekintések
    AdamBA
    Sure you know this, but if you're comparing distances rather than interested in the absolute distance, the fastest way will be to project a vector onto itself using scalar product. p1.dot(p1) < p2.dot(p2) Adam
  • JS loading problem under Mac OS X SU

    14
    0 Szavazatok
    14 Hozzászólások
    2k Megtekintések
    Dan RathbunD
    @richmorin said: It turns out that the relative paths to my library JS (and probably CSS) were working under the browsers, but not under SU. !@#$%^ (Thanks, Dan!) Ok that's a common booboo, nothing too bad. There's a fix we talked about in another thread where we were brainstorming how to set up a "mini" 3Dwarehouse for Eric's SketchTHIS.net website: Re: Download to Sketchup button
  • Get list of colour names?

    5
    0 Szavazatok
    5 Hozzászólások
    511 Megtekintések
    Dan RathbunD
    @thomthom said: Thought it'd be in a collection class. Like Colors (if it had existed) It is... but the collection is inside the class, where it belongs. @thomthom said: Or Sketchup.colors - as a list of the colours SketchUp recognized. That could be implemented... but would just be a method that accessed the data structure in the Color class. Don't want to overload the parent module with too many methods.
  • WebDialog Sub Forum? (Poll added)

    25
    0 Szavazatok
    25 Hozzászólások
    3k Megtekintések
    4
    @ webdialog votes: Yes!I have in fact been using sketchup's "UI::WebDialog.new()"frequently. The Attachment below is a webdialog that contains easy-to-access tools. Contains weld, delete complanar edges, makeface, and more.Just make sure 'ToolsInDialog.rb'(file) and 'stuff'(folder) are in "Plugins".It may have errors, but it is being checked. [image: How It Looks] Tools In A Dialog
  • About generating KMZ using Ruby Script instead of "Click"

    2
    0 Szavazatok
    2 Hozzászólások
    395 Megtekintések
    TIGT
    Use Sketchup.active_model.export("folderpath/file.kmz",false) Next for exporting to Google Earth ? Try UI.openURL("folderpath/file.kmz") ?
  • About color

    14
    0 Szavazatok
    14 Hozzászólások
    1k Megtekintések
    Z
    Thank you all guys
  • View.zoom(entity) for entities outside the context?

    2
    0 Szavazatok
    2 Hozzászólások
    285 Megtekintések
    thomthomT
    Using view.zoom(entity) - then transforming the camera's eye, target and up worked.
  • Getting the oriented boundingbox?

    5
    0 Szavazatok
    5 Hozzászólások
    486 Megtekintések
    thomthomT
    Success!
  • WebDialog.write_image troubles.

    8
    0 Szavazatok
    8 Hozzászólások
    798 Megtekintések
    TIGT
    @adamb said: you sure, TIG? I'm certain I tried doing a html+js progress bar and found its actually run from inside the Ruby execution loop. Yes I've just done it! Sleeping will slow the changes to the displayed dialog but it won't stop it loading as it is currently set...
  • Followme on multiple line

    4
    0 Szavazatok
    4 Hozzászólások
    542 Megtekintések
    N
    haha yeah I was looking at the argument ! Arguments: edge1 An Edge object to follow. I like java for having api doc clearer Ill read the description too in the future. thanks !
  • [Resolved] How select a face created in another face?

    7
    0 Szavazatok
    7 Hozzászólások
    662 Megtekintések
    L
    @unknownuser said: If you are using entities.add_face, the new face created is returned as the result. You can create the face with either lines (edges) or points. No big deal. Yes .. You're right. This morning I could get tested and worked properly in this way. Thanks
  • Two JavaScript Points

    2
    0 Szavazatok
    2 Hozzászólások
    365 Megtekintések
    Dan RathbunD
    @martinrinehart said: Dan, if you know the answer, please be a little slow to post it. .. yuz callin' me Slow, cuz'n ??
  • Roller coaster animation - move TO and angle of edge

    2
    0 Szavazatok
    2 Hozzászólások
    592 Megtekintések
    M
    My tutorial, Chapter 16 has library code to handle this. You may be able to go straight to Chapter 16 and get your work done. But as TIG points out (reincarnated as the wise old one at the fairytale SketchUCation tavern) that has its drawbacks.
  • How do I integrate a SketchUp model with a real Picture???

    4
    0 Szavazatok
    4 Hozzászólások
    632 Megtekintések
    T
    Great!! Thanks my friend, this info is really improving my sketches! I appreciate your help
  • PC v MAC webdialog populate

    45
    0 Szavazatok
    45 Hozzászólások
    9k Megtekintések
    thomthomT
    Updated the post. That should work. NOTE! the onChange event triggers in IE when the input looses focus - so I attached the same event handler to onClick and onKeyUp to force immediate update. But if you use the this snippet with the other example the two onClick events will override each other and only one will trigger. You'd need to attach the event instead to make both event handlers work.
  • Skp File Names

    3
    0 Szavazatok
    3 Hozzászólások
    493 Megtekintések
    Dan RathbunD
    @brett mcallister said: I was wondering if it was possible using ruby, to get the name of the skp file that is currently open in sketchup. assume: model = Sketchup.active_model Instance method: model.path Returns the full pathname, if the model has been saved, or an empty String if not. Instance method: model.title Returns only the SKP name (filename only MINUS the extension,) if the model has been saved, or an empty String if not.* Equivalent to: File.basename(model.path).split('.')[0] File.basename(model.path) Will return the full filename (including extension,) if the model has been saved, or an empty String if not. See also: model.modified? if model.path.empty? # model is UNSAVED if model.modified? # model may need to be SAVED else # model is a NEW unmodified SKP end else # model WAS saved at some time if model.modified? # model may need to be SAVED else # model file is sync'd with that # which is currently loaded. end end %(#4000BF)[Edited for clarity: (04 AUG 2010, 4:22 GDT) Added model reference assumption, and use of: File.basename(model.path)]

Advertisement