Libopencad

Jul 20, 2023

Library which provides a way to read/write CAD (DWG/DXF/DXFB) files

Libopencad is a library written in C++11, which provides a way to read/write CAD DWG/DXF/DXFB files. It was designed to have a uniformal API to work with any CAD files.

It has a base class - CADFile.

Inheriting this class it’s possible to create a driver for any CAD format, all you need to do - is to overwrite interface functions like GetGeometryindex, and others.

Now it has an implementation for DWG2000 R15, but only for read.

Library comes with cadinfo utility, which prints out everything library can get from file - header variables, CAD custom classes, presented layers and geometries with their attributes.



Checkout these related ports:
  • Zcad - Simple CAD program
  • Z88 - Compact Finite Element Analysis System
  • Yosys - Yosys Open SYnthesis Suite
  • Yosys-systemverilog - SystemVerilog support for Yosys
  • Xyce - Xyce electronic simulator
  • Xcircuit - X11 circuit schematics drawing program
  • Veryl - Veryl A modern Hardware Description Language (HDL)
  • Veroroute - PCB (printed circuit board) design software
  • Verilog-mode.el - Emacs lisp modules for the Verilog language
  • Verilator - Synthesizable Verilog to C++ compiler
  • Uranium - Python framework for 3D printing applications
  • Uhdm - Universal Hardware Data Model
  • Tochnog - Free explicit/implicit Finite Element Program
  • Tkgate - Event driven digital circuit simulator
  • Sweethome3d - Free interior 3D design application