[Plugin] Perpendicular Face Tools (UPDATED 26-03-09)
-
ok, I have updated it again. This time it has a toolbar:
I've also attempted to fix some serious issues with the custom face tool and how it orients itself. Unfortunately, its still only about 99% right. There are times when the custom face tool will not orient the face as expected. Often when used on a line that perfectly on the y axis. I'm sure its just a bug in how I'm rotating. But I've looked at the code too long and its really messy. So maybe later I'll re-write it from scratch to clean it up.
As for rotating so that a point is always up.....I'm listening. I don't quite get the benefit by the example you showed though. I generally like to draw through circles on the mid point of edges, not on the vertices. But I might be the only one. So do you have another example that shows how it would be useful to do it with a vertice always on top?
I also updated the video on the front page.
Chris
-
@unknownuser said:
1 thing, (and this is more/less for discussion because i'm well aware i might be in the minority)
with the perp.circle, would you rather have the vertex of the segments at the top -or- one of the segments being horizontal (the way it's working now).
personally, i think it would be better if the vertex were at the top so diameter/radius lines can be drawn vertically or horizontally..
(am i even making any sense? )
that aside, i really like the change to perp.square.. having the horizontal edge is great.
if you type an uneven number of segments you will have a vert at the top.
-
@chris fullmer said:
So do you have another example that shows how it would be useful to do it with a vertice always on top?
this one:
they're both the same circle.. it's better (for me) to have the actual radius on a vert/horizontal.
-
@xrok1 said:
if you type an uneven number of segments you will have a vert at the top.
yeah, and that would work to an extent but then the horizontal is off.. i usually work off of 1/4 circles, get them to the right height, and then divide them into 8"o.c. segments.. it's just easier for me if everything is straight up&down / side-to-side at the beginning of the process.
-
makes sense.
-
Well I see where its handy, especially if its already a normal part of your workflow. I think what I can implement easy enough is like a shift key that will rotate the faces. Hit the shift key once and it rotates.
A square could rotate 45 degrees each shift. A circle could rotate whatever degree would be require to shift between a flat edge down or a vertex down. THe custom face could rotate 90 degrees, since a fast way to rotate it 180degrees would be handy, perhaps increments of 90 would be a good place.
Anyhow, those are thoughts. I'll implement it. I'll even see if I can make the circle work so that it starts with the vertices at the top and bottom from the start. So the shift would take make it have an edge on top bottom. Make sense? Anyhow, I'll work on it. Let me know if you have any thoughts on the ideas and I'll see what I can do. But I'll be taking a break to watch LOST in a few minutes
Chris
-
@chris fullmer said:
But I'll be taking a break to watch LOST in a few minutes
haha
i don't know. it's up to you.. i do think it's important to keep it fairly simple instead of using a somewhat obscure reason to bloat it.. maybe some others can chime in and reach a consensus..
now that i think about it, once i start using this in a drawing, i'll probably prefer using the square instead.. even if i'm drawing an arc. -
and just to jump start that consensus, here's what TIG had to say earlier in the thread.
@tig said:
Circle - not so important to get 'square', but if it has few segments it'd be best if a vertex were at the lowest point in Z
-
Well, it turns out that its super simple to implement a modifier key rotation. SO I'll go ahead and do that. I tried shift and it kept rotating when I was trying to orbit and pan with shift key and middle mouse button. Alt was no good, kept opening the menu system and it was annoying to have to keep click back off of the menu.
I think I'll do the up arrow key. Thats convenient and not in use while my tool is activated.
Chris
In fact, I've pretty much got it implemented and its quite nice. I'll have the update in a little bit.
-
UPDATE! v1.2 Implemented some of the stuff we've been discussing in previous posts.
v1.2 Updates:
- Changed so that circles default to have their vertices on top and bottom, not edges.
- The up arrow key rotates the faces after they have been placed. Squares will rotate 45 degrees. Circles will rotate the angle needed to alternate between having an edge or a vertex on the top. Custom faces rotate in 90 degree increments. Helpful for fixing faces that are oriented 180 off, or that were drawn on the wrong axis.
Chris
Sorry to everyone who has been downloading every update today....3 installs in one day! Thanks for trying this script.
-
Funny sound video! A new ambiance
-
wow thanx this script should be awsome now all i need is the occasion to use it.
-
Chris, thank you very much for plugging away at this (pun intended )
I just zipped out the attached in about 2 minutes thanks to this plugin. I think I can see some neat applications for this.
-
Dave that is exactly the sort of thing I thought of using this for when I realized the new features added.
Thanks Chris, this is fantastic
-
Dylan, I was just experimenting and came up with this thing. It could be a drawer or door pull or something. I could have made the corners a bit more rounded but since I started out not knowing what I was going to draw, this is alright. The section is an ellipse and it is thicker in the middle than at the ends. Between Chris's plugin and the Skin plugin, this was all dead simple and fast work.
-
Hey, great woork. Its good to see the plugin being used!
Chris
-
sweet, the circle is working great now..
i'm starting to feel like a pest now but i can't get the rotation to work on my mac.. it doesn't bother me but some other mac users might like the rotate option (and actually, i probably will too once i find myself doing a custom profile).
the status bar says this when i'm using the script:
Click on a line-end to place a perpendicular square on it. ctrl = Use "Arbitrary Rotation"
the ctrl key on a mac (in conjunction with the mouse) triggers a right click.
-
Great tool Chris - I can see quite a few uses.
I could see this type of script speeding up the process of putting a model together from imported cad elevations. Attached is a WIP showing a model I just started to assemble from autocad parts. My process now is to make faces, rotate and snap together. I wonder if there is any chance that a divided surface might eventually take advantage of this script?
-
Hi Chris, really good tool
Just have a look :
MALAISE
-
Hmm, interesting I'll look at that cosmetic issue.
Also, is there someone on a Mac who would be able to help me find the right key for the up arrow? You would just install the little ruby attached to this message like a regular ruby. Then run sketchup. Open the ruby console and type:
load 'key_finder.rb'
After you type that, leave the ruby console open. And click back into the Sketchup window. Then press the up arrow. A message will display in the ruby console. Hopefully something like
The Key identifier is: 38
Could you please copy and paste that message back here for me?
Probably just delete the file from your plugins folder afterwards. Thanks
Chris
Advertisement