🚨 Skimp | 25% Off until March 30 Buy Now

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
  • Adding menu item to existing submenu?

    3
    0 Votes
    3 Posts
    517 Views
    thomthomT
    /me goes hunting for ninjas
  • [Ruby Request] - Duplicate Layers & Contents

    3
    0 Votes
    3 Posts
    1k Views
    M
    I don't think so, thomthom. Components take colours from layer they are in. And if you select all entities in a layer (with Didier's quick selection plugin), you copy place them in a new layer?
  • DC components and ruby

    2
    0 Votes
    2 Posts
    420 Views
    scottliningerS
    That's a great idea, Bill. I've added it to the feature request list. Cheers,
  • Mac Webdialog opens in background

    11
    0 Votes
    11 Posts
    773 Views
    scottliningerS
    @thomthom said: Just had another though, if you really want a modal window on mac? Not possible? Not currently possible, unfortunately.
  • Vectors?

    3
    0 Votes
    3 Posts
    441 Views
    M
    @thomthom said: Can anyone elaborate ... Suppose you have 3 points (p1, p2, p3) and want a point (p4) "normal" to p1. The 3 points define the PLANE and also 2 vectors with origin in p1. If you make a CROSS PRODUCT between those 2 vectors, you will get a 3rd vector that is NORMAL to the PLANE and passing on p1. If you offset p1 using this new vector ... voila! Example: p1 = Geom::Point3d.new(1,2,3) (can be any 3d point, non hard coded) p2 = Geom::Point3d.new(4,5,6) p3 = Geom::Point3d.new(7,8,9) v1=p2-p1 or v1=p1.vector_to(p2) v2=p3-p1 or v2=p1.vector_to(p3) p4 = p1.offset(v1v2) or p4 = p1.offset((p2-p1)(p3-p1)) Regards Marcio
  • Weight plug in for sketchup? (model airplanes application)

    3
    0 Votes
    3 Posts
    634 Views
    bigstickB
    You should be able to calculate the volume, and the maths to work out the weight given the material type and density should be straightforward.
  • How do you get a group's definition?

    7
    0 Votes
    7 Posts
    510 Views
    R
    @thomthom said: That's great Dale! Works perfectly. But I would never that expected that .parent would return that. I would have expected that: > group.entities.parent === group > There are a lot of strange things about groups, and that is one of them.
  • Making components cut double skin walls

    8
    0 Votes
    8 Posts
    967 Views
    GaieusG
    I could only guess so quickly because it's happened to me a couple of times, too!
  • Way to simplify the edges of a square?

    8
    0 Votes
    8 Posts
    655 Views
    TIGT
    You need to look in the API methods for various bits... it's all there... Make a list of the loop's vertices. You get a vertex. You get its point in 3D You get the vertex's edges. For the two edges get its other end's vertex and thence its point. You get the vector between the vertex-point and that end-point in turn. You see if vertor1==vertor2 [or its 'reverse']. If they're not 'equal' then it's a corner... .
  • View Observers?

    2
    0 Votes
    2 Posts
    286 Views
    A
    onViewChange - http://groups.google.com/group/SketchUp-Plugins-Dev/web/Ruby-ViewObserver.html?hl=en azuby
  • How do you add hotkeys to context menu commands?

    6
    0 Votes
    6 Posts
    692 Views
    bagateloB
    [image: 210y7vd.jpg]
  • Tapers

    4
    0 Votes
    4 Posts
    641 Views
    rodrigonotorR
    Yes, Gaieus, is very cool, I wish I could use it as soon as possible, but I don't have a project to work in it. best regards
  • Animation2.rb

    6
    0 Votes
    6 Posts
    738 Views
    J
    Hello Ross - I don't know. I needed to enable the extension to see it in SU7 Pro, and it went away when I turned it off the Ruby Examples and restarted.
  • Some plugins don't work SU 7. Organizer.rb at fault?

    19
    0 Votes
    19 Posts
    3k Views
    R
    Glad you got it working finally!
  • Changing scenes from Ruby

    5
    0 Votes
    5 Posts
    718 Views
    D
    Thanks Rick and Jim that helped!
  • Checkbox Menu item

    6
    0 Votes
    6 Posts
    531 Views
    thomthomT
    I see. I never looked that that class yet. I just saw the UI::Menu class and thought that was the one. And there was nothing on the constants there. It says that UI.Command is the preferred way to add toolbars and menu items, but why? what's the difference and benefit?
  • Script idea...

    12
    0 Votes
    12 Posts
    3k Views
    D
    Here's a link to a plugin that does what you want for max. Might give developers ideas on how to do it for SU. http://www.vg2max.spb.ru/PolygonMap.htm
  • Back slashes in read_default

    5
    0 Votes
    5 Posts
    452 Views
    Al HartA
    Thanks for helping look into this Jim. GetSaveFile probably accepts the / as well. (I didn't test it). I have always been a little disappointed in UI.openpanel. Using Win32API.so (which requires that you install a second file with your plugin and only works with Windows Apps), lets me specify patterns for acceptable extensions, and also to specify a default extension to be appended if the user doesn't enter one. And the GetOpenFile version lets me require that the file exist before the use can hit OK. Small things. But it is too bad that SketchUp can't find the time to update some of their routines. (This could easily be done with either new routines, or optional parameters, to make them a little more useful.) However, the main point of the original post is that it would be nice if you could pass write_default() a string and have it save it and return it, without having to "reverse engineer" which characters don't work.
  • SectionCutFace.rb

    4
    0 Votes
    4 Posts
    1k Views
    P
    I had the same problem with this script in version 7. I downloaded the latest version and it worked. Try that. Best
  • Boat hulls and such like

    7
    0 Votes
    7 Posts
    1k Views
    H
    This Tutorial for modelling boat hulls may help you... http://www.sketchucation.com/forums/scf/viewtopic.php?f=18&t=9652 Created some time ago. Good luck ... Regards Howard L'

Advertisement