You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Extended data group codes and descriptions (continued)<br />
Entity name Group code Description<br />
Scale factor 1042 Also a real value that is scaled along with the parent. The difference<br />
between a distance and a scale factor is application-defined<br />
Integer 1070 A 16-bit integer (signed or unsigned)<br />
Long 1071 A 32-bit signed (long) integer<br />
Object Coordinate Systems (OCS)<br />
To save space in the drawing database (and in the DXF file), the points<br />
associated with each entity are expressed in terms of the entity’s own object<br />
coordinate system (OCS). The OCS was referred to as ECS in previous releases<br />
of AutoCAD. With OCS, the only additional information needed to describe<br />
the entity’s position in 3D space is the 3D vector describing the Z axis of the<br />
OCS, and the elevation value.<br />
For a given Z axis (or extrusion) direction, there are an infinite number of<br />
coordinate systems, defined by translating the origin in 3D space and by<br />
rotating the X and Y axes around the Z axis. However, for the same Z axis<br />
direction, there is only one OCS. It has the following properties:<br />
■<br />
■<br />
Its origin coincides with the WCS origin.<br />
The orientation of the X and Y axes within the XY plane are calculated in<br />
an arbitrary but consistent manner. AutoCAD performs this calculation<br />
using the arbitrary axis algorithm (see “Arbitrary Axis Algorithm” on page<br />
175).<br />
For some entities, the OCS is equivalent to the WCS and all points (DXF<br />
groups 10–37) are expressed in world coordinates. See the following table.<br />
Coordinate systems associated with an entity type<br />
Entities<br />
Notes<br />
3D entities such as line, point,<br />
3dface, 3D polyline, 3D vertex,<br />
3D mesh, 3D mesh vertex<br />
These entities do not lie in a particular plane. All points<br />
are expressed in world coordinates. Of these entities,<br />
only lines and points can be extruded. Their extrusion<br />
direction can differ from the world Z axis<br />
Object Coordinate Systems (OCS) | 173