Revision 464

View differences:

org.gvsig.dxf/tags/org.gvsig.dxf-2.0.102/org.gvsig.dxf.provider.legend/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.dxf.provider.legend</artifactId>
5
  <packaging>jar</packaging>
6
  <name>${project.artifactId}</name>
7
  <description>DAL provider for dxf files</description>
8
  <parent>
9
      <groupId>org.gvsig</groupId>
10
      <artifactId>org.gvsig.dxf</artifactId>
11
      <version>2.0.102</version>
12
  </parent>
13

  
14
  <dependencies>
15

  
16
    <dependency>
17
      <groupId>org.gvsig</groupId>
18
      <artifactId>org.gvsig.dxf.provider</artifactId>
19
      <scope>compile</scope>
20
    </dependency>
21

  
22
    <dependency>
23
      <groupId>commons-io</groupId>
24
      <artifactId>commons-io</artifactId>
25
      <scope>compile</scope>
26
    </dependency>
27

  
28
    <dependency>
29
        <groupId>org.gvsig</groupId>
30
        <artifactId>org.gvsig.tools.lib</artifactId>
31
        <scope>compile</scope>
32
    </dependency>
33
    <dependency>
34
        <groupId>org.gvsig</groupId>
35
        <artifactId>org.gvsig.projection.api</artifactId>
36
        <scope>compile</scope>
37
    </dependency>
38
    <dependency>
39
        <groupId>org.gvsig</groupId>
40
        <artifactId>org.gvsig.fmap.dal.api</artifactId>
41
        <scope>compile</scope>
42
    </dependency>
43
    <dependency>
44
        <groupId>org.gvsig</groupId>
45
        <artifactId>org.gvsig.fmap.dal.spi</artifactId>
46
        <scope>compile</scope>
47
    </dependency>
48
    <dependency>
49
        <groupId>org.gvsig</groupId>
50
        <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
51
        <scope>compile</scope>
52
    </dependency>
53
    <dependency>
54
        <groupId>org.gvsig</groupId>
55
        <artifactId>org.gvsig.fmap.geometry.api</artifactId>
56
        <scope>compile</scope>
57
    </dependency>
58
    <dependency>
59
        <groupId>org.gvsig</groupId>
60
        <artifactId>org.gvsig.fmap.mapcontext.api</artifactId>
61
        <scope>compile</scope>
62
    </dependency>
63
    <dependency>
64
        <groupId>org.gvsig</groupId>
65
        <artifactId>org.gvsig.dxf.provider</artifactId>
66
        <scope>compile</scope>
67
    </dependency>
68
    <dependency>
69
        <groupId>org.gvsig</groupId>
70
        <artifactId>org.gvsig.symbology.lib.api</artifactId>
71
        <scope>compile</scope>
72
    </dependency>
73
    <dependency>
74
        <groupId>org.gvsig</groupId>
75
        <artifactId>org.gvsig.timesupport.lib.api</artifactId>
76
        <scope>compile</scope>
77
    </dependency>  
78
    <dependency>
79
      <groupId>org.gvsig</groupId>
80
      <artifactId>org.gvsig.utils</artifactId>
81
      <scope>compile</scope>
82
    </dependency>
83

  
84

  
85
    <!-- TESTS -->
86
    <dependency>
87
      <groupId>org.gvsig</groupId>
88
      <artifactId>org.gvsig.tools.lib</artifactId>
89
      <type>test-jar</type>
90
      <scope>test</scope>
91
    </dependency>
92
    <dependency>
93
      <groupId>org.gvsig</groupId>
94
      <artifactId>org.gvsig.compat.se</artifactId>
95
      <scope>test</scope>
96
    </dependency>
97
    <dependency>
98
      <groupId>org.gvsig</groupId>
99
      <artifactId>org.gvsig.fmap.dal.impl</artifactId>
100
      <scope>test</scope>
101
    </dependency>
102
    <!--
103
    <dependency>
104
      <groupId>org.gvsig</groupId>
105
      <artifactId>org.gvsig.fmap.geometry.generalpath</artifactId>
106
      <scope>test</scope>
107
    </dependency>
108
    -->
109
    <dependency>
110
      <groupId>org.gvsig</groupId>
