![]() |
【转帖】-3.8134252565d-03 in dxf line and arc coordinates
-3.8134252565d-03 in dxf line and arc coordinates
-3.8134252565d-03 in dxf line and arc coordinates hi, we are using recent dwgdirect libraries in our product for importing dwg/dxf files. we have some customers who have very simple dxf files that did not come from autocad that have some of their x or y coordinates in the format. for example: ====================== 0 section 2 entities 0 line 8 0 10 57.00578033447266 20 16.99619735717773 11 75.23578033447266 21 -3.802642822265625d-03 0 endsec 0 eof ========================= you seem to interpret the "d-03" the same way that autodesk does, which of course is good.... however, some systems seem to ignore the "d-03". unfortunatly one of our customers has 1000 of dxf files where they would like us to also ignore the "d-03". certinaly we could just strip off the "d-03" ourselves in a pre-process, but we do have a few questions. a.) do you have any idea what the "d-03" is all about? b.) is there a switch or can there be a switch to ignore this? attached files sorry we had it a little backwards, this is the correct post. ====== hi, we are using recent dwgdirect libraries in our product for importing dwg/dxf files. we have some customers who have very simple dxf files that did not come from autocad that have some of their x or y coordinates in the format. for example: ====================== 0 section 2 entities 0 line 8 0 10 57.00578033447266 20 16.99619735717773 11 75.23578033447266 21 -3.802642822265625d-03 0 endsec 0 eof ========================= you seem to interpret the "d-03" the same way that autodesk does, which of course is good.... it looks like you ignore it. however, some systems seem to interpret the "d-03" and unfortunatly one of our customers has 1000 of dxf files where they would like us to also interpret the "d-03". certinaly we could eventualy figure out what the "d-03" means and massage the dxf file ourselves in a pre-process, but we do have a few questions and are hoping you can save us a bunch of time. a.) do you have any idea what the "d-03" is all about? b.) is there a switch or can there be a switch to interpret this? i think the author of program writing such files made a mistake having used "d-3" instead of "e-3" which means decimal exponent. 3.5e-3 would mean 0.0035 surely we need to interprete double values from dxf file as autocad does. |
所有的时间均为北京时间。 现在的时间是 08:09 PM. |