⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
  • ComponentDefinition.behavior.snapto does not work for me

    4
    0 Szavazatok
    4 Hozzászólások
    281 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
    438 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
    238 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
    846 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
    353 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
    655 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
    508 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
    564 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
    1k 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
    335 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
    160 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
    1k Megtekintések
    Dave RD
    Thanks Bruce. Now we need someone to figure out how to do that automatically with a plugin.
  • KeyBoard observer?

    11
    0 Szavazatok
    11 Hozzászólások
    518 Megtekintések
    Chris FullmerC
    I'm guessing you already have a tool observer set up or something? You've already figured out how to keep track of the previously used tools, right? If so, Lets say you have a global variable that holds an array of all the last used tools - $previous_tools Also, maybe you need a menu item for "Set Shortcut Key". This is for the user to tell your script what key they have assigned your script to (it might save the value to an external text file or a registry entry would be better). So perhaps they assign it to "t", your inputbox could create a global variable $previous_tools_shortcut = "t" Now make a tool with the onKeyUp method in it. It compares the onkey up to $previous_tools_shortcut. And it also implements its own timer feature. So you can watch the time between keystrokes. So if they press the dhortcut key 1 time, it just selects $previous_tools.last. If they press it twice within a specified time limit (.5 seonds or less) then it will select $previous_tools[length-1], press it three times within 1 second, it selects the $previous_tools[length-2] tool. That is how I think I would go about it. But that assumes you have an array of the previously used tools, and it also requires the user to input the shortcut key that they assigned to your tool. Chris
  • What does Entities.transform_by_vectors actually do?

    4
    0 Szavazatok
    4 Hozzászólások
    271 Megtekintések
    PixeroP
    Thanks for the info. Might come handy for an update of my align script.
  • Shift WebDialog Focus to SU?

    11
    0 Szavazatok
    11 Hozzászólások
    877 Megtekintések
    thomthomT
    @adamb said: But thats correct behavior if I unwind an operation to just before the Tool was used..No? Nah. Not IMO. I find it very annoying. I want to keep the focus on the viewport.
  • [HowTo?] Edit Components (or change "active level")

    6
    0 Szavazatok
    6 Hozzászólások
    2k Megtekintések
    TIGT
    model.close_active ### will jump you up one 'level' out of the current edit session. You can only go in the direction of the base model... You can repeat x(model.active_path.length) to close the edit back to the base model 'level'. Alternatively... model.active_path[model.active_path.length-2] ### to get up 1 level, or use -3 for 2 levels etc... All of these physically close any current edit sessions... If you just want to do something with the entities found at a particular 'level' then just use... parent=model.active_path[model.active_path.length-2] i.e. the container of the current edit session's instance/group parent_entities=parent.definition.entities if parent.typename=="ComponentInstance" parent_entities=parent.entities if parent.typename=="Group" etc... there's no need to close edits etc, just specify the actual entities-set to work on...
  • Edge.split Point3d not working as expected?

    4
    0 Szavazatok
    4 Hozzászólások
    313 Megtekintések
    thomthomT
    It does sound like it should fail if it's not on the edge. I would have expected a nil return like many of the other functions when they fail.
  • Please can someone check this plugin.NEW VERSION

    12
    0 Szavazatok
    12 Hozzászólások
    706 Megtekintések
    TIGT
    Sujikai refers to something that's diagonal, oblique or bracing - e.g. in patterns - like on sword hilts - or perhaps in stud-wall bracing, as it appears here... Exactly what is this script trying to do ? If we knew that, then we could edit out the rogue 'Japanese characters' and see how it might work as hoped...
  • Calculate a curve that fits between two edge?

    14
    0 Szavazatok
    14 Hozzászólások
    672 Megtekintések
    thomthomT
    Giving a radius to two edges is only one minor function. I ended up getting the linear_combination of the two edge's vectors, then use trigonometry to calculate the centre point on that vector. It'd be interesting to have a look at K_Tools.rb to see how it's done there. My trigonometry is very rusty so I'm not sure if I'm doing it the best way.

Advertisement