"Sweep Operation Failed To Complete"?

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
Ballfreak10
Posts: 39
Joined: Wed Mar 17, 2021 11:05 am
Answers: 0
x 26
x 3

"Sweep Operation Failed To Complete"?

Unread post by Ballfreak10 »

Hi all,

In the attached file, I'm trying to use "SKETCH Swept_Ac" & "SKETCH Swept_Path" to create a swept feature. When I try to do so, SW gives me the error message in the title. Could this be because the end of the new feature would touch the pre-existing "Base" feature, or otherwise?

All help is appreciated ;)!

Thanks in advance,
Attachments
Rod.SLDPRT
(63.51 KiB) Downloaded 287 times
User avatar
matt
Posts: 1592
Joined: Mon Mar 08, 2021 11:34 am
Answers: 19
Location: Virginia
x 1219
x 2387
Contact:

Re: "Sweep Operation Failed To Complete"?

Unread post by matt »

Sweeps aren't allowed to run into themselves. That's called "self intersecting geometry". When you put the sweep path in the middle of the profile and then put a sharp sketch transition in there, the sweep runs into itself. Think about what you are trying to create, and then how to follow the rules to do that.

I moved the path from the middle down to the bottom of the profile. This allows it to complete without self intersecting.
image.png
Ballfreak10
Posts: 39
Joined: Wed Mar 17, 2021 11:05 am
Answers: 0
x 26
x 3

Re: "Sweep Operation Failed To Complete"?

Unread post by Ballfreak10 »

matt wrote: Tue Jun 29, 2021 12:22 pm Sweeps aren't allowed to run into themselves. That's called "self intersecting geometry". When you put the sweep path in the middle of the profile and then put a sharp sketch transition in there, the sweep runs into itself. Think about what you are trying to create, and then how to follow the rules to do that.

I moved the path from the middle down to the bottom of the profile. This allows it to complete without self intersecting.
image.png
I got the same error upon moving the start of the sketch from the center to the bottom edge.
User avatar
matt
Posts: 1592
Joined: Mon Mar 08, 2021 11:34 am
Answers: 19
Location: Virginia
x 1219
x 2387
Contact:

Re: "Sweep Operation Failed To Complete"?

Unread post by matt »

Check this out.
Rodmatt.SLDPRT
(150.48 KiB) Downloaded 343 times
Ballfreak10
Posts: 39
Joined: Wed Mar 17, 2021 11:05 am
Answers: 0
x 26
x 3

Re: "Sweep Operation Failed To Complete"?

Unread post by Ballfreak10 »

matt wrote: Wed Jun 30, 2021 11:34 am Check this out.

Rodmatt.SLDPRT
Does this mean my version of SW (2019 Student) is too dated to open your file?

image.png
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Sweep Operation Failed To Complete"?

Unread post by zwei »

As Matt had mentioned, changing the path will make it work as it clear up the self intersecting geometry
image.png
In the example above, the path was shifted such that the sweep path is piercing the lower line instead of the center of the profile
image.png
One thing to keep in mind is that this changes may be different from your original design intent
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
Ballfreak10
Posts: 39
Joined: Wed Mar 17, 2021 11:05 am
Answers: 0
x 26
x 3

Re: "Sweep Operation Failed To Complete"?

Unread post by Ballfreak10 »

Zhen-Wei Tee wrote: Fri Jul 02, 2021 1:12 pm As Matt had mentioned, changing the path will make it work as it clear up the self intersecting geometry

image.png
In the example above, the path was shifted such that the sweep path is piercing the lower line instead of the center of the profile
image.png

One thing to keep in mind is that this changes may be different from your original design intent
I feel like what I have here is essentially the same thing, though? And yet I'm getting the same error.
image.png
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Sweep Operation Failed To Complete"?

Unread post by zwei »

Ballfreak10 wrote: Sat Jul 03, 2021 11:29 am I feel like what I have here is essentially the same thing, though? And yet I'm getting the same error.

image.png
Did your sweep path "intersect" the sweep profile plane?


Do you mind to share again this file so that we can take a look?
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
Ballfreak10
Posts: 39
Joined: Wed Mar 17, 2021 11:05 am
Answers: 0
x 26
x 3

Re: "Sweep Operation Failed To Complete"?

Unread post by Ballfreak10 »

Zhen-Wei Tee wrote: Sat Jul 03, 2021 12:02 pm Did your sweep path "intersect" the sweep profile plane?


Do you mind to share again this file so that we can take a look?
Yes, the profile sketch is highlighted in the attached screenshot - they do intersect.

image.png
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Sweep Operation Failed To Complete"?

Unread post by zwei »

Ballfreak10 wrote: Sat Jul 03, 2021 12:09 pm Yes, the profile sketch is highlighted in the attached screenshot - they do intersect.


