🏢 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • Setting a certain unit as standard

    13
    0 Votes
    13 Posts
    524 Views
    M
    Thank you Thom and Martin.. I understand better now :
  • Reading the SU API

    17
    0 Votes
    17 Posts
    586 Views
    M
    @honoluludesktop said: ... If so is it efficient? Twentieth century issue.
  • Ruby methods in dynamic component attributes?

    3
    0 Votes
    3 Posts
    233 Views
    RichMorinR
    Thanks! That is exactly what I was looking for! I've updated my blog entry (http://www.cfcl.com/rdm/weblog/archives/001716.html) with some speculation on how this capability might be used.
  • In over my head?

    13
    0 Votes
    13 Posts
    583 Views
    M
    Yeah i noticed a few of those, as well as some other problems Was having alot of issues trying to get it even to run a few parts of it the other night. Been reading the programming Ruby book found on the ruby-doc.org website. going to have to go through the code and tear it apart piece by piece over the course of this week, and hopefully have something workable by this weekend. Hopefully.
  • What button is the user holding down?

    5
    0 Votes
    5 Posts
    150 Views
    F
    Yeah. Looking into it, there is a lot more work involved. I'd have to change my program quite a bit to fit it into this programming structure.
  • [WebDialog]Behind nset Sketchup API

    10
    0 Votes
    10 Posts
    3k Views
    chrisglasierC
    Jim has got the device working in a couple of browsers. He asked me to post these images on his behalf to see if anyone else is interested in this aspect - I am more interested in finalising the machine that runs this or other such devices from the desktop. [image: Oasw_080.jpg] [image: RJlF_081.jpg]
  • Returning other than boolean by send_action()

    5
    0 Votes
    5 Posts
    213 Views
    R
    Have you tried SceneExporter, either to do what you want, or as an example of how it could be done? The Pro version will hopefully have the Save dialog working soon.
  • TIG's DXFlayercols.rb

    3
    0 Votes
    3 Posts
    462 Views
    G
    cheers dude
  • Ruby Gems?

    3
    0 Votes
    3 Posts
    666 Views
    N
    I found something that in the end could lead to a way of using ruby gems with SketchUp Ruby http://docs.rubygems.org/read/chapter/15#page101 and http://docs.rubygems.org/read/chapter/3#page83 I could not understand too much from that, but I hope that somebody will refine that in a easy to use manner.
  • JavaScript Help from Google

    2
    0 Votes
    2 Posts
    114 Views
    Chris FullmerC
    I believe that they showed this during the IP conference this last year. Maybe dig through the IO videos to see if they had any sessions devoted to it. Chris
  • SU Ruby Cheat-sheet

    19
    0 Votes
    19 Posts
    5k Views
    chrisglasierC
    The nsetSketchupApi plugin is in a separate topic reserved for downloading, updates and technical questions and answers. Another topic "[WebDialog]Behind nsetSketchupAPI" starts a discussion on the potential of such an approach. But here I just want to thank Alex and Jim for prompting the development of an alternative type to Alex's cheat sheet; one that is based on animating words in a small machine-like interface rather than more familiar digital versions of paper pages. Most of all though I must thank Jim, ungenerously described as code adviser in the files, for teaching me about json, easing and all these things, but mostly for how to turn my cavalier code into something understandable and stable. Thanks Chris
  • 1 way rail - 2 way rail plugin idea

    5
    0 Votes
    5 Posts
    304 Views
    P
    i know, but a free drape much easier to use . what about multiple weld? or multiple divider (i.e. welding multiple lines/dividing at the same time for lofting purposes? )
  • Can you use Scrollwheel with tools?

    10
    0 Votes
    10 Posts
    356 Views
    Chris FullmerC
    Oh gotcha. The Prince IO game works because the user never needs to interact with model directly. All their actions are done through the web dialog and as soon as they click into the model, it must kill their game control then I guess? Chris
  • How to detect if html was opened as a webdialog

    7
    0 Votes
    7 Posts
    254 Views
    chrisglasierC
    @thomthom said: You have a .hta application, you also use that in a Webdialog. You use WebDialog.set_file("myHTA.hta") and window.location.href = "myHTA.htm" ?? Firstly as htas are not compatible with Macs we thought we ought to try and get a WD version working for them. Secondly we know we can launch Sketchup from an hta but we haven't got as far as seeing how to manipulate within it preferably from a single plan/do interface. Anyway thanks again for your help. I thought you deserved some kind of explanation. Regards Chris
  • Double Offset tool?

    31
    0 Votes
    31 Posts
    1k Views
    G
    Perhaps this is gravedigging but I hae an AHA moment the other day. The reason the offset tool does not work with a single line is that it does not know what 3D plane you want the offset to be on. Two or more non co-linear lines and presto. SU can calculate the plane from any three points. Then determine the side you wish to place the offset on by tranforming the mouse cursor position to the plane. Double sided offset would have the same problem.
  • Orient Faces

    6
    0 Votes
    6 Posts
    701 Views
    pbacotP
    Thank you, Miguel. That's the one I ended up using. Thanks for the link to Tomasz' site, too. I've never looked at it before. Pretty cool.
  • Merging two shapes along path...

    12
    0 Votes
    12 Posts
    1k Views
    juan974J
    Hello, did you try 2 faces + path ?? the web site http://lss2008.livejournal.com/ Juan974 (reunion island) [image: 2_faces___path.jpg.html?killcode=1352435932519360629] pathface.rb
  • Snapping to grid in two dimensions

    2
    0 Votes
    2 Posts
    168 Views
    daikuD
    Sorry about bumping my own thread, but I'd really like to solve this one. The built-in rectangle tool does exactly what I want. You can see it by watching the VCB. Even though you are at a diagonal distance from the the first point, it snaps to even numbers in the cartesian directions. I started with the line tool sample, but I modifed the VCB code to display the x and y offset values rather than the striaght-line length. But they are always some odd value with a ~. CB.
  • Quit Current Tool

    6
    0 Votes
    6 Posts
    194 Views
    daikuD
    Thanks Tig. My tools are specific to a very specialized group of users (timber framers), so they'll know what should be selected. I think having the tool grayed out on the menu is all I need to do. CB.
  • Converting text to unit length (string.to_l)

    2
    0 Votes
    2 Posts
    136 Views
    J
    Yes, I was worried about this problem. In my woodwrk.rb I use a simple math evaluator as an alternate to simply a math expression. I parse the string and where there are legitimate length fields I insert the following: s.to_l.to_f.to_s. If fear this won't work in European countries although I do know at least one guy using my Ruby.

Advertisement