Mac User? | Join the Rayscaper Beta for Mac 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
  • Select a Group in Ruby code instead of using the mouse

    3
    0 Szavazatok
    3 Hozzászólások
    521 Megtekintések
    TIGT
    If you want to clear any previous selection first use... Sketchup.active_model.selection.clear then Sketchup.active_model.selection.add(mogroup)
  • [SOLVED]set standard view

    15
    0 Szavazatok
    15 Hozzászólások
    1k Megtekintések
    P
    Overview of the code for each standard view (informative) Top direction = Z_AXIS.reverse Sketchup.active_model.active_view.camera.set( ORIGIN, direction, direction.axes.y) Sketchup.active_model.active_view.zoom_extents Bottom direction = Z_AXIS Sketchup.active_model.active_view.camera.set( ORIGIN, direction, direction.axes.y) Sketchup.active_model.active_view.zoom_extents Front direction = Y_AXIS Sketchup.active_model.active_view.camera.set( ORIGIN, direction, direction.axes.y) Sketchup.active_model.active_view.zoom_extents Back direction = Y_AXIS.reverse Sketchup.active_model.active_view.camera.set( ORIGIN, direction, direction.axes.y) Sketchup.active_model.active_view.zoom_extents Left direction=X_AXIS Sketchup.active_model.active_view.camera.set( ORIGIN, direction, direction.axes.y) Sketchup.active_model.active_view.zoom_extents Right direction=X_AXIS.reverse Sketchup.active_model.active_view.camera.set( ORIGIN, direction, direction.axes.y) Sketchup.active_model.active_view.zoom_extents Iso direction=Geom;;Vector3d.new -0.666667, 0.666667, -0.333333 Sketchup.active_model.active_view.camera.set( ORIGIN, direction, direction.axes.y) Sketchup.active_model.active_view.zoom_extents This emulates the standard cameras, combined with zoom extents. Credits to ThomThom!
  • Render options - profile only?

    4
    0 Szavazatok
    4 Hozzászólások
    498 Megtekintések
    Dan RathbunD
    @honoluludesktop said: Not the profile in "styles"? NO ... That is DrawSilhouettes in the Page's rendering_options hash. rendering_options['DrawProfilesOnly'] must have been related (or was intended to be used for something related.)
  • 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
    586 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
    393 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
    445 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
    530 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
    408 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
    300 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
    508 Megtekintések
    thomthomT
    Success!
  • WebDialog.write_image troubles.

    8
    0 Szavazatok
    8 Hozzászólások
    823 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
    566 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
    703 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
    380 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
    609 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.

Advertisement