image.png
Could you reupload the file so that we can take a look?
From the screenshot shown it should have no issue creating the sweep
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
Ballfreak10
Posts: 39
Joined: Wed Mar 17, 2021 11:05 am
Answers: 0
x 26
x 3

Re: "Sweep Operation Failed To Complete"?

Unread post by Ballfreak10 »

Zhen-Wei Tee wrote: Sat Jul 03, 2021 12:15 pm Could you reupload the file so that we can take a look?
From the screenshot shown it should have no issue creating the sweep
I can't find an option to edit my original post, so I'll attach it here.
Attachments
Rod.SLDPRT
(111.23 KiB) Downloaded 208 times
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Sweep Operation Failed To Complete"?

Unread post by zwei »

Ballfreak10 wrote: Sat Jul 03, 2021 12:30 pm I can't find an option to edit my original post, so I'll attach it here.
I took a look at your file and noticed that your arc radius is smaller than your sweep profile height. This will create a self intersecting geometry

Can you change the arc dimension to at least 0.25inch?
image.png
image.png
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
Ballfreak10
Posts: 39
Joined: Wed Mar 17, 2021 11:05 am
Answers: 0
x 26
x 3

Re: "Sweep Operation Failed To Complete"?

Unread post by Ballfreak10 »

Zhen-Wei Tee wrote: Sat Jul 03, 2021 1:02 pm I took a look at your file and noticed that your arc radius is smaller than your sweep profile height. This will create a self intersecting geometry

Can you change the arc dimension to at least 0.25inch?
image.png

image.png
I’ll try that next time I’m at my computer, thanks. But why would those dimensions cause self-intersecting geometry?
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Sweep Operation Failed To Complete"?

Unread post by zwei »

Ballfreak10 wrote: Sat Jul 03, 2021 1:06 pm I’ll try that next time I’m at my computer, thanks. But why would those dimensions cause self-intersecting geometry?
By default, your sweep profile will follow the profile (Unless you change it in your sweep setting)
Hence if your profile is larger than your arc which is convex / concave upward**, they will self-intersect...
R .230 (original sketch)/b]
image.png
R .250
image.png
image.png

**This will be a different situation if your arc is concave downward as the profile will not intersect
image.png
Edit: Added image to better illustrate R.250
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
Ballfreak10
Posts: 39
Joined: Wed Mar 17, 2021 11:05 am
Answers: 0
x 26
x 3

Re: "Sweep Operation Failed To Complete"?

Unread post by Ballfreak10 »

Zhen-Wei Tee wrote: Sat Jul 03, 2021 1:15 pm By default, your sweep profile will follow the profile (Unless you change it in your sweep setting)
Hence if your profile is larger than your arc which is convex / concave upward**, they will self-intersect...
R .230 (original sketch)/b]
image.png
R .250
image.png
image.png


**This will be a different situation if your arc is concave downward as the profile will not intersect
image.png

Edit: Added image to better illustrate R.250


So I was able to get the Sweep operation to complete until I added one small horizontal line at the bottom-left of the path sketch (In the file attached here)...and now I'm back to getting the same error!
Attachments
Rod.SLDPRT
(111.7 KiB) Downloaded 186 times
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Sweep Operation Failed To Complete"?

Unread post by zwei »

Ballfreak10 wrote: Sun Jul 04, 2021 11:26 am So I was able to get the Sweep operation to complete until I added one small horizontal line at the bottom-left of the path sketch (In the file attached here)...and now I'm back to getting the same error!
Again, this is due to the self intersecting profile....

When working with sweeping non-tangential convex path, you need to be aware of how your profile is being sweep.
See the image below, the horizontal profile is intersecting with the convex curve profile
image.png
There are a few workaround and that depends on your design intent

Option 1: Creating a horizontal line that is tangent to the convex curve
The convex curve will change (either shrink vertically or grow horizontally)
Notice that how the profile on horizontal line no longer intersect the profile from the curve because the line is tangent to the curve
image.png
image.png

Option 2: Split the sweep into 2 feature (You will need either 2 sketch or using selection manager)
For the first sweep, sweep until the curve end point (red sketch)
For the second sweep, sweep using the face and the horizontal line (green sketch)
Depending on the design intent, you might need an additional extrude to get the horizontal end face
However, this option will cause the sweep on the horizontal line to have different profile than the original sweep profile (note the 0.25 and 0.24 dimension).
This is because in the second sweep, the face is forced to follow the horizontal line, hence the sweep profile is projected, causing the dimension to change
image.png
image.png
image.png

Option 3: Use Keep Normal Constant for your Profile orientation option
This will force the profile normal to be kept constant
But that note that this will produce a really "bad" geometry at the curve area
image.png


Each option will produce different result.
I believe Option 1 is the correct way for this case if you want to have a consistent sweep profile
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
Post Reply