Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Saving as iges file flips surface normals


MIL-TFP-41
 Share

Recommended Posts

Ok, this should not be tough, but it is giving me fits. When I save the attached revolved solid as an iges it flips the normals on half the surfaces. Plays hell with a cmm program that is looking for the top of a surface.

We try as a .stp file also, we get the same result in the cmm program (it apparently converts the solid into surfaces)

What really sucks is you can fix all the surfaces in the .iges file, resave as an iges, and it will still open up bad. I suspect this is because of the untrimmed surfaces that are hidden.

Just wondering if anyone else has seen this behavior ever...and if there is a fix.

test.mcam

Link to comment
Share on other sites

Yeah, it's been a while since I've had to deal with iguess, which is great for me.  Sorry you're suffering, though!

It's been even longer since I looked at the spec, but if I recall, the iguess surface normal is simply determined by which "direction" the surface is described in (i.e., is it going left to right or right to left kinda thing).   You can see the same thing if you create this as a revolved surface in Mastercam:
image.thumb.png.7f98e3bc4f8c81536215ee611d4c7ec9.png

That said, I'd recommend revolving this as a surface, then you can use Surface  > Normals > Orient to quickly align them.    Since they're native surfaces, the normal will survive the export to iges (see attached file).   The problem you have otherwise is you're always going through the parasolids kernel for surface manipulation, whereas if you deal directly with native surfaces the whole time you avoid conversion.

You can see the difference in file size if you Save As this solid as an iguess, it'll be ~500kb.  If you save a revolved surface as the same, it'll be 20kb.

surfaces.igs

  • Like 1
Link to comment
Share on other sites
23 hours ago, JParis said:

This doesn't answer your question, sorry about that, it does though prompt a question....

Why use iges?

It's technically not outdated but it is an old process that is fraught with issues and limitations, I'm just curious.

Like I said, we try to use .stp, but the cmm software converts those into surfaces and sometimes flips the normals on those models. At least with an iguess file one can open it in mastercam & see if the normals are flipped.  Next step is to try their parasolid translator & see if that gives us better results.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...