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.
Advertisement