Arrows¶
This module provides support for the AutoCAD standard arrow heads used in
DIMENSION, LEADER and MULTILEADER entities. Library user don’t have to use the
ARROWS
objects directly, but should know the arrow names stored in it as
attributes. The arrow names should be accessed that way:
import ezdxf
arrow = ezdxf.ARROWS.closed_filled
- class ezdxf.render.arrows._Arrows¶
Management object for standard arrows.
- __acad__¶
Set of AutoCAD standard arrow names.
- __ezdxf__¶
Set of arrow names special to ezdxf.
- architectural_tick¶
- closed_filled¶
- dot¶
- dot_small¶
- dot_blank¶
- origin_indicator¶
- origin_indicator_2¶
- open¶
- right_angle¶
- open_30¶
- closed¶
- dot_smallblank¶
- none¶
- oblique¶
- box_filled¶
- box¶
- closed_blank¶
- datum_triangle_filled¶
- datum_triangle¶
- integral¶
- ez_arrow¶
- ez_arrow_blank¶
- ez_arrow_filled¶
- is_acad_arrow(item: str) bool ¶
Returns
True
if item is a standard AutoCAD arrow.
- is_ezdxf_arrow(item: str) bool ¶
Returns
True
if item is a special ezdxf arrow.
- insert_arrow(layout: GenericLayoutType, name: str, insert: UVec = NULLVEC, size: float = 1.0, rotation: float = 0, *, dxfattribs=None) Vec2 ¶
Insert arrow as block reference into layout.
- render_arrow(layout: GenericLayoutType, name: str, insert: UVec = NULLVEC, size: float = 1.0, rotation: float = 0, *, dxfattribs=None) Vec2 ¶
Render arrow as basic DXF entities into layout.
- virtual_entities(name: str, insert: UVec = NULLVEC, size: float = 0.625, rotation: float = 0, *, dxfattribs=None) Iterator[DXFGraphic] ¶
Returns all arrow components as virtual DXF entities.