Sketchucation Tools 5.0.7 | Licensing improvements and bug fixes 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
  • Is it possible to do this...

    3
    0 Szavazatok
    3 Hozzászólások
    368 Megtekintések
    S
    thanx...stupid me
  • Making a SketchUp tool - incorporating the mouse & keyboard

    55
    0 Szavazatok
    55 Hozzászólások
    4k Megtekintések
    Chris FullmerC
    Here is your code how I tweaked it. I think all I did was move the if @thing == 0 to the bottom and then changed all the sets back to arrays and then made the @vert array uniq!. SO look this over and compare it to yours. See if that helps. require "sketchup.rb" class Pinchmover def activate @model = Sketchup.active_model @ent = @model.entities @view = @model.active_view @slct = @model.selection @slct.clear @vect = [] @verts = [] @dvert = [] @thing = 0 end def onLButtonUp(flags, x, y, view) if @thing == 1 vec=[] ip2 = view.inputpoint x,y pt3 = ip2.position pt4 = Geom;;Point3d.new pt3 @cpoint2 = @ent.add_cpoint pt4 prompts = ["Radius="] defaults = [ 0.0.to_l] list = [""] results = UI.inputbox prompts, defaults, list, "Please input desired radius." @rad= results[0].to_l @ent.each do |e| if e.typename == "Edge" @verts << e.start @verts << e.end end end @verts.uniq! @verts.each do |v| dist = v.position.distance @cpoint.position if dist < @rad @dvert << v end end @dvert.each do |d| # Doesn't seem to work. vec = @cpoint.position.vector_to @cpoint2.position @vect << vec end Sketchup.active_model.entities.transform_by_vectors @dvert, @vect @thing = 2 end if @thing == 0 ip1 = view.inputpoint x,y pt1 = ip1.position pt2 = Geom;;Point3d.new pt1 @cpoint = @ent.add_cpoint pt2 @thing = 1 end end end Sketchup.active_model.select_tool Pinchmover.new Chris
  • [Research] Area Report

    9
    0 Szavazatok
    9 Hozzászólások
    735 Megtekintések
    thomthomT
    I've got a prototype. But I'm not sure if I'll go forward with this project after seeing this: http://www.sketchucation.com/forums/scf/viewtopic.php?f=80&t=19084 Looks very promising.
  • Pro or free version

    9
    0 Szavazatok
    9 Hozzászólások
    729 Megtekintések
    Al HartA
    Thanks TT. After seeing if it worked, I was going to have someone try to type it in in SU6 to see what happened. Al
  • Modeling the surface of flowing water

    9
    0 Szavazatok
    9 Hozzászólások
    899 Megtekintések
    W
    @jim said: @will pittenger said: Randomize TIN looks like it will do the job. It does, however, need more error notifications like "no appropriate selection." Yeah, I'm bad about stuff like that. It does help when someone comments, so thanks for that - I'll look at updating the plugin. I figured it out when I examined the code. Until then, I thought I had to select the contents of the group rather than the group itself. Also, read the following: All nodes appear to be either up 1" (what I entered), down 1", or left alone. There don't appear be to be nodes with any other changes. As a result, the surface doesn't look as smooth as it could. I haven't figured out how to do the transition at the bottom. Not only is the stream something other than a simple rect, but at the bottom, I need it to get slightly steeper for a moment. I plan to simulate a screen there that will divert the ball from the stream to a tube leading to the hole. (The stream will look like a ordinary water hazard, but won't be one.) The ball has to go one way and the "water" another. But the ball won't roll uphill. So I want the bottom to be steep enough that the water goes below the screen and yet the ball can still roll downhill. This might telegraph through to the surface.
  • How to set page index?

    7
    0 Szavazatok
    7 Hozzászólások
    459 Megtekintések
    PixeroP
    Thanks, will try this.
  • Flip Camera Ruby?

    7
    0 Szavazatok
    7 Hozzászólások
    864 Megtekintések
    Dave RD
    Could you just reshape the drawing window to make it a vertical rectangle?
  • ComponentDefinition.behavior.snapto does not work for me

    4
    0 Szavazatok
    4 Hozzászólások
    366 Megtekintések
    TIGT
    @markbergaas said: I found it! I needed to set behavior.is2d to true, also. Now it works like a charm. Well spotted !
  • Tool in another tool

    5
    0 Szavazatok
    5 Hozzászólások
    531 Megtekintések
    G
    @unknownuser said: I want to have 3D coordinates of a point which is given by middle of two points clicked before. Ruby can easily do that. But I also want to use this coordinate as second point of a line, or center of the circle, opposite angle of a rectangle, etc... So inside an active tool ! How is going on your project to run a tool inside an existing active tool? I'm very curious to know if is somthing possible or not. If so, it could solve lots of annoyng problems (middle between two points, many types of tangents, and so on). Let me know something. Thanx!
  • Possible plugin?

    3
    0 Szavazatok
    3 Hozzászólások
    299 Megtekintések
    EscapeArtistE
    I hadn't thought that far ahead. I was just hoping a plugin existed like joint push pull that could be set with a distance/division modifier. I suppose if it were a plugin request it would be pretty much like joint push pull, extrude along the normal or axis of choice with the ability to select distance and number of segments either by "X" distance divided "Y" segments, or, extrude "Y" segments "Z" number of times. What the heck, throw a selection of taper by % or numerical distance amount per segment too, and that would make a fine combination of joint push pull and a little bit of Greeble too.
  • Transformation.to_a array definition

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    Chris FullmerC
    Don't worry, nether did I. I found it on Wikipedia, but the math involved is a bit over my head for the time being. But in time I hope to get it figured out. Glad you got it working though, Chris
  • Two problems with an 'Export to Vue' ruby script

    7
    0 Szavazatok
    7 Hozzászólások
    476 Megtekintések
    A
    I've solved both problems now - please see my other thread for the finished plugin
  • More Cooperative Modeling Ideas

    10
    0 Szavazatok
    10 Hozzászólások
    857 Megtekintések
    L
    I'm guessing (from having a play in blender) the system is optimized so that after "subscribing" to the model only changes would be received and sent by the system. There are pros and cons with a system such as this. I guess one pro is increased speed, and one con is the chance for bugs to arise such as getting out of sync.
  • Hey Whaat: Profile Builder...?

    7
    0 Szavazatok
    7 Hozzászólások
    625 Megtekintések
    W
    yeah...unfortunately, Profile Builder is based on the native Follow Me tool and cannot help you here. However, if you do a lot of this sort of modelling, it will pay for itself pretty quick.
  • BZ_Toolbar

    3
    0 Szavazatok
    3 Hozzászólások
    12k Megtekintések
    M
    @unknownuser said: If It's from Fredo6 You must have this and this Cool, thanks.
  • Setting custom cursor for a Tool

    3
    0 Szavazatok
    3 Hozzászólások
    657 Megtekintések
    thomthomT
    Hm... it turns out that onSetCursor doesn't actually return the view as an argument. Works now. Thanks man!
  • How about a ruby to apply a 3D texture/component?

    27
    0 Szavazatok
    27 Hozzászólások
    2k Megtekintések
    R
    @thomthom said: @rickw said: (which will be increasing by one in November) Congrats man! Thanks! It was quite unexpected, but also very welcome.
  • Sketchup cursor resources?

    8
    0 Szavazatok
    8 Hozzászólások
    501 Megtekintések
    jeff hammondJ
    fwiw, on mac, the icons are in the app contents.. right click SketchUp.app/Show Package Contents/Contents/Resources
  • Javascript Namespaces?

    4
    0 Szavazatok
    4 Hozzászólások
    247 Megtekintések
    AdamBA
    Well the DOM (document object model) of a HTML page is rooted from an instance of document and everything hangs off that. If you have multiple WebDialogs, you have multiple DOMs, each with their own parts hierarchy which have names which are 'within' the scope of just that document. So, Google "DOM" for more info, but its basically just a hierarchy of named & typed parts. Adam
  • Tangent Line?

    12
    0 Szavazatok
    12 Hozzászólások
    2k Megtekintések
    Dave RD
    Thanks Bruce. Now we need someone to figure out how to do that automatically with a plugin.

Advertisement