semvec/pypi-packages huggingface dataset:
plana-figura 100.30
A 2D geometry library for surveying and CAD applications
License: MIT
Requires Python: >=3.10
Keywords: geometry, surveying, CAD, 2D, GIS

# Plana Figura

A 2D geometry library for surveying and CAD applications.

## Features

- **Core Geometry Types**: Points, LineSegments, CircularArcs, Polylines, and Polygons
- **Surveyor's Tools**: Directions, angles (DMS format), vectors, and measurements
- **Spatial Operations**: Intersections, distance calculations, point-in-polygon tests
- **I/O Support**: SLPTF, XML, and DXF file formats
- **Workbench GUI**: Full-featured desktop application with Map View, Geometry Organizer, and Measurement Manager

## Installation

```bash
pip install plana-figura
```

## Quick Start

```python
from plana_figura import Point, LineSegment, CircularArc

# Create points
p1 = Point(0, 0)
p2 = Point(100, 100)

# Create a line segment
line = LineSegment(p1, p2)

# Get line properties
print(f"Length: {line.length}")
print(f"Direction: {line.direction}")
```

## Running the Workbench

```bash
python -m plana_figura_workbench
```

## Requirements

- Python 3.10+
- numpy
- rtree
- ttkbootstrap
- pillow

## License

MIT License