🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

Subcategories

  • No decscription available

    20 Topics
    462 Posts
    HornOxxH
    @pilou said: More appetizing in chocolate! Eggs are good as well - but only very fragile when falling down in SketchyPhysics
  • Model.edit_transform for parent

    11
    0 Votes
    11 Posts
    774 Views
    C
    sorry, I must be really tired today. I meant you can't use a pickhelper outside of the current context. so If you you have two instances in the model, and you double click one, you can't use the pickhelper on it's sibling.
  • How to Convert file google sketchup .SKP to .XML

    4
    0 Votes
    4 Posts
    4k Views
    H
    What difference between file exported to format Collada and files exported by script SU2KT ?
  • Writing Readable Ruby

    11
    0 Votes
    11 Posts
    644 Views
    Dan RathbunD
    @unknownuser said: [Is it because ] super [is ] a keyword? Hence this exception? I believe so. If you look at the lex.c file in the Ruby source, you'll see there are only 3 keywords that use argument lists: defined?, super and yield. In the eval.c file, you see these statements are converted into internal C function calls, (like everything else in Ruby.)
  • Colours to illustrate range

    13
    0 Votes
    13 Posts
    1k Views
    thomthomT
  • Adding text clears Sketchup window

    6
    0 Votes
    6 Posts
    379 Views
    P
    Tig, true, normally i always check if the array has any value or length>0 What would be the best way to check if an array has values? I assume length is the way to go? test=[] if test==[] -->TRUE if test==nil --> FALSE if test.length<1 -->TRUE
  • Developers wish list

    3
    0 Votes
    3 Posts
    240 Views
    P
    Great, not sticky?
  • [Code] layer.delete()

    20
    0 Votes
    20 Posts
    6k Views
    P
    Great thx Tig for the extra explanation Now if only this was possible for materials to (without having to duplicate the entities first) BTW Tig, do you know if is possible to refresh the Layer window?
  • How do you make Ruby Scripts Pause

    6
    0 Votes
    6 Posts
    2k Views
    thomthomT
    @cjthompson said: Has anyone figured out how to use threads fluidly, so that ruby and regular sketchup will work at the same time? All attempts to use threads I've heard about had failed. Apparently it is a no-go.
  • Reloading a Definition

    5
    0 Votes
    5 Posts
    519 Views
    J
    @thomthom said: I got the impression that the name was not the issue, but the path. Right. loading a definition with the same path returns the in-model definition with the same path, and does not re-load it from disk. The name is not important, but it is the path that matters. If I save_as the definition to a new path, then load will work on the original path, and the new definition's name will be incremented. I wanted to avoid saving the old definition to a disk file and all the mess that goes along with that - such as finding/creating a folder to save it to and cleaning it up afterward. What I found is I can cdef.save_as("/dev/null") which will reset the path, but not actually create a file on disk. Then I am free to load the definition again - a re-load, although the definition name is incremented. This apparently works on Windows as well as Mac even though Windows does not have a /dev/null file. Perhaps Ruby just knows how to deal with it. Can anyone confirm this does not create a file on disk on either Windows or Mac?
  • Drawing Joints on Sketchup Objects

    2
    0 Votes
    2 Posts
    318 Views
    T
    Try this: http://www.smustard.com/script/CenterPoint
  • Contacting Carlo Roosen ?

    4
    0 Votes
    4 Posts
    423 Views
    pilouP
    but what is the good guy?
  • How I can fix this problem

    8
    0 Votes
    8 Posts
    455 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
    542 Views
    X
    how about draw your own plane and use intersect selected?
  • Is Point between Points?

    10
    0 Votes
    10 Posts
    502 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
    725 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
    549 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
    4k 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
    407 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.

Advertisement