01-05-2012 11:41 AM
a customer sent me a step file which contains two solids and when i read it in then get only a single body. even the Simple program in the samples directory shows one body. however, when i have a colleague read the file with Interop their output shows two bodies. i am using the same options for the converter but getting different results. please see the output from the two programs i don't see a difference in the options but i am getting different results.
i tried this with R21SP3 and R22SP1 with identical results.
see the attached files. any ideas what may be wrong?
01-06-2012 12:47 PM
ok, i got it work so that i now get 2 bodies however, please explain what the problem was.
here is the code that i had:
using this i got one body when i replaced it with:
SPAIUnit requestedUnit(SPAIUnitMeter );
WHY did this work??? the unit in the src was millimeters.
01-07-2012 12:28 AM
I've gone through the two log files provided by you and except OS and Nb. of Solid Bodies there is no difference in the my_results.txt and correct_results.txt.
Now your analysis of the problem is that using the two methods to set the target-unit you are getting different results.
That is, when you set target unit as meter then you get two bodies and for target-unit mm you get one body.
Looking at the nature of the problem, we suspect that the problem may be occurring because the bounding box in the source STEP file.
That is "the source file bounding box may be larger than the ACIS supported bounding box" which is likely to be the root cause.
To confirm this, it is possible to share the file?
With best regards,
DS-SPATIAL Cilent Care
01-08-2012 10:26 AM
sorry, the file is extremely confidential and i am not allowed to share it. is there someway i can verify this for you? i do intentionally ignore invalid bounding box messages.