sweep error

Next
 From:  wimverbe
5266.1 
I have this profile, and want to sweep it around a simple L path. the profile is completely closed, well formed, (I even redrew it from scratch to make shure) and yet, the sweep does not generate a closed volume, but 4 separate sweeps, which cannot be joined and a cap added. if I extrude the profile, it works fine. the problem is with the 2 smallest arcs in the profile, if I remove them and replace them with straight lines, it works. any idea how to solve this?
tnx
wim
Attachments:

Image Attachments:
Size: 28.7 KB, Downloaded: 20 times, Dimensions: 457x519px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
5266.2 In reply to 5266.1 
Yes a classic one ;)
Just offset your rail "L" and obtain a second rail "L" ;)
So Sweep with 2 rails

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mike K4ICY (MAJIKMIKE)
5266.3 In reply to 5266.1 
Hi Wimverbe,

I know that others may show you a visual, but try this out:

The problem may be arising from some kind of inaccuracies in the curves. Maybe on a micro-level something isn't lining up.

Take your profile and run the "Rebuild" command (in the text command box at the bottom).

In the dialog, choose the "Refit" option. In this case I told it .001 for the value, but this can be different depending on the scale your model is working at.
Make sure the original object is deleted. It may not be laser-accurate, but it will play nicer with construction methods.

Your profile should now Sweep along your 'L' path. When I tried it, it says it's a "Solid".

You'll still have separate panels because of the right angles, but it should be a manageable solid.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5266.4 In reply to 5266.1 
Hi wimverbe, so that's actually sort of a bug in Sweep, but it's also related to the small size of the little tiny arc pieces in the corners of your profile shape.

Part of the process of doing a mitered sweep is that MoI internally generates the sweep along each path section separately and then the pieces are intersected and trimmed with one another.

That "intersect and trim" process can have some difficulty on pretty tiny pieces that begin to approach the general 0.001 unit fitting tolerance size. Several kinds of operations in MoI like surface/surface intersection are carried out to some level of precision, and the default is basically 0.001 units, but if the entire size of the shape being processed is also right around that same size it can cause the intersection mechanism to get confused.

So you could either leave out those little tiny arc pieces in the corners and just have straight corners there, or also if you scale the entire thing up by 10 times in size it will then work ok because those little pieces will be just large enough then to avoid being in the same general size as the intersection tolerance.

I may be able to fix this up though by updating sweep to use a tighter intersection tolerance for very small sized profile segments, I'll take a look at that.

But you may in general run into problems similar to this with such little sized features with operations that involve intersection calculations. Sometimes it is best to leave things that are that tiny out or to work at a somewhat bigger scale (but not too big though either, just not so that individual features are around 0.001 units in size).

I am in the gradual process of tuning more and more things in MoI to use a "relative tolerance" mechanism where it uses a tolerance that is a fraction of the object's bounding box size rather than just a fixed 0.001 value, which is what should fix this particular case up as well.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  wimverbe
5266.5 In reply to 5266.4 
Thanks Michael, that makes things clear. Indeed, I was able to leave out the tiny arcs and replace them by a 2 point bevel, it looked the same in the render.

Wim
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
5266.6 In reply to 5266.5 
Hi Wim, and also in the just released v3 beta I have tuned up sweep so the mitering automatically shrinks down the tolerance for little small sized areas during the intersection calculations, so this file that you originally posted here will now sweep ok in the current v3 beta even with the small pieces left in place.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All