Align a face to a plane ..
-
I'm a bit out of touch with SketchUp and Ruby these days.
Is there a script around that will allow me to select a face then align it either to the xy, xz or yz planes?
TIA
-
-
Ah,

My only excuse was I was searching for a script. Told you I was out of touch!
-
Hey, don't feel bad. I've spent hours writing a script, only to learn myself I had just reproduced functionality that was 2 clicks away already.
Todd
-
Um, excuse me guys, but I don't think the two requests were the same at all.
In the case of the first request (the referenced thread) the guy was asking for a script to align the camera to a given plane (actually vice-versa, but I think that's what he meant) and that's what the right-mouse-click menu pick does.
But in the present case, the request was to align a designated plane to one of the three normal planes (xy, xz or yz). That sounds like it actually wants to rotate the plane itself--no mention of camera orientation at all.
Peter, that didn't answer your question, did it? Am I missing something here?
-Gully
[Gully Foyle]
-
OK, here's the workflow to create unfolded sheetmetal parts -
- create first end of a transition
- create second end of transition
- use skin.rb to join the ends
- delete end faces and tweak surfaces as necessary
- use JF_unfold.rb to create a flat pattern
- align flat pattern to xy, xz or yz planes
- perspective off, select appropriate view, export DXF for profile cutting.
Will play around with the Align feature later.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement