Surfaces

autocad_entity: autocad_surface

Features with this value are used to store several AutoCAD entities including face, region, polygon mesh, polyface mesh, or surface entities. Extruded, planar, revolved, lofted, and swept surfaces are represented as autocad_surface, which may contain multiple unconnected surfaces, each of which is composed of faces, which may or may not be planar. This value is used by both the reader and the writer.

Surfaces support appearances, but only one appearance per surface. For two-sided surfaces, the writer will split the surface into one surface per side. Furthermore, only subdivision mesh entities support textured appearances. Subdivision meshes will preferentially be written from surfaces with textured appearances. (Textured appearances are only supported by RealDWG.)

For writing, all 3D surface geometry types are supported. Any types of 3D geometry which are not directly supported as entities are decomposed into triangulated mesh representation prior to writing.

Attribute Name

Content

autocad_subdmesh_base_faces

This is used by the Reader only and indicates the number of faces in a subdivision mesh at the base smoothness level of 0.

A 32 bit integer value. Default: None

autocad_subdmesh_base_vertices

This is used by the Reader only and indicates the number of vertices in a subdivision mesh at the base smoothness level of 0.

A 32 bit integer value. Default: None

autocad_subdmesh_smooth_level

This is used by the Reader only and indicates the smoothness level of a subdivision mesh. A value of 0 represents the base smoothness of the mesh geometry and higher values indicate greater subdivisions which increase smoothness.

0-4. Default: 0

autocad_subdmesh_smoothed_faces

This is used by the Reader only and indicates the number of faces in a subdivision mesh at the current smoothness level.

A 32 bit integer value. Default: None

autocad_subdmesh_smoothed_vertices

This is used by the Reader only and indicates the number of vertices in a subdivision mesh at the current smoothness level.

A 32 bit integer value. Default: None

autocad_subdmesh_watertight

This is used by the Reader only and indicates whether a subdivision mesh is watertight, based on adjacent polygons sharing common vertices.

Yes | No. Default: None