Cloud Hidden Posted May 10, 2004 Share Posted May 10, 2004 It seems as though hextrude assumes that you're working in top view. If you're in front or side views, hextrude extrudes differently than calling the Extrude menu command, which recognizes the view. That doesn't make sense to me. It's not always convenient to use the menu command in a script, but hextrude isn't doing what I need. Is this in fact true? Is this the way it's supposed to be? Does it still work this way in VW11? Can you think of a convenient workaround to extrude an object created in front/side view? Quote Link to comment
Alexandre Villares Posted May 11, 2004 Share Posted May 11, 2004 quote: Originally posted by Cloud Hidden: It seems as though hextrude assumes that you're working in top view. If you're in front or side views, hextrude extrudes differently than calling the Extrude menu command, which recognizes the view. That doesn't make sense to me. It's not always convenient to use the menu command in a script, but hextrude isn't doing what I need. Is this in fact true? Is this the way it's supposed to be? Does it still work this way in VW11? Can you think of a convenient workaround to extrude an object created in front/side view? Hi, I don?t see why it should be different from the traditional BeginXtrd/EndXtrd procedures that make you rotate your extrude afterwards (it ignores view state). code: BeginXtrd(0,W); ClosePoly; Poly(0,0, E,E, L-E,E, L,0 ); Poly(0,A, E,A-E, L-E,A-E, L,A ); Poly(0,0, E,E, E,A-E, 0,A ); Poly(L,0, L-E,E, L-E,A-E, L,A ); EndXtrd; H:=LNewObj; Set3DRot(H,90,0,0,0,0,0); Move3DObj(H, X, W+Y, Z); [/code] Quote Link to comment
Cloud Hidden Posted May 12, 2004 Author Share Posted May 12, 2004 Thanks for the response, Alexandre. I'd never used Begin/End, so wasn't aware that it, too, ignored view state. That's a real pain! Was hoping to avoid the aggravation of rotating and moving and aligning the objects...but, guess I gotta dig in... Thanks... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.