Statistics
| Revision:

root / trunk / libraries / libDwg / doc / technical_specs.txt @ 10222

History | View | Annotate | Download (2.2 KB)

1 2896 jmorell
jdwglib Technical Specifications
2
3
Overview
4
5
The Java DWG Library (jdwglib) is a Java libray designed for reading, handling and
6
writing drawing files in the Autodesk DWG format. This document is the design
7
specification for the classes, methods and algorithms implemented in the Java DWG
8
Library.
9
10
jdwglib has two different parts, first for DWG file accesing, and second for DWG file
11
handling. The part for accesing DWG files support the reading of DWG files and in
12
future versions we hope that writing of DWG files will be supported too. The part for
13
handling DWG files is designed for managing DWG complex objects like polylines or
14
blocks with the objective that the spatial position and the attributes of DWG objects
15
will be definitive and no one operation is required for obtaining the same results
16
that Autocad.
17
18
The detailed documentation of the class hierarchy and methods will be presented in the
19
form of JavaDoc for the source code.
20
21
22
Other resources
23
24
- Pythoncad DWG Library by Art Haas (www.pythoncad.org). The part of jdwglib that reads
25
  DWG files is a port of this library with an object oriented model added.
26
27
- The AutoCAD R13/R14/R2000 DWG File Specification by the OpenDWG Alliance. This is the
28
  public specification of the DWG format obtained using reverse engineering methods by
29
  the OpenDWG Alliance (www.opendwg.org).
30
31
32
Design goals
33
34
The design of jdwglib is intended to fulfil the following goals:
35
36
- jdwglib must return the definitive set of DWG objects. Geometric and
37
  non geometric attributes of these objects will be enough for its correct and complete
38
  representation.
39
40
- The jdwglib interface must be easy to use, even by someone that hasn't advanced
41
  CAD knowledge.
42
43
- jdwglib will be fast enough to be used in a production environment.
44
45
- The algorithms and code used in jdwglib will be clear and well-structured, to
46
  facilitate understanding by other developers.
47
48
49
Object model
50
51
The package javacad.util contains some general classes that are useful for handling
52
DWG objects and other objects in a GIS environment. Their use is described in the
53
JavaDoc documentation.
54
55
The package jdwglib contains the classes for reading and managing DWG files and its
56
objects. Their use is described in the JavaDoc documentation.
57