111
      <artifactId>org.gvsig.projection.cresques.impl</artifactId>
112
      <scope>test</scope>
113
    </dependency>
114
    <dependency>
115
      <groupId>org.gvsig</groupId>
116
      <artifactId>org.gvsig.timesupport.lib.impl</artifactId>
117
      <scope>test</scope>
118
    </dependency>   
119

  
120

  
121
  </dependencies>
122

  
123
</project>
org.gvsig.dxf/tags/org.gvsig.dxf-2.0.102/org.gvsig.dxf.provider.legend/src/main/java/org/gvsig/fmap/dal/store/dxf/legend/DXFLegendLibrary.java
1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 */
22

  
23
/*
24
* AUTHORS (In addition to CIT):
25
* 2008 IVER T.I. S.A.   {{Task}}
26
*/
27

  
28
/**
29
 *
30
 */
31
package org.gvsig.fmap.dal.store.dxf.legend;
32

  
33
import org.gvsig.fmap.dal.DALLibrary;
34
import org.gvsig.fmap.dal.store.dxf.DXFLibrary;
35
import org.gvsig.fmap.dal.store.dxf.DXFStoreProvider;
36
import org.gvsig.metadata.MetadataLibrary;
37
import org.gvsig.metadata.MetadataLocator;
38
import org.gvsig.tools.dynobject.DynClass;
39
import org.gvsig.tools.library.AbstractLibrary;
40
import org.gvsig.tools.library.LibraryException;
41

  
42
/**
43
 * @author jmvivo
44
 *
45
 */
46
public class DXFLegendLibrary extends AbstractLibrary {
47

  
48
    @Override
49
    public void doRegistration() {
50
        registerAsServiceOf(DALLibrary.class);
51
        require(DXFLibrary.class);
52
        require(MetadataLibrary.class);
53
        require(DALLibrary.class);
54
    }
55

  
56
	@Override
57
	protected void doInitialize() throws LibraryException {
58
	}
59

  
60
	@Override
61
	protected void doPostInitialize() throws LibraryException {
62
		DynClass metadataDefinition = (DynClass) MetadataLocator.getMetadataManager()
63
			.getDefinition(DXFStoreProvider.METADATA_DEFINITION_NAME);
64
		DXFGetLegendBuilder.register(metadataDefinition);
65
		DXFGetLegend.register(metadataDefinition);
66
		DXFGetLabeling.register(metadataDefinition);
67
	}
68
}
org.gvsig.dxf/tags/org.gvsig.dxf-2.0.102/org.gvsig.dxf.provider.legend/src/main/java/org/gvsig/fmap/dal/store/dxf/legend/DXFGetLegendBuilder.java
1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 */
22

  
23
/*
24
 * AUTHORS (In addition to CIT):
25
 * 2008 IVER T.I. S.A.   {{Task}}
26
 */
