Surface

SURFACE (DXF Reference) created by an ACIS based geometry kernel provided by the Spatial Corp.

ezdxf will never interpret ACIS source code, don’t ask me for this feature.

Subclass of

ezdxf.entities.Body

DXF type

'SURFACE'

Factory function

ezdxf.layouts.BaseLayout.add_surface()

Inherited DXF attributes

Common graphical DXF attributes

Required DXF version

DXF R2000 ('AC1015')

Warning

Do not instantiate entity classes by yourself - always use the provided factory functions!

class ezdxf.entities.Surface

Same attributes and methods as parent class Body.

dxf.u_count

Number of U isolines.

dxf.v_count

Number of V2 isolines.

ExtrudedSurface

(DXF Reference)

Subclass of

ezdxf.entities.Surface

DXF type

'EXTRUDEDSURFACE'

Factory function

ezdxf.layouts.BaseLayout.add_extruded_surface()

Inherited DXF attributes

Common graphical DXF attributes

Required DXF version

DXF R2007 ('AC1021')

class ezdxf.entities.ExtrudedSurface

Same attributes and methods as parent class Surface.

dxf.class_id
dxf.sweep_vector
dxf.draft_angle
dxf.draft_start_distance
dxf.draft_end_distance
dxf.twist_angle
dxf.scale_factor
dxf.align_angle
dxf.solid
dxf.sweep_alignment_flags

0

No alignment

1

Align sweep entity to path

2

Translate sweep entity to path

3

Translate path to sweep entity

dxf.align_start
dxf.bank
dxf.base_point_set
dxf.sweep_entity_transform_computed
dxf.path_entity_transform_computed
dxf.reference_vector_for_controlling_twist
transformation_matrix_extruded_entity

type: Matrix44

sweep_entity_transformation_matrix

type: Matrix44

path_entity_transformation_matrix

type: Matrix44

LoftedSurface

(DXF Reference)

Subclass of

ezdxf.entities.Surface

DXF type

'LOFTEDSURFACE'

Factory function

ezdxf.layouts.BaseLayout.add_lofted_surface()

Inherited DXF attributes

Common graphical DXF attributes

Required DXF version

DXF R2007 ('AC1021')

class ezdxf.entities.LoftedSurface

Same attributes and methods as parent class Surface.

dxf.plane_normal_lofting_type
dxf.start_draft_angle
dxf.end_draft_angle
dxf.start_draft_magnitude
dxf.end_draft_magnitude
dxf.arc_length_parameterization
dxf.no_twist
dxf.align_direction
dxf.simple_surfaces
dxf.closed_surfaces
dxf.solid
dxf.ruled_surface
dxf.virtual_guide
set_transformation_matrix_lofted_entity

type: Matrix44

RevolvedSurface

(DXF Reference)

Subclass of

ezdxf.entities.Surface

DXF type

'REVOLVEDSURFACE'

Factory function

ezdxf.layouts.BaseLayout.add_revolved_surface()

Inherited DXF attributes

Common graphical DXF attributes

Required DXF version

DXF R2007 ('AC1021')

class ezdxf.entities.RevolvedSurface

Same attributes and methods as parent class Surface.

dxf.class_id
dxf.axis_point
dxf.axis_vector
dxf.revolve_angle
dxf.start_angle
dxf.draft_angle
dxf.start_draft_distance
dxf.end_draft_distance
dxf.twist_angle
dxf.solid
dxf.close_to_axis
transformation_matrix_revolved_entity

type: Matrix44

SweptSurface

(DXF Reference)

Subclass of

ezdxf.entities.Surface

DXF type

'SWEPTSURFACE'

Factory function

ezdxf.layouts.BaseLayout.add_swept_surface()

Inherited DXF attributes

Common graphical DXF attributes

Required DXF version

DXF R2007 ('AC1021')

class ezdxf.entities.SweptSurface

Same attributes and methods as parent class Surface.

dxf.swept_entity_id
dxf.path_entity_id
dxf.draft_angle
draft_start_distance
dxf.draft_end_distance
dxf.twist_angle
dxf.scale_factor
dxf.align_angle
dxf.solid
dxf.sweep_alignment
dxf.align_start
dxf.bank
dxf.base_point_set
dxf.sweep_entity_transform_computed
dxf.path_entity_transform_computed
dxf.reference_vector_for_controlling_twist
transformation_matrix_sweep_entity

type: Matrix44

transformation_matrix_path_entity()

type: Matrix44

sweep_entity_transformation_matrix()

type: Matrix44

path_entity_transformation_matrix()

type: Matrix44