Error in importing MoI STEP file into UG

Next
 From:  Michael T. (MICTU_UTCIM)
2722.1 
Hi Michael G.,

Here are errors that I get when I try to import a STEP file created from MoI Jun20 beta into UG NX4:













I do not get these errors when I export the same file from MoI April beta.

Any thoughts?

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537

EDITED: 4 Nov 2010 by MICTU_UTCIM

  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
2722.2 In reply to 2722.1 
Hi Michael T - well one of the new things for this beta is that MoI now tries to export style information to IGES, SAT, and STEP files.

Part of that is writing color attributes to STEP files, something is going wrong involving that.

It appears that this is causing NX4 to actually crash during the file read - that error at the bottom that says "Unhandled UG exception caught, Internal error: Memory access violation" means that their import code actually crashed but the crash was caught instead of letting it shut down the whole program.

I'll ask the developer of the STEP export library that I'm using about color attributes, from the readout log it appears that the color attributes may not be structured correctly in the STEP data or something like that.

I may have to disable writing colors to STEP for the next release.

Thanks for reporting the problem!

- 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 T. (MICTU_UTCIM)
2722.3 In reply to 2722.2 
Thanks Michael G.

On another note, Pro-E Wildfire 3 did not have any error importing the STEP file from Jun20 beta.

I will try it with Alibre tonight.

Thanks again.

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537
  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
2722.4 In reply to 2722.1 
Hi Michael T.

> Here are errors that I get when I try to import a STEP file
> created from MoI Jun20 beta into UG NX4:

Is it possible for you to send me (moi@moi3d.com) the STEP file that caused that NX4 error log to be generated?

The developer of the STEP library that I use would like to see the file that matches that error log if possible, it may help him to match the reported errors to data in the file and see if it is being structured incorrectly.

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:  Michael T. (MICTU_UTCIM)
2722.5 In reply to 2722.4 
Hi Michael G.

I just sent you the 3dm file.

Thanks again for the help.

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537
  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 T. (MICTU_UTCIM)
2722.6 In reply to 2722.5 
Sorry, it's the STEP file, not the 3dm file :-)
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537
  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)
2722.7 In reply to 2722.4 
Hi Michael,

Same thing happens here at work on NX6, exact same error.
I did some quick tests to see if there was any difference with different settings and export options using the file attached.
The sequence was;

*save as step with colours in the model, Write .Mtl file, checked.
*save as step with no colours (default colour) in the model, Write .Mtl file, checked.
*save as step with colours in the model, Write .Mtl file, unchecked.
*exported. as step with colours in the model, Write .Mtl file, checked.
*exported. as step with colours in the model, Write .Mtl file, unchecked..
*save as step with colours and object name in the model, Write .Mtl file, checked.
*save as step with colours and object name in the model, Write .Mtl file, unchecked.

All have the same error result with NX6.
I also remembered explaining how NX handles it's layer system, where colours are handled separate and not part of the layer.
http://moi3d.com/forum/index.php?webtag=MOI&msg=2581.38

If you need any other info, let us know.

Cheers
~Danny~
Attachments:

  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 T. (MICTU_UTCIM)
2722.8 In reply to 2722.7 
Hi Michael G. and Danny,

As I noted before, the STEP file came in fine to Pro-E Wildfire 3.0. I just now opened it into Alibre and it opened up just fine also.

So far only issue is with UG.

Thanks both for checking it out! :-)

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537
  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
2722.9 In reply to 2722.7 
Hi Danny, thanks for sending that, I've forwarded that one along as well.

One quick thing - I'm not sure if the log you had attached in there was complete, as it doesn't show the errors that were shown in Michael T's screenshot.

Was the log possibly truncated or is there a different error log? If I can get that error log that Michael was showing but for your model import into NX6 (which will probably contain different line numbers than what Michael T's one), that may be useful for me to send along as well since it may help the developer to review the particular areas of the file that NX is complaining about.

- 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
2722.10 In reply to 2722.7 
Hi Danny, also quick note re: .mtl file option - that option only actually has to do with OBJ format export.

The material definitions (like the actual color of the material) for OBJ format are not actually stored directly in the OBJ file itself, but rather in a companion MTL file that is written at the same time.

If you don't want that secondary file written when saving to OBJ format, you can disable that option.

- 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
2722.11 
I think what I will do though is to disable writing color information to STEP files for the next v2 beta.

It looks like that area of the library that I'm using is not quite all finished up for STEP format export.

I'll leave it in place for IGES and SAT 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)
2722.12 In reply to 2722.9 
Hi Michael,

I've attached part of the NX .syslog where the error occurred also NX step definition file.

Cheers
~Danny~
Attachments:

  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 T. (MICTU_UTCIM)
2722.13 In reply to 2722.12 
Hi Michael G.,

Will I still be able to use the April beta to get around this until the next beta with that disabled is released?

Thanks again,

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537
  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
2722.14 In reply to 2722.12 
Thanks Danny!

- 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
2722.15 In reply to 2722.13 
Hi Michael T.

> Will I still be able to use the April beta to get around this
> until the next beta with that disabled is released?

Yes, the April beta is still good for another month so that should work for now at least.

- 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 T. (MICTU_UTCIM)
2722.16 In reply to 2722.15 
Thanks Michael G.

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537
  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 T. (MICTU_UTCIM)
2722.17 
Hi Michael G.,

Any updates yet?
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537
  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
2722.18 In reply to 2722.17 
Hi Michael T - no updates yet.

- Michael G.
  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 T. (MICTU_UTCIM)
2722.19 
Thanks for the update Michael G.

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/fish317537
  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