Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Why sweep modifier rotate it's shape when working in 3D spline?

Waseem_Dabbas
Advocate

Why sweep modifier rotate it's shape when working in 3D spline?

Waseem_Dabbas
Advocate
Advocate

I have this issue that happen when I'm applying sweep modifier to a 3 dimensional spline that described in an attached image, any idea what is the reason and how can I solve it?
Thank you

0 Likes
Reply
Accepted solutions (2)
5,808 Views
17 Replies
Replies (17)

leeminardi
Mentor
Mentor
Accepted solution

The twist vector is ill defined when two vertices are directly above each other. 

 

Try using LOFT instead.  Draw the centerline of the shape and a square of the cross section then go to Create, Compound Objects and use Loft.  It may not be necessary but loft provides you with the ability to twist segment of the shape.

L1.JPG

  

lee.minardi
0 Likes

Waseem_Dabbas
Advocate
Advocate

That helps, thanks a lot Smiley Happy

0 Likes

Waseem_Dabbas
Advocate
Advocate
Accepted solution

Also I would like to add (One other guy answered me in another forum) that if you disable an option 'Optimize' under the 'Interpolation' menu inside Spline modifiers with steps at least '1'  it will fix this problem even if you are using sweep modifier.

 

Anonymous
Not applicable

I solved the issue by selecting the vertex on the other end and clicked "MAKE FIRST". 

0 Likes

Waseem_Dabbas
Advocate
Advocate

I tried your method, it works for the side of the "make first" vertex, but it doesn't for the rest of the line, in short, it flipped the rotate.

0 Likes

Anonymous
Not applicable

Please send file here so I can take a look at.

0 Likes

Anonymous
Not applicable
Did you you also try to add your Square shape in the middle of the path ?
When I use Loft on a complex path, I always have one shape at the beginning of the path, at the middle and at the end. This will give you a better control.
If it still gives you strange results, use the method I suggested. It works fine here.
0 Likes

Waseem_Dabbas
Advocate
Advocate

Please find the file in the attachment

0 Likes

Waseem_Dabbas
Advocate
Advocate

"Loft" is working fine, I was asking about the sweep modifier.

 

0 Likes

Anonymous
Not applicable

Works also here with the sweep modifier.
Can't find your file here 

0 Likes

Anonymous
Not applicable

darkavengerPH898_0-1616236311653.png

 

0 Likes

Waseem_Dabbas
Advocate
Advocate

it doesn't work with the shape i'm doing

 

sweep.JPG

0 Likes

Waseem_Dabbas
Advocate
Advocate

oops! my fault

I re attached

0 Likes

Anonymous
Not applicable

Like already said: Turn OFF optimize in the spline interpolation.

sweep.JPG

Waseem_Dabbas
Advocate
Advocate

sure, I already mention that in the third comment.

Thanks a lot.

Anonymous
Not applicable

Ah, I see. thought you did it with a custom shape.
Build in sections (especially BAR) are sometimes need some  additional tweaking.
See screenshot below:

darkavengerPH898_0-1616313171256.png

 

0 Likes

Anonymous
Not applicable

.....and tick "Banking" in the sweep modifier

darkavengerPH898_0-1616314180487.png

 

0 Likes