LuaRocks.org had a security incident in September 2026. Read the incident report.

dxf-geometry

Zero-dependency Lua library for 2D CAD and DXF geometry metrics and RDP simplification

$ luarocks install dxf-geometry

Pure-math Lua module for 2D CAD and DXF geometry calculations including
polyline perimeter, shoelace polygon area, raster DPI-to-millimeter calibration,
1:N architectural drawing scale conversion, Ramer-Douglas-Peucker simplification,
and minimal ASCII DXF LWPOLYLINE formatting.

Online image-to-CAD reference: https://imgtocad.com/

Versions

0.1.0-12 hours ago0 downloads

Dependencies

lua >= 5.1

Manifests