Jump to content
Developer Wiki and Function Reference Links ×

hextrude oddity?


Recommended Posts

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?

Link to comment

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]

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...