digi21.base
Core Digi3D.AI types. This package does not open or create files; use digi21.io for that.
import digi21.base
from digi21.base import Point, Line, Polygon, FeatureCode, DigiTab, Camera
Classes
| Class | Description |
|---|---|
| FeatureCode | Digi3D.AI code |
| DigiTab | Code table (digi.tab) |
| DigiTabNode | Code table node |
| Geometry | Base class for all geometries |
| Point | Point |
| Text | Text |
| Line | Polyline |
| Polygon | Polygon (closed line with holes) |
| Complex | Complex entity grouping geometries |
| Camera | Camera (position, rotations, projection) |
| DrawingFile | Open drawing file (returned by open in digi21.io) |
| DrawingWriter | Drawing file being written (returned by create in digi21.io) |
Enumerations
| Enumeration | Description |
|---|---|
| TextJustification | Text justification |
| PointLineRelativePosition | Point position relative to a line |
| StandardViewpoint | Standard camera viewpoint |