🏢 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • How I can fix this problem

    8
    0 Votes
    8 Posts
    324 Views
    bagateloB
    @tig said: You could also ensure that the SUp import units [set under options] matches the original DWG's units - otherwise it can become too small anyway... YES!!! it works too. Thanks.
  • Slicing tool

    7
    0 Votes
    7 Posts
    426 Views
    X
    how about draw your own plane and use intersect selected?
  • Is Point between Points?

    10
    0 Votes
    10 Posts
    328 Views
    C
    something like this: def pointBetween(a,b,c) array = [[a.x.to_f,b.x.to_f],[a.y.to_f,b.y.to_f],[a.z.to_f,b.z.to_f]] x = c.x.to_f.between?(*array[0].sort) y = c.y.to_f.between?(*array[1].sort) z = c.z.to_f.between?(*array[2].sort) return x && y && z end I'm not saying it will work, I'm just wondering whether it will or not.
  • What Every Programmer Should Know About Floating-Points

    9
    0 Votes
    9 Posts
    574 Views
    mitcorbM
    Polymetronic seems like it would require batteries.
  • Web console - Sketchup interface

    6
    0 Votes
    6 Posts
    1k Views
    Chris FullmerC
    OK great. Come back with questions as often as needed. Chris
  • Gtk GUI for scripting?

    5
    0 Votes
    5 Posts
    468 Views
    M
    I've used Tkinter with Python. It gives excellent results in about half the code wx requires. It's set of widgets isn't as extensive as wx, but it's much better than JavaScript's tiny set.
  • Faces area in a group ?

    15
    0 Votes
    15 Posts
    2k Views
    AdamBA
    @kat said: I don't get the tangent = (normal * binormal) multiplication. Isn't B supposed to be the cross product of N and T? Makes no odds. Binormal and tangent both lie in the plane. @kat said: And why is gives @adamb said: (xform * binormal).length * (xform * tangent).length you the scale factor? I'm taking the unit vectors in the plane of the face and transforming them by the Group transform which may scale them. Getting the length in the binormal and tangent direction allows me to figure out how much to scale the area of the face accounting for the transform. Adam
  • They say Ruby is slow...

    23
    0 Votes
    23 Posts
    3k Views
    L
    why don't we just start discussing Lua while we're at it? no, but seriously Python is just a different language. I learned to use it before ruby, but then I discovered ruby, which I prefer for many reasons other than it's speed, which as mentioned is slow. Yes compulsory indentation is nice in some respects, but it is a complete and utter pain when mixing tabs with spaces (can't see where the problem is). Ruby allows for more creative formatting of the code (which can be very nice). I like them both, and don't we all wish the best of both could be combined?
  • OpenSSL and SU

    2
    0 Votes
    2 Posts
    350 Views
    P
    Just for the record. I found this: http://www.rubyonrailsftw.com/lessons/28, after posting. @unknownuser said: If you get this error, you need to install 2 openSSL .dlls: Get openssl Download openssl windows binary from http://gnuwin32.sourceforge.net/packages/openssl.htm Unzip “libeay32.dll” to ruby\bin. Unzip “libssl32.dll” to ruby\bin and rename it to ssleay32.dll In some systems, you need to put those dlls by force on windows/system32, or on ruby/bin, if you are not running SU's ruby interpreter.
  • DWG & DXF files problem with circles & curves

    6
    0 Votes
    6 Posts
    3k Views
    TIGT
    Yes 'Qbrick' can be useful to split intersecting arcs/circles before import, but you need AutoCAD ! So, importing a 3d dxf and using my tool to adjust the segmentation of any eligible arcs/circles seems the only way otherwise...
  • RubyMine Sketchup low priority Needs submission

    3
    0 Votes
    3 Posts
    324 Views
    chrisglasierC
    Here's the latest reply which I can just about understand. @unknownuser said: Unfortunately Sketchup API is hidden in compiled C library thus RubyMine doesn't understand it. RubyMine is able to parse only libraries written in Ruby + standard C-based Ruby interpreter core libraries. Please submit an issue at http://youtrack.jetbrains.net/issues/RUBY. It is possible to create/generate ruby stubs for Scetchup (similar which RubyMine uses internally for codeinsight related to Ruby core libraries) and it isn't too hard. At current moment this is a low priority issue and only a few users asked us to implement it. I am not sure I am the right person to submit an issue. Please let me know if you are willing to take it on.
  • "Automatic SketchUp" - review

    5
    0 Votes
    5 Posts
    704 Views
    Mike LuceyM
    Being totally ignorant on the subject of ruby scripting I think I will buy this book and gain some insight. It looks to be good value at $32. I also notice that the author, Matthew Scarpino, says in Chapter 1: Introduction to SketchUp Scripting For further support with SketchUp scripting, you can't do much better than http://www.sketchucation.com http://www.autosketchup.com/ [image: ht4a_AutomaticSketchUp.jpg]
  • Source Code Indentation : Why certain amount?

    19
    0 Votes
    19 Posts
    1k Views
    thomthomT
    I want elastic tabstops!
  • Align Zaxis of plane to Azimuth and Altitude Coordinates

    2
    0 Votes
    2 Posts
    592 Views
    C
    Hi and thanks for everybody who has taken the time to read my post. I'm not a programmer but would like to make this plug-in, so I'm wondering if someone can help me find similar plug-ins or codes that would help me understand and program it. Thanks.
  • JavaScript to Empty Something

    4
    0 Votes
    4 Posts
    233 Views
    thomthomT
    The former used to be the W3C standard way. The latter used to be the non-standard. But as of HTML5 I believe innerHTML and outerHTML are now standard. Pretty well supported anyway.
  • Quickly finding groups/comps in an Entity Collection?

    24
    0 Votes
    24 Posts
    1k Views
    J
    @thomthom said: I take a few extra lines for readability any day. True, but "squish-the-code" is a fun exercise and I often learn something new. def xis(a);a.map{|e|xis(e.explode)if e.respond_to?('move!')};end (assuming no one has added move! to any of the built-in classes!)
  • [Obsolete] LibFredo6 3.0e (newer version available)

    32
    0 Votes
    32 Posts
    16k Views
    A
    NICE !!! THNKS FOR UPDATE...
  • Ruby Help for Components & Layers

    3
    0 Votes
    3 Posts
    295 Views
    thomthomT
    And if you want to create components, then you use model.definitions.add "newCompName" http://code.google.com/apis/sketchup/docs/ourdoc/definitionlist.html#add And then place an instance of the definition. http://code.google.com/apis/sketchup/docs/ourdoc/entities.html#add_instance Instead of making a groups and then converting the group.
  • Default animation settings, a 2nd question

    9
    0 Votes
    9 Posts
    309 Views
    thomthomT
    @martinrinehart said: Microsoft (MSFT) deliberately made Windows programming as complex as possible, as was suspected by all who tried it (I'm one) and was later confirmed by internal documents ferreted out during the antitrust trial. It would be extraordinarily unlike Google to do any such thing. So you ask, "Why?" This is not something MS controls. It's what Google (or @Last) did when they implemented this. I do not know why they chose to group it though.
  • Standing Seam Roof generator

    7
    0 Votes
    7 Posts
    815 Views
    HumpmetwiceH
    I don't know a easier way to do it but I do feel your pain!I did this for a friend of mind and he wanted "R" panels. !["R" Panel Roof](/uploads/imported_attachments/zn6g_Roof.gif ""R" Panel Roof")

Advertisement