Skip to main content

A 2D geometry library for surveying and CAD applications

Project description

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

pip install plana-figura

Quick Start

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

python -m plana_figura_workbench

Requirements

  • Python 3.10+
  • numpy
  • rtree
  • ttkbootstrap
  • pillow

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plana_figura-100.30-py3-none-any.whl (286.2 kB view details)

Uploaded Python 3

File details

Details for the file plana_figura-100.30-py3-none-any.whl.

File metadata

  • Download URL: plana_figura-100.30-py3-none-any.whl
  • Upload date:
  • Size: 286.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.3

File hashes

Hashes for plana_figura-100.30-py3-none-any.whl
Algorithm Hash digest
SHA256 62a2f911c70bde04dd8e6f0c77edd27c05094d75aadd5e3dea9b87c67080e918
MD5 3eaa98c8dcc082a2d411d666ff96a184
BLAKE2b-256 1e56f4291e6db6e6dd33e6986ea171f6950e47f9d60910903ff4d63cbf5c9e04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page