Development
|
iPOGO Development Center Report #70
| #70 DXFIN - Resolved - 3D Microstation files have DXF anomaly MODIFIED
| |
BugNo |
70
| |
CodeModule |
DXFIN
| |
Status |
Resolved
| |
Title |
3D Microstation files have DXF anomaly MODIFIED
| |
Description |
DXF files exported from a 3D Microstation file sometimes fail import into iPogo because they have certain entities with Object Coordinate Systems that do not conform to the World Coordinate System of the DXF file. An extrusion factor must be applied in a matrix calculation to rotate the x and z values around the appropriate axis to determine the correct coordinates.
| |
Comments |
The following is a clip from a dxf file that demonstrates the values found in the Object Coordinate System (OCS) for this arc object. To convert it into the real world coordinate system, you must multiply the codes 10,30,11,31 values by the code 230 value. This seems to meet all the scenarios that I have found in dxf files so far and will probably fix most of the problems we have been having with this OCS conversion. In this case, the code 10 value of -6984.594417 multiplied by the code 230 value of -1.0 = 6984.594417, the true east coordinate value of this arc radius point.
All this means that for every valid entity being imported, the program must check for the 230 code. With the default set to 1.0, you can multiply all incoming x and z values accordingly. Not exactly sure what to do if there is a value in the 210 or 220 codes. Probably means that the user is in a weird User Coordinate System looking at a view from below or above the project. Should throw an error message and notify the user that the iPOGO file may contain invalid results.
==============================================================
0
ARC
8
39
6
HIDDEN
62
7
5
7EE
10
-6984.594417
20
5103.569726
30
0.0
40
9.5067
50
175.655432
51
203.712696
210
0.0
220
0.0
230
-1.0
| |
FiledBy |
HGP,SET
| |
FiledDate |
02/03/2000
| |
ResolvedDate |
03/10/2000
| |
Resolution |
The operator must not export dxf objects such as dimensions, construction objects, or hatches. The circles are still being computed incorrectly. See bug 143.
| |
VersionNo |
4.0 Beta
| |