27
package org.gvsig.fmap.dal.store.dxf.legend;
28

  
29
import org.gvsig.fmap.dal.store.dxf.LegendBuilder;
30
import org.gvsig.tools.ToolsLocator;
31
import org.gvsig.tools.dynobject.DynClass;
32
import org.gvsig.tools.dynobject.DynMethod;
33
import org.gvsig.tools.dynobject.DynObject;
34
import org.gvsig.tools.dynobject.exception.DynMethodException;
35
import org.gvsig.tools.dynobject.exception.DynMethodNotSupportedException;
36

  
37
public class DXFGetLegendBuilder implements DynMethod {
38

  
39
    private static Integer code = null;
40

  
41
    static void register(DynClass dxfLegendDynClass) {
42
        if (code != null) {
43
            return;
44
        }
45
        code = ToolsLocator.getDynObjectManager()
46
                .registerDynMethod(
47
                        dxfLegendDynClass, new DXFGetLegendBuilder());
48

  
49
    }
50

  
51
    @Override
52
    public int getCode() throws DynMethodNotSupportedException {
53
        return code;
54
    }
55

  
56
    @Override
57
    public String getDescription() {
58
        return "DXF LegendBuilder creator";
59
    }
60

  
61
    @Override
62
    public String getName() {
63
        return LegendBuilder.DYNMETHOD_BUILDER_NAME;
64
    }
65

  
66
    @Override
67
    public Object invoke(DynObject self, Object[] args)
68
            throws DynMethodException {
69
        return new DXFLegendBuilder();
70
    }
71

  
72
    @Override
73
    public Object clone() throws CloneNotSupportedException {
74
        return super.clone();
75
    }
76

  
77
    
78
}
org.gvsig.dxf/tags/org.gvsig.dxf-2.0.102/org.gvsig.dxf.provider.legend/src/main/java/org/gvsig/fmap/dal/store/dxf/legend/DXFLegendBuilder.java
1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 */
22

  
23
/*
24
* AUTHORS (In addition to CIT):
25
* 2008 IVER T.I. S.A.   {{Task}}
26
*/
27

  
28
package org.gvsig.fmap.dal.store.dxf.legend;
29

  
30
import java.awt.Color;
31

  
32
import org.gvsig.dxf.px.dxf.AcadColor;
33
import org.gvsig.fmap.dal.DataTypes;
34
import org.gvsig.fmap.dal.feature.spi.FeatureProvider;
35
import org.gvsig.fmap.dal.feature.spi.FeatureStoreProvider;
36
import org.gvsig.fmap.dal.store.dxf.DXFStoreProvider;
37
import org.gvsig.fmap.dal.store.dxf.LegendBuilder;
38
import org.gvsig.fmap.geom.Geometry;
39
import org.gvsig.fmap.mapcontext.MapContextLocator;
40
import org.gvsig.fmap.mapcontext.MapContextManager;
41
import org.gvsig.fmap.mapcontext.rendering.legend.IVectorialUniqueValueLegend;
42
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol;
43
import org.gvsig.symbology.SymbologyLocator;
44
import org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.IAttrInTableLabelingStrategy;
45
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol;
46
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.ILineSymbol;
47

  
48
public class DXFLegendBuilder implements LegendBuilder {
49

  
50
	private MapContextManager mapContextManager = MapContextLocator
51
			.getMapContextManager();
52

  
53
	private IVectorialUniqueValueLegend defaultLegend = null;
54
	private IAttrInTableLabelingStrategy labelingStragegy = null;
55

  
56
	public void begin() {
57
		// Nothing to do
58
	}
59

  
60
	public void end() {
61
		defaultLegend.useDefaultSymbol(true);
62
	}
63

  
64
	public Object getLegend() {
65
		return defaultLegend;
66
	}
67

  
68
	public LegendBuilder initialize(FeatureStoreProvider store) {
69
		defaultLegend = (IVectorialUniqueValueLegend) mapContextManager
70
				.createLegend(IVectorialUniqueValueLegend.LEGEND_NAME);
71
		defaultLegend.setShapeType(Geometry.TYPES.GEOMETRY);
72
		defaultLegend
73
				.setClassifyingFieldNames(new String[] { DXFStoreProvider.NAME_FIELD_COLOR });
74
		defaultLegend.setClassifyingFieldTypes(new int[] { DataTypes.INT });
75

  
76
		ISymbol myDefaultSymbol =
77
				mapContextManager.getSymbolManager().createSymbol(
78
				Geometry.TYPES.GEOMETRY, Color.BLACK);
79

  
80
		defaultLegend.setDefaultSymbol(myDefaultSymbol);
81
		defaultLegend.useDefaultSymbol(false);
82

  
83
		labelingStragegy = SymbologyLocator.getSymbologyManager().createAttrInTableLabelingStrategy();
84
		labelingStragegy.setTextField(DXFStoreProvider.NAME_FIELD_TEXT);
85
		labelingStragegy
86
				.setRotationField(DXFStoreProvider.NAME_FIELD_ROTATIONTEXT);
87
		labelingStragegy.setHeightField(DXFStoreProvider.NAME_FIELD_HEIGHTTEXT);
88
		labelingStragegy.setUnit(1); // MapContext.NAMES[1] (meters)
89
		return this;
90
	}
91

  
92
	public void process(FeatureProvider feature) {
93
		Integer clave = (Integer) feature.get("Color");
94
		if (clave == null) {
95
			return;
96
		}
97

  
98
		if (defaultLegend.getSymbolByValue(clave) == null) {
99
			ISymbol theSymbol;
100
			Color color = null;
101
			try {
102
				color = AcadColor.getColor(clave.intValue());
103
			} catch (ArrayIndexOutOfBoundsException e) {
104
				color = AcadColor.getColor(255);
105
			}
106
			// jaume, moved to ISymbol
107
			theSymbol =
108
					mapContextManager.getSymbolManager().createSymbol(
109
							Geometry.TYPES.GEOMETRY,
110
					color);
111
			theSymbol.setDescription(clave.toString());
112
			// Asigna los colores de Autocad a los
113
			// bordes de los pol?gonos y pone el relleno transparente.
114
			if (theSymbol instanceof IFillSymbol) {
115
				((IFillSymbol) theSymbol).getOutline().setLineColor(color);
116
				Color fillColor = new Color(color.getRed(), color.getGreen(), color.getBlue(), 0);
117
				((IFillSymbol) theSymbol).setFillColor(fillColor);
118
			}
119
			// Asigna los colores de Autocad a las l?neas
120
			if (theSymbol instanceof ILineSymbol) {
121
				((ILineSymbol) theSymbol).setLineColor(color);
122
			}
123
			if (theSymbol != null) {
124
				defaultLegend.addSymbol(clave, theSymbol);
125
			}
126
		}
127
	}
128

  
129
	public Object getLabeling() {
130
		return labelingStragegy;
131
	}
132

  
133

  
134
}
org.gvsig.dxf/tags/org.gvsig.dxf-2.0.102/org.gvsig.dxf.provider.legend/src/main/java/org/gvsig/fmap/dal/store/dxf/legend/DXFGetLabeling.java
1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 */
22

  
23
/*
24
 * AUTHORS (In addition to CIT):
25
 * 2008 IVER T.I. S.A.   {{Task}}
26
 */
27
package org.gvsig.fmap.dal.store.dxf.legend;
28

  
29
import org.gvsig.fmap.dal.exception.OpenException;
30
import org.gvsig.fmap.dal.store.dxf.DXFStoreProvider;
31
import org.gvsig.fmap.dal.store.dxf.LegendBuilder;
32
import org.gvsig.tools.ToolsLocator;
33
import org.gvsig.tools.dynobject.DynClass;
34
import org.gvsig.tools.dynobject.DynMethod;
35
import org.gvsig.tools.dynobject.DynObject;
36
import org.gvsig.tools.dynobject.exception.DynMethodException;
37
import org.gvsig.tools.dynobject.exception.DynMethodNotSupportedException;
38

  
39
public class DXFGetLabeling implements DynMethod {
40

  
41
    private static Integer code = null;
42

  
43
    static void register(DynClass dxfLegendDynClass) {
44
        if (code != null) {
45
            return;
46
        }
47
        code = ToolsLocator.getDynObjectManager()
48
                .registerDynMethod(dxfLegendDynClass, new DXFGetLabeling());
49

  
50
    }
51

  
52
    @Override
53
    public int getCode() throws DynMethodNotSupportedException {
54
        return code;
55
    }
56

  
57
    @Override
58
    public String getDescription() {
59
        return "DXF Labeling";
60
    }
61

  
62
    @Override
63
    public String getName() {
64
        return LegendBuilder.DYNMETHOD_GETLABELING_NAME;
65
    }
66

  
67
    @Override
68
    public Object invoke(DynObject self, Object[] args)
69
            throws DynMethodException {
70
        try {
71
            return ((DXFStoreProvider) self).getLabeling();
72
        } catch (OpenException e) {
73
            //FIXME
74
            throw new RuntimeException(e);
75
        }
76
    }
77

  
78
    @Override
79
    public Object clone() throws CloneNotSupportedException {
80
        return super.clone();
81
    }
82

  
83
}
org.gvsig.dxf/tags/org.gvsig.dxf-2.0.102/org.gvsig.dxf.provider.legend/src/main/java/org/gvsig/fmap/dal/store/dxf/legend/DXFGetLegend.java
1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 */
22

  
23
/*
24
 * AUTHORS (In addition to CIT):
25
 * 2008 IVER T.I. S.A.   {{Task}}
26
 */
27
package org.gvsig.fmap.dal.store.dxf.legend;
28

  
29
import org.gvsig.fmap.dal.exception.OpenException;
30
import org.gvsig.fmap.dal.store.dxf.DXFStoreProvider;
31
import org.gvsig.fmap.dal.store.dxf.LegendBuilder;
32
import org.gvsig.tools.ToolsLocator;
33
import org.gvsig.tools.dynobject.DynClass;
34
import org.gvsig.tools.dynobject.DynMethod;
35
import org.gvsig.tools.dynobject.DynObject;
36
import org.gvsig.tools.dynobject.exception.DynMethodException;
37
import org.gvsig.tools.dynobject.exception.DynMethodNotSupportedException;
38

  
39
public class DXFGetLegend implements DynMethod {
40

  
41
    private static Integer code = null;
42

  
43
    static void register(DynClass dxfLegendDynClass) {
44
        if (code != null) {
45
            return;
46
        }
47
        code = ToolsLocator.getDynObjectManager()
48
                .registerDynMethod(dxfLegendDynClass, new DXFGetLegend());
49

  
50
    }
51

  
52
    @Override
53
    public int getCode() throws DynMethodNotSupportedException {
54
        return code;
55
    }
56

  
57
    @Override
58
    public String getDescription() {
59
        return "DXF Legend";
60
    }
61

  
62
    @Override
63
    public String getName() {
64
        return LegendBuilder.DYNMETHOD_GETLEGEND_NAME;
65
    }
66

  
67
    @Override
68
    public Object invoke(DynObject self, Object[] args)
69
            throws DynMethodException {
70
        try {
71
            return ((DXFStoreProvider) self).getLegend();
72
        } catch (OpenException e) {
73
            //FIXME
74
            throw new RuntimeException(e);
75
        }
76
    }
77

  
78
    @Override
79
    public Object clone() throws CloneNotSupportedException {
80
        return super.clone(); 
81
    }
82

  
83
}
0 84

  
org.gvsig.dxf/tags/org.gvsig.dxf-2.0.102/org.gvsig.dxf.provider/src/test/java/org/gvsig/fmap/dal/store/dxf/data/prueba.dxf
1
999
2
TRANSLATION BY geo.cresques.io.DxfFile
3
999
4
DATE : Thu Mar 13 09:56:42 CET 2008
5
  0
6
SECTION
7
  2
8
HEADER
9
  9
10
$ACADVER
11
  1
12
AC1015
13
  9
14
$INSBASE
15
 10
16
0.0
17
 20
18
0.0
19
 30
20
0.0
21
  9
22
$EXTMIN
23
 10
24
999999999.000000
25
 20
26
999999999.000000
27
 30
28
0.000000
29
  9
30
$EXTMAX
31
 10
32
-999999999.000000
33
 20
34
-999999999.000000
35
 30
36
0.000000
37
  9
38
$LIMMIN
39
 10
40
999999999.000000
41
 20
42
999999999.000000
43
  9
44
$LIMMAX
45
 10
46
-999999999.000000
47
 20
48
-999999999.000000
49
  9
50
$ORTHOMODE
51
 70
52
     0
53
  9
54
$REGENMODE
55
 70
56
     1
57
  9
58
$FILLMODE
59
 70
60
     1
61
  9
62
$QTEXTMODE
63
 70
64
     0
65
  9
66
$MIRRTEXT
67
 70
68
     1
69
  9
70
$DRAGMODE
71
 70
72
     2
73
  9
74
$LTSCALE
75
 40
76
1.0
77
  9
78
$OSMODE
79
 70
80
     0
81
  9
82
$ATTMODE
83
 70
84
     1
85
  9
86
$TEXTSIZE
87
 40
88
0.2
89
  9
90
$TRACEWID
91
 40
92
0.05
93
  9
94
$TEXTSTYLE
95
  7
96
STANDARD
97
  9
98
$CLAYER
99
  8
100
0
101
  9
102
$CELTYPE
103
  6
104
CONTINUOUS
105
  9
106
$CECOLOR
107
 62
108
   256
109
  9
110
$DIMSCALE
111
 40
112
1.0
113
  9
114
$DIMASZ
115
 40
116
0.18
117
  9
118
$DIMEXO
119
 40
120
0.0625
121
  9
122
$DIMDLI
123
 40
124
0.38
125
  9
126
$DIMRND
127
 40
128
0.0
129
  9
130
$DIMDLE
131
 40
132
0.0
133
  9
134
$DIMEXE
135
 40
136
0.18
137
  9
138
$DIMTP
139
 40
140
0.0
141
  9
142
$DIMTM
143
 40
144
0.0
145
  9
146
$DIMTXT
147
 40
148
0.18
149
  9
150
$DIMCEN
151
 40
152
0.09
153
  9
154
$DIMTSZ
155
 40
156
0.0
157
  9
158
$DIMTOL
159
 70
160
     0
161
  9
162
$DIMLIM
163
 70
164
     0
165
  9
166
$DIMTIH
167
 70
168
     1
169
  9
170
$DIMTOH
171
 70
172
     1
173
  9
174
$DIMSE1
175
 70
176
     0
177
  9
178
$DIMSE2
179
 70
180
     0
181
  9
182
$DIMTAD
183
 70
184
     0
185
  9
186
$DIMZIN
187
 70
188
     0
189
  9
190
$DIMBLK
191
  1
192

  
193
  9
194
$DIMASO
195
 70
196
     1
197
  9
198
$DIMSHO
199
 70
200
     1
201
  9
202
$DIMPOST
203
  1
204

  
205
  9
206
$DIMAPOST
207
  1
208

  
209
  9
210
$DIMALT
211
 70
212
     0
213
  9
214
$DIMALTD
215
 70
216
     2
217
  9
218
$DIMALTF
219
 40
220
25.4
221
  9
222
$DIMLFAC
223
 40
224
1.0
225
  9
226
$DIMTOFL
227
 70
228
     0
229
  9
230
$DIMTVP
231
 40
232
0.0
233
  9
234
$DIMTIX
235
 70
236
     0
237
  9
238
$DIMSOXD
239
 70
240
     0
241
  9
242
$DIMSAH
243
 70
244
     0
245
  9
246
$DIMBLK1
247
  1
248

  
249
  9
250
$DIMBLK2
251
  1
252

  
253
  9
254
$DIMSTYLE
255
  2
256
STANDARD
257
  9
258
$DIMCLRD
259
 70
260
     0
261
  9
262
$DIMCLRE
263
 70
264
     0
265
  9
266
$DIMCLRT
267
 70
268
     0
269
  9
270
$DIMTFAC
271
 40
272
1.0
273
  9
274
$DIMGAP
275
 40
276
0.09
277
  9
278
$LUNITS
279
 70
280
     2
281
  9
282
$LUPREC
283
 70
284
     4
285
  9
286
$AXISMODE
287
 70
288
     0
289
  9
290
$AXISUNIT
291
 10
292
0.0
293
 20
294
0.0
295
  9
296
$SKETCHINC
297
 40
298
0.1
299
  9
300
$FILLETRAD
301
 40
302
0.0
303
  9
304
$AUNITS
305
 70
306
     0
307
  9
308
$AUPREC
309
 70
310
     0
311
  9
312
$MENU
313
  1
314
acad
315
  9
316
$ELEVATION
317
 40
318
0.0
319
  9
320
$PELEVATION
321
 40
322
0.0
323
  9
324
$THICKNESS
325
 40
326
0.0
327
  9
328
$LIMCHECK
329
 70
330
     0
331
  9
332
$BLIPMODE
333
 70
334
     1
335
  9
336
$CHAMFERA
337
 40
338
0.0
339
  9
340
$CHAMFERB
341
 40
342
0.0
343
  9
344
$SKPOLY
345
 70
346
     0
347
  9
348
$TDCREATE
349
 40
350
2453116.436828704
351
  9
352
$TDUPDATE
353
 40
354
2453116.436828704
355
  9
356
$TDINDWG
357
 40
358
0.0000000000
359
  9
360
$TDUSRTIMER
361
 40
362
0.0000000000
363
  9
364
$USRTIMER
365
 70
366
     1
367
  9
368
$ANGBASE
369
 50
370
0.0
371
  9
372
$ANGDIR
373
 70
374
     0
375
  9
376
$PDMODE
377
 70
378
     0
379
  9
380
$PDSIZE
381
 40
382
0.0
383
  9
384
$PLINEWID
385
 40
386
0.0
387
  9
388
$COORDS
389
 70
390
     0
391
  9
392
$SPLFRAME
393
 70
394
     0
395
  9
396
$SPLINETYPE
397
 70
398
     6
399
  9
400
$SPLINESEGS
401
 70
402
    10
403
  9
404
$ATTDIA
405
 70
406
     0
407
  9
408
$ATTREQ
409
 70
410
     1
411
  9
412
$HANDLING
413
 70
414
     1
415
  9
416
$HANDSEED
417
  5
418
394B
419
  9
420
$SURFTAB1
421
 70
422
     6
423
  9
424
$SURFTAB2
425
 70
426
     6
427
  9
428
$SURFTYPE
429
 70
430
     6
431
  9
432
$SURFU
433
 70
434
     6
435
  9
436
$SURFV
437
 70
438
     6
439
  9
440
$UCSNAME
441
  2
442

  
443
  9
444
$UCSORG
445
 10
446
0.0
447
 20
448
0.0
449
 30
450
0.0
451
  9
452
$UCSXDIR
453
 10
454
1.0
455
 20
456
0.0
457
 30
458
0.0
459
  9
460
$UCSYDIR
461
 10
462
0.0
463
 20
464
1.0
465
 30
466
0.0
467
  9
468
$PUCSNAME
469
  2
470

  
471
  9
472
$PUCSORG
473
 10
474
0.0
475
 20
476
0.0
477
 30
478
0.0
479
  9
480
$PUCSXDIR
481
 10
482
1.0
483
 20
484
0.0
485
 30
486
0.0
487
  9
488
$PUCSYDIR
489
 10
490
0.0
491
 20
492
1.0
493
 30
494
0.0
495
  9
496
$USERI1
497
 70
498
     0
499
  9
500
$USERI2
501
 70
502
     0
503
  9
504
$USERI3
505
 70
506
     0
507
  9
508
$USERI4
509
 70
510
     0
511
  9
512
$USERI5
513
 70
514
     0
515
  9
516
$USERR1
517
 40
518
0.0
519
  9
520
$USERR2
521
 40
522
0.0
523
  9
524
$USERR3
525
 40
526
0.0
527
  9
528
$USERR4
529
 40
530
0.0
531
  9
532
$USERR5
533
 40
534
0.0
535
  9
536
$WORLDVIEW
537
 70
538
     1
539
  9
540
$SHADEDGE
541
 70
542
     3
543
  9
544
$SHADEDIF
545
 70
546
    70
547
  9
548
$TILEMODE
549
 70
550
     1
551
  9
552
$MAXACTVP
553
 70
554
    16
555
  9
556
$PINSBASE
557
 10
558
0.0
559
 20
560
0.0
561
 30
562
0.0
563
  9
564
$PLIMCHECK
565
 70
566
     0
567
  9
568
$PEXTMIN
569
 10
570
-1.000000E+20
571
 20
572
-1.000000E+20
573
 30
574
-1.000000E+20
575
  9
576
$PEXTMAX
577
 10
578
-1.000000E+20
579
 20
580
-1.000000E+20
581
 30
582
-1.000000E+20
583
  9
584
$PLIMMIN
585
 10
586
0.0
587
 20
588
0.0
589
  9
590
$PLIMMAX
591
 10
592
12.0
593
 20
594
9.0
595
  9
596
$UNITMODE
597
 70
598
     0
599
  9
600
$VISRETAIN
601
 70
602
     0
603
  9
604
$PLINEGEN
605
 70
606
     1
607
  9
608
$PSLTSCALE
609
 70
610
     0
611
  9
612
$TREEDEPTH
613
 70
614
  3020
615
  9
616
$DWGCODEPAGE
617
  3
618
ansi_1252
619
  0
620
ENDSEC
621
  0
622
SECTION
623
  2
624
TABLES
625
  0
626
TABLE
627
  2
628
VPORT
629
  5
630
     8
631
100
632
AcDbSymbolTable
633
 70
634
     0
635
  0
636
ENDTAB
637
  0
638
TABLE
639
  2
640
LTYPE
641
  5
642
     5
643
100
644
AcDbSymbolTable
645
 70
646
     1
647
  0
648
LTYPE
649
  5
650
    14
651
100
652
AcDbSymbolTableRecord
653
100
654
AcDbLinetypeTableRecord
655
  2
656
ByBlock
657
 70
658
     0
659
  3
660

  
661
 72
662
    65
663
 73
664
     0
665
 40
666
0.0000
667
  0
668
LTYPE
669
  5
670
    15
671
100
672
AcDbSymbolTableRecord
673
100
674
AcDbLinetypeTableRecord
675
  2
676
ByLayer
677
 70
678
     0
679
  3
680

  
681
 72
682
    65
683
 73
684
     0
685
 40
686
0.0000
687
  0
688
ENDTAB
689
  0
690
TABLE
691
  2
692
LAYER
693
  5
694
     2
695
100
696
AcDbSymbolTable
697
 70
698
     1
699
  0
700
LAYER
701
  5
702
    10
703
100
704
AcDbSymbolTableRecord
705
100
706
AcDbLayerTableRecord
707
  2
708
0
709
 70
710
     0
711
 62
712
     7
713
  6
714
CONTINUOUS
715
390
716
F
717
  0
718
ENDTAB
719
  0
720
TABLE
721
  2
722
STYLE
723
  5
724
     3
725
100
726
AcDbSymbolTable
727
 70
728
     0
729
  0
730
STYLE
731
  5
732
    11
733
100
734
AcDbSymbolTableRecord
735
100
736
AcDbTextStyleTableRecord
737
  2
738
Standard
739
 70
740
     0
741
 71
742
     0
743
 40
744
0.0000
745
 41
746
1.0000
747
 42
748
2.5000
749
 50
750
0.0000
751
  3
752
txt
753
  4
754

  
755
  0
756
ENDTAB
757
  0
758
TABLE
759
  2
760
VIEW
761
  5
762
     6
763
100
764
AcDbSymbolTable
765
 70
766
     0
767
  0
768
ENDTAB
769
  0
770
TABLE
771
  2
772
UCS
773
  5
774
     7
775
100
776
AcDbSymbolTable
777
 70
778
     0
779
  0
780
ENDTAB
781
  0
782
TABLE
783
  2
784
APPID
785
  5
786
     9
787
100
788
AcDbSymbolTable
789
 70
790
     1
791
  0
792
APPID
793
  5
794
    12
795
100
796
AcDbSymbolTableRecord
797
100
798
AcDbRegAppTableRecord
799
  2
800
ACAD
801
 70
802
     1
803
  0
804
ENDTAB
805
  0
806
TABLE
807
  2
808
DIMSTYLE
809
  5
810
A
811
100
812
AcDbSymbolTable
813
 70
814
     0
815
100
816
AcDbDimStyleTable
817
  0
818
ENDTAB
819
  0
820
TABLE
821
  2
822
BLOCK_RECORD
823
  5
824
     1
825
100
826
AcDbSymbolTable
827
 70
828
     1
829
  0
830
BLOCK_RECORD
831
  5
832
1F
833
100
834
AcDbSymbolTableRecord
835
100
836
AcDbBlockTableRecord
837
  2
838
*Model_Space
839
340
840
22
841
  0
842
BLOCK_RECORD
843
  5
844
1B
845
100
846
AcDbSymbolTableRecord
847
100
848
AcDbBlockTableRecord
849
  2
850
*Paper_Space
851
340
852
1E
853
  0
854
BLOCK_RECORD
855
  5
856
23
857
100
858
AcDbSymbolTableRecord
859
100
860
AcDbBlockTableRecord
861
  2
862
*Paper_Space0
863
340
864
26
865
  0
866
ENDTAB
867
  0
868
ENDSEC
869
  0
870
SECTION
871
  2
872
BLOCKS
873
  0
874
BLOCK
875
  5
876
20
877
100
878
AcDbEntity
879
  8
880
0
881
100
882
AcDbBlockBegin
883
  2
884
*Model_Space
885
 70
886
     0
887
 10
888
0.0000
889
 20
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff