- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
wrong output in exporting IGES file with option "Translate SolidBodie s"
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-24-2010 04:03 PM - last edited on 02-24-2010 04:11 PM
When we test some IGES export cases, we find following code make the wrong output if we use option "TranslateSolidBodies", but it is correct if do not use option "TranslateSolidBodies".
// create 2 spheres
outcome res;
BODY *pSphere0 = NULL;
res = api_solid_sphere(SPAposition( 0.0, 0.0, 0.0 ),// center
100, // r
pSphere0
);
BODY *pSphere1 = NULL;
res = api_solid_sphere(SPAposition( 50, 0.0, 0.0 ), // center
100, // r
pSphere1
);
// subtract pSphere1 from pSphere0
res = api_subtract( pSphere1, pSphere0 );
// recreate pSphere1
res = api_solid_sphere( SPAposition( 50, 0.0, 0.0 ), // center
100, // r
pSphere1
);
// conversion
ENTITY_LIST ipAcisEntities;
ipAcisEntities.add( pSphere0 );
ipAcisEntities.add( pSphere1 );
SPAIAcisDocument src( &ipAcisEntities );
SPAIDocument dst( "model.igs" );
SPAIOptions options;
SPAIValue solid( true );
options.Add( SPAIOptionName::TranslateSolidBodies, solid );
SPAIConverter converter;
converter.SetOptions( options );
converter.Convert( src, dst );
// release BODY
api_del_entity( pSphere1 );
api_del_entity( pSphere0 );
The 1st figure is the output IGES shade with option "TranslateSolidBodies".
The 2nd figure is the output IGES shade without option "TranslateSolidBodies".
we use R19 sp3.
Thanks in advance.
Re: wrong output in exporting IGES file with option "Translate SolidBodie s"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-25-2010 06:26 AM
Hi,
The issue appears to be fixed in latest build. Can you check using our R20 SP2 release?
Thanks
InterOp Developer
Re: wrong output in exporting IGES file with option "Translate SolidBodie s"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-01-2010 04:04 PM
We try R20 sp2, still get the same wrong result as r19 sp3.

