File: arcdim.rst

package info (click to toggle)
ezdxf 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104,528 kB
  • sloc: python: 182,341; makefile: 116; lisp: 20; ansic: 4
file content (57 lines) | stat: -rw-r--r-- 1,467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
ArcDimension
============

.. module:: ezdxf.entities
    :noindex:

The ARC_DIMENSION entity was introduced in DXF R2004 and is **not** documented
in the DXF reference.

.. seealso::

    :ref:`tut_arc_dimension`

======================== ==========================================
Subclass of              :class:`ezdxf.entities.Dimension`
DXF type                 ``'ARC_DIMENSION'``
factory function         - :meth:`~ezdxf.layouts.BaseLayout.add_arc_dim_3p`
                         - :meth:`~ezdxf.layouts.BaseLayout.add_arc_dim_cra`
                         - :meth:`~ezdxf.layouts.BaseLayout.add_arc_dim_arc`
Inherited DXF attributes :ref:`Common graphical DXF attributes`
Required DXF version     R2004 / AC1018
======================== ==========================================

.. warning::

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

.. class:: ArcDimension

    .. attribute:: dxf.defpoint2

        start point of first extension line in :ref:`OCS`

    .. attribute:: dxf.defpoint3

        start point of second extension line in :ref:`OCS`

    .. attribute:: dxf.defpoint4

        center point of arc in :ref:`OCS`

    .. attribute:: dxf.start_angle

    .. attribute:: dxf.end_angle

    .. attribute:: dxf.is_partial

    .. attribute:: dxf.has_leader

    .. attribute:: dxf.leader_point1

    .. attribute:: dxf.leader_point2

    .. attribute:: dimtype

        Returns always ``8``.