[Plugin] Three Line Tools (Updated March 9th, 2009)
-
Don't think you have to change much. Take out the input box in the
onLButtonUp
event. Add theonUserText
http://groups.google.com/group/SketchUp-Plugins-Dev/web/Ruby-Tool.html#onUserText where it sets@@last_height
to the users input. ...I think from looking at the code quickly... -
@thomthom said:
Don't think you have to change much.
That is music to my ears! I'll check it out later today after class (or maybe during )
Chris
-
@unknownuser said:
rv1974 wrote:Chris are you working beside cradle?
Actually, yes I am. I was up til 3:30am with a sick, which helped me get a lot of script writing done
I simply heard a baby crying on the tutorial's background)
-
@watkins said:
Will your script make normals to surfaces? For example, suppose one has an inclined plane on which one has placed a construction point. Can one use your plugin to create a normal of specified length at the construction point?
UPDATE! Yes, I finally got this implemented. Thanks for the suggestion Bob. This plugin now offers 3 tools. Vertical line by height, by elevation and Normal Line. Normal lines will work on a face, edge, or vertex. I've updated all the info in the first post and also the video is new too and it shows how to use the three tools. Though you can probably figure it out faster than watching the video Hope its useful,
Chris
-
chris,
thanks for the upgrade. deceptively simple, enormously useful.
-
this plugin IS AWESOME!
Tell me: does it work on mac?
-
Should work on a mac, there are very few platform dependant plugins.
-
@broomstick said:
this plugin IS AWESOME!
Tell me: does it work on mac?
it surely does. no problem at all.
-
Wow Chris! You are really on a roll here making these tools.
I can sense you enjoy coding it. And it is so cool you share it with us.
Thanks mate! -
Suggestion : just enter one time the measure
then at each click a vertical is drawn
Esc = Escape for choose another type and measure -
@unknownuser said:
Suggestion : just enter one time the measure
then at each click a vertical is drawn
Esc = Escape for choose another type and measuregood suggestion. this would make the tool even more agile to use.
-
@unknownuser said:
Suggestion : just enter one time the measure
then at each click a vertical is drawn
Esc = Escape for choose another type and measureOh yeah, that was another feature I wanted to implement. Thom even gave me a starting point. I've got a little bit of time today, maybe I'll get it worked out during that. Thanks for the comments and compliments everyone. And yes, I am really really enjoying coding.
Chris
-
And if you can make the same for the Greeble that will be also a super crazy cool plug!
Ergonomic must be the first thing to think for a plug!
Keep the good work! -
Hey Frenchy, I know you have issues with too many plugins cluttering your menus. Would it be helpful if I tried to make all my plugins register themselves with the extension manager, so you could disable them or enable them as needed? That way you wouldn't have to have all my plugins showing in the menus until you need them. Would that be useful?
Chris
-
definitely, yes.
-
Yes that can be helping, but it's not possible to create a new Menu something like "Plugins2"?
Then it's easy to put inside this new menu some numerous plugins -
@unknownuser said:
Yes that can be helping, but it's not possible to create a new Menu something like "Plugins2"?
Then it's easy to put inside this new menu some numerous pluginsNope. No way to create new top level menus in SU.
-
Chris you rock !! This tool'll help a lot. Thanks again !!
Panga.
-
Nice extension! Very useful. Thanks...
-
Dear Chris,
I have just viewed your video tutorial. The plugin is much, much more than I was expecting. Excellent work! It is going to be a very useful construction tool. Perhaps CADFather, or A.N. Other, could make a small toolbar for the three options and one could be selected/deselected either in View>Toolbars or Window>Preferences>Extensions.
Thanks once again.
Regards,
Bob
Advertisement