Need advice joining complex surface
 1-14  15-34  35-41

Previous
Next
 From:  Michael Gibson
3593.15 In reply to 3593.14 
Hi Anis,

> Which do you think better comparing export to iges, step or sat ?

Each of these formats has some complexities in slightly different areas, so I would suggest getting as many different formats as possible.

So instead of choosing one between IGES, STEP, and SAT, instead request getting the same model data in each of those formats, including 3DM and Parasolid if they are able to do those.


But if the original data is messy and possibly contains holes and overlaps in it then of course that will not get automatically solved by using some particular file format.

If the original model data is ok then one of the formats that contains solid information (STEP or SAT) will save you some joining work.

- 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:  Anis
3593.16 In reply to 3593.15 
Ok, then how about the precision / which is more accurate ?
  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
3593.17 In reply to 3593.16 
Hi Anis, are you talking just about numeric accuracy? They are all pretty close to equivalent in the representation of numbers.

Those formats are text file formats and I think the number of digits to use for the text representation of numbers is something that is up to the particular application generating the file.

But it is very unlikely that you will run into problems with not enough digits in the number formatting used in any of those formats.

- 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:  Anis
3593.18 In reply to 3593.17 
thanks 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:  BurrMan
3593.19 In reply to 3593.17 
I recently ran into a model that appeared the same. It "appears to be a simply constructed solid, the many of the fillets are naked. There doesnt appear to be anything like overlapping trim boundries or fincky edges or anything. I'm thinking this might be something related to "Tolerances" set in other apps that then dont propogate unless the same tolerance is known in the receiving app.

We've discussed this before Michael, with regard to Rhino and you described your thoughts that having that variable tolerance value was a design mistake that lead to these types of situations.

I've requested the file from Anis also to have a looksee at it.
  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
3593.20 In reply to 3593.19 
Hi Burr, well tolerances come into play mostly when various kinds of geometry is created.

Many operations cannot be calculated directly, they go through a kind of iterative refinement until the result is close enough to the desired accuracy, with the desired accuracy being the tolerance.

Various things like general surface/surface intersection, fillet surface creation, sweeping, etc... are all things that use that kind of refinement.

If you have set a tolerance that is too loose, then it means the the surfaces that you generated will kind of sag away by some significant amount away from where their ideal locations would be. That's something that happens at the time that the surface is created, it doesn't have a whole lot to do with just saving data that has already been created.

Various kinds of systems can also have an error tolerance value that is associated with edges, which kind of marks the distance of the maximum gap between the 3D edge and the surfaces that are associated with it. This kind of error value assigned to an edge is not really too crucial to be sent down by export processes because it can be calculated later.


- 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:  Michael Gibson
3593.21 In reply to 3593.19 
Hi Burr,

> We've discussed this before Michael, with regard to Rhino
> and you described your thoughts that having that variable
> tolerance value was a design mistake that lead to these
> types of situations.

Yeah, what can happen is if someone fiddles with the tolerance it can easily lead to geometry being too saggy or it's also bad for someone to make it super tight and get things like 100,000 control points on every single trim curve.

It's especially surprising when you receive a file from someone else when they have messed with the tolerance and you are not aware of it, and then you start to create new things after loading in their file, getting things like sags in your fillets.

- 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:  Anis
3593.22 In reply to 3593.19 
Hi Burr....

BTW I dont receive yet any request from you.
PM me and provide your email if you want....

Thanks
  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:  BurrMan
3593.23 In reply to 3593.21 
Hi Michael,
It must be a saggy thing with regard to the model I'm refering to. It is a simple revolved solid with holes punched in it and fillets on the holes. Nothing manually created. You would think that the fillets would create a nice edge as opposed to naked. I do suppose you could still punch holes that would cause it to be faulty fillets too though... Many factors there.


Anyway, mine is not a MoI model, so I will wait for Anis's to see if I can conjure up anything....

Thanks again.
  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
3593.24 In reply to 3593.23 
Hi Burr, does the one you have join up if you scale it down by 1/10 or 1/2 using the steps from here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3593.3

Possibly that model was built to a tolerance of 0.01 units, maybe making the fillets just sagging away by slightly more than MoI's max join tolerance. A sag of 0.01 units is not particularly visually bad, it can be tough to see it unless you examine things more closely.

The reason why scaling down can make things join up is that when you scale an object down, the gaps between pieces also get smaller as well, so it can put them within the tolerance distance if they were just outside of it before.

In the future I would like to make a way to override MoI's tolerance, but probably something like an override that lasts just for the current command or modeling session rather than something that gets stored in the file and set once the file is loaded - that particular method of having a changed tolerance get set on someone when they don't expect it is the thing that tends to cause trouble.

- 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:  BurrMan
3593.25 In reply to 3593.24 
Hi Michael,
I did try the scale and it would join more than without the scale, but never make a solid.

This is the model I refer to. It is not something I need to fix. It is being used for a question regarding machining....But it just seemed to be the same thing so thats why I mentioned it. If you want to peek and refer to it to see if anything stands out, that would be nice. But there is no need to "work it" to try and make a solid. Only to see if you can see why it is not.

Thanks

EDITED: 26 Aug 2011 by BURRMAN

  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
3593.26 In reply to 3593.25 
Hi Burr, I'm not 100% sure what is happening there, the edges do not seem to sag away from one another, but also the edges between different pieces are not exactly aligned with one another, some of them have different endpoints although not very far away.

I took a close look into one problem area and it looks like there is some crossing overlap between some of the edge curves, that may be the problem.

Like for here I marked the end of this edge with a point:



Now if I go select the edge right next to it you can see this:




I'm not entirely sure if that is the problem though.

- 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:  DannyT (DANTAS)
3593.27 
Hi Anis,

I had a look at this model and unfortunately it's a mess, it seems that the person who modeled this part has had the modeling tolerance set very loose in their cad program.
Ralf was correct, it was exported from NX, I've highlighted it in the picture attached.

I did run some analysis in NX, also NX has a feature called heal geometry, what that does is it tries to fix geometry by tightening tolerances, removing tiny objects and various other surface repairs, it works quite well when there a few geometry abnormalities, I've also attached the output result of that operation and you can see how many things are wrong with this model, but there were still a lot of naked edges after this operation, the best you could get was to sew(join) the surfaces in NX using a tolerance of 0.1mm(0.004") which in my opinion is way too loose, I wouldn't trust the quality of any of the surfaces and it still resulted in a lot of naked edges that would take some hours to fix.

Anyhow there is no quick fix for this file, I suggest if your client is using NX 5.0 I can't see why they can't output it as a STEP to see if that is any better.






-
~Danny~

  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:  OSTexo
3593.28 
Hello,

This is the basic result from an import to SCE and a stitching command. I think it almost might be better for you to try to defeature the model and build it back up. Even it its somewhat whole state it has hundreds of geometry errors. Is this for rendering purposes?
Image Attachments:
Size: 131.7 KB, Downloaded: 38 times, Dimensions: 1014x797px
  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:  d3print
3593.29 In reply to 3593.28 
OSTexo, was it hard job to stich the surfaces with SC?
  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:  BurrMan
3593.30 In reply to 3593.26 
""""""""""" but also the edges between different pieces are not exactly aligned with one another, some of them have different endpoints although not very far away.""""""""""""""

Thanks for looking at that Michael. I thought I inspected those endpoints of edges and didnt see any. I need more practice!

Anyway, it seems that with this, and Anis's model, it's not really what I was looking for, but more construction issues, or the export didnt handle the solid creation well. "STEP" up to solids :o

Thanks again.
  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:  OSTexo
3593.31 
Hello d3print,
It wasn't difficult at all. I just selected the entire lump of geometry and hit the button. I checked the geometry of the model and even after that there are a bunch of problems. I have a little free time and am trying to use it as a challenge to sharpen my skills. It may not turn out anyway but at least I will get some practice. It seems the edges are sort of sloppy and gapped, overlapping, etc. in a few areas among other things and the rounds look messed up in many places. SCE has some great defeaturing tools so once I hopefully get this into a solid I'll be able to tighten that up. I'll try to isolate the pieces and parts from the largest mass of the model to indicate what surfaces are causing problems.
  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
3593.32 In reply to 3593.31 
Something that was built to a loose tolerance plus at the same time has small sized edges or features in it can tend to be problematic.

- 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:  Michael Gibson
3593.33 In reply to 3593.30 
Hi Burr,

> "STEP" up to solids

Yeah that can often help, particularly with not having to join things.

Unfortunately STEP has some totally different areas where things can go wrong in - the way trimming boundaries are specified in STEP files, only the 3D curves of the edges are contained in the file, leaving the UV space trim curves to be calculated by the application. That calculation can be fairly difficult in some circumstances, particularly in seam areas of closed surfaces if the trim curve wanders slightly back and forth over the seam.

Also the STEP mechanism allows for things like a single trim curve that crosses over a seam in a closed surface which has to be split for regular NURBS topology. That can again be a difficult calculation if the edge just barely grazes the seam or hugs along it for just a little bit instead of crossing directly over it, stuff like that.

So there are some trim curve calculations and processing that still has to happen with STEP files in order to get it into a normal NURBS topology, and along with any kinds of fairly complex calculations there is potential for things to go wrong in grazing / barely touching / overlapping kinds of situations.

It sure would have been nice if the STEP authors would have made it a more direct container of simple NURBS topology, that would have made it a more ironclad data transfer mechanism.

- 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:  Michael Gibson
3593.34 In reply to 3593.25 
Hi Burr, so I was experimenting some with different internal options for surface joining, and by turning on an option for squeezing together small edges I was actually able to get your wheel thing there joined into a solid (just 1 surface needed to be trimmed), it is attached here.

But unfortunately I have also seen that "squeeze small edges" option cause some kind of orientation problems in some other cases, that's why it is not turned on currently in MoI.

That seems to be the actual problem with the model though, not that the endpoints have that little overlap, but that there are some little super tiny micro edges in the trimming boundaries, actually at a 90 degree turn from their surrounding edges making for a really messy situation.

Here I have tracked down just one of them:

In this area here:



If you zoom in you can see the 2 larger edges have a kind of criss-cross arrangement (like I was showing earlier, this is another angle on the same kind of thing):



which is not really great compared to touching nicely, but actually the ends of the criss-cross are within 0.0007 units of each other which is within tolerance so that is actually by itself not going to interfere with joining.

But notice the circled area, there is a little spec of yellow in there - that's actually another edge in there. Here i have zoomed in more closely on it:




And here it is unselected so you can see it more clearly:




So that's a terrible super tiny little edge hanging off one of those larger edges, and it is at some kind of 90 degree angle to the overall boundary shape, just really nasty to deal with trying to join that to something else.

That little micro edge is only 0.0000007 units long - this becomes bad when the entire edge is way smaller than the tolerance, it becomes difficult for the joiner to figure out how its endpoints should relate to other way larger edges that it is trying to join it with.

So anyway, that's what's going on with your example - it's not sags, but rather badly formed trimming boundaries with tiny micro edges in them.

At some point I could probably cook up some kind of "edge repair tool" that would do things like try and just remove little tiny micro edges like that to get rid of them.


- 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

 

 
Show messages:  1-14  15-34  35-41