⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • Exporting to STL for 3D printing direct from SketchUp..???

    4
    0 Szavazatok
    4 Hozzászólások
    515 Megtekintések
    M
    Thanks for the info, sounds promising.. All the best Matt
  • Wanted: Rotate Texture 90d Icon

    3
    0 Szavazatok
    3 Hozzászólások
    388 Megtekintések
    G
    @genma saotome said: I not a programmer... I find myself rotating a selected texture 90 degrees all the time and the default GUI menu is pretty inefficient: select the texture and then menu Texture/Position/Rotate/90/Done. Does anyone know where I might find those functions programmed as icon? You know, select the texture, click the icon, and it's done. 7 mouse clicks reduced to 1. Ummm, and if it's not already written and is dirt simple to write, might someone write the code? I think it's one of those little things many people would like. pretty much looking forward to this ... 7 clicks to 1 ...
  • Video textures

    5
    0 Szavazatok
    5 Hozzászólások
    392 Megtekintések
    tbdT
    what about Bridge ?
  • Select at Start-Rick

    4
    0 Szavazatok
    4 Hozzászólások
    557 Megtekintések
    R
    @bellwells said: Thanks, Rick. Both startup.rb and smustard-app-observer.rb are in my SU6 Plugins folder. I'll reinstall again. Obviously, I never had it with SU5. Sorry you had to research my silly non-problem; I'm slightly embarrassed. No problem, really - I just wanted to make sure I hadn't written something I forgot about (it has happened!)
  • Global transformation of a selected nested face

    10
    0 Szavazatok
    10 Hozzászólások
    1k Megtekintések
    C
    It depends on what you mean by "where the user is". If your user has just clicked on something you can find out the top level instance and then figure out the transform of the object in that instance. If your user has "opened" the object its a little trickier but you can find the top instance through an observer.
  • Rotating into XY plane

    6
    0 Szavazatok
    6 Hozzászólások
    1k Megtekintések
    fredo6F
    Then, you can use a reverse Axis transformation. [image: VgWn_Transformxyplane2.jpg] The following code would for instance transform any given face to be in the XY plane, with its barycentre at the Origin. axes = face.normal.axes origin = face.bounds.center t = Geom;;Transformation.axes(origin, axes[0], axes[1], axes[2]).inverse Sktechup.active_model.entities.transform_entities t, face The drawback of the above method is that the orientation of the transformed face in the XY plane is not predetermined. So, if you wish to have a privileged direction, for instance an edge of the face to define the X axis, then use the following code instead, which will ensure that the selected <edge> defines the X axis, and that the Origin corresponds to the Start vertex of the edge. origin = edge.start.position xvec = origin.vector_to edge.end.position zvec = face.normal yvec = zvec * xvec t = Geom;;Transformation.axes(origin, xvec, yvec, zvec).inverse [image: 23wv_Transformxyplane.jpg] Note that you can use the transformation <t> to calculate the coordinates of points to reconstruct a copy of the face, instead of transform it. entities = Sketchup.active_model.entities face.loops.each do |loop| f = entities.add_face loop.vertices.collect { |v| t * v.position } entities.erase_entities f unless loop.outer? # for holes end Hope this help! Fredo
  • Ruby scripting interface

    9
    0 Szavazatok
    9 Hozzászólások
    786 Megtekintések
    TIGT
    NotePad++ [ http://notepad-plus.sourceforge.net/uk/site.htm ]
  • How do I create a rb file

    3
    0 Szavazatok
    3 Hozzászólások
    369 Megtekintések
    A
    What does it mean: "It don't work." Maybe you're using Windows and have enabled hiding file extensions. You should disable this in Windows. azuby
  • [Plugin] Hide all Edges

    3
    0 Szavazatok
    3 Hozzászólások
    1k Megtekintések
    A
    Maybe my HideEdges Ruby script could also be a good choice. It can work on all or only on selected entities (but unfortunately not on component instances). A toolbar button isn't included, but a right-click menu item. (see my signature) azuby
  • Socket Programming in sketchup

    4
    0 Szavazatok
    4 Hozzászólások
    1k Megtekintések
    J
    See this post also...
  • [help] can we access styles from ruby?

    4
    0 Szavazatok
    4 Hozzászólások
    251 Megtekintések
    CadFatherC
    Thanks, there is hope then!
  • Change the color of only one instance

    13
    0 Szavazatok
    13 Hozzászólások
    876 Megtekintések
    TIGT
    http://groups.google.com/group/SketchUp-Plugins-Dev/web/Ruby-ComponentDefinition.html#name= .
  • Hidden or soften edge on a face?

    3
    0 Szavazatok
    3 Hozzászólások
    330 Megtekintések
    C
    Cool, Merci Matt!
  • Invert Selection - No Shortcut Key

    12
    0 Szavazatok
    12 Hozzászólások
    3k Megtekintések
    CadFatherC
    solved - i needed to add a plugin menu item - with icon and context menu only i get that registering bug. Thanks for all the help though!
  • Install script options- help needed

    7
    0 Szavazatok
    7 Hozzászólások
    392 Megtekintések
    garydornG
    I understand what you say about the text not matching so I played round with changing them so they matched, and after non-working numerous iterations, it finally worked! its now home = File.expand_path "~" myrubyscripts = File.join home, "MyRubyScripts" require_all(myrubyscripts) I think it worked because I eventually removed the spaces around (myrubyscripts)? thanks for your help Jim may this be of assistance to other Mac users.
  • Ruby - PushPull to map size or proportion?

    5
    0 Szavazatok
    5 Hozzászólások
    697 Megtekintések
    J
    PushPull does use the Unit Snapping length, if it is set and so it will snap to the distance set there.
  • shell plugin?

    9
    0 Szavazatok
    9 Hozzászólások
    1k Megtekintések
    J
    I know this is an old topic, but CADSpan's free plugin has this "shell" feature. http://www.cadspan.com/tools
  • Mouse middle-button: Orbit vs MyTool

    3
    0 Szavazatok
    3 Hozzászólások
    411 Megtekintések
    M
    Yes, the onMButtonDown API when used inside any new tool "is broken". I already included a fix for that on the "WishList" stick. But now I realized the need of more than that. Something that works above the level of the tools - where onMButtonDown is. Maybe a new API like "Sketchup::onGlobalMButtonDown" that allows to associate my new Orbit tool to this trigger (and so, disassociate the default Orbit tool from that). I would like to know if there is any workaround (maybe change something on CameraOrbitTool class - where is this class?) before include this "Sketchup::onGlobalMButtonDown" on the WishList. Thank you.
  • Group.make_unique (possible Ruby bug)

    3
    0 Szavazatok
    3 Hozzászólások
    371 Megtekintések
    TIGT
    A Group is a single Instance of a Definition - and of course there should only ever be one of them, but sometimes SUp with Ruby thinks that a copy of a Group is another Instances. The way round it in Ruby is to use make_unique on the copy of the group (instance) as you go. It will return an error but it should work anyway... It might get fixed one day...
  • Cost Estimator

    5
    0 Szavazatok
    5 Hozzászólások
    795 Megtekintések
    TIGT
    @unknownuser said: TIG, would this be something that you could accomplish? I'm not savvy enough to create these kinds of things. I wasn't actually talking about exporting this information to excel, but just compute and keep track of this information within sketchup. Running an update is fine as well just as long as the information that is assigned to a material, is kept for each update. Thanks for getting back to me. TIG, if this isn't something you could do, is there someone you know that could? Regards, Jaktavia I'm pretty busy at the moment... If you write a step by step description of what you want to do, sent me it in a PM and I'll try and look at it - no promises though.

Advertisement