ducpy¶
Python library for the DUC 2D CAD file format.
- Usage:
import ducpy as duc- Builders API (High-level):
The easy way to build, manage
.ducfiles. Construct elements, apply styles, manage layers, build blocks, and handle document state with theduc.buildersmodule.- SQL Builder (Low-level):
A
.ducfile is a zlib-compressed SQLite database. Useduc.builders.sql_builderfor direct schema access, bulk queries, and low-level manipulation.- Search:
Query/search elements and files programmatically via the
duc.searchAPI.- File I/O:
Read and write
.ducfiles using theduc.parseandduc.serializemodules.