LibreDWG - News: libredwg-0.12 released
libredwg-0.12 released
Item posted by Reini Urban <reini_urban> on Thu 31 Dec 2020 05:16:59 PM UTC.
New add API to easily create new DWGs (or DXFs) from scratch, for CAD programs.
New dwgadd helper.
Removed deprecated old API functions.
New features:
* Add a new experimental dwg_add_ENTITY/OBJECT API for easier CAD write support,
starting with GauchoCAD and SolveSpace. Most entities and some objects.
Similar to the VBA interface and object model, just with our names.
* cmake support enhanced to programs and LTO. Should be usable now by its own,
but MSVC is untested.
* Add a new experimental dwgadd helper, to create fresh DWG's easily from scratch.
* Added support for many more object/entity types:
Now stable: ACSH_CONE_CLASS ACSH_TORUS_CLASS BLOCKALIGNMENTPARAMETER
BLOCKALIGNMENTGRIP BLOCKLOOKUPGRIP BLOCKROTATIONGRIP
Now unstable:
ALDIMOBJECTCONTEXTDATA ASSOC2DCONSTRAINTGROUP ASSOCACTIONPARAM
ASSOCARRAYACTIONBODY ASSOCARRAYMODIFYPARAMETERS
ASSOCARRAYPATHPARAMETERS ASSOCARRAYPOLARPARAMETERS
ASSOCARRAYRECTANGULARPARAMETERS ASSOCASMBODYACTIONPARAM
ASSOCCOMPOUNDACTIONPARAM ASSOCDIMDEPENDENCYBODY ASSOCFACEACTIONPARAM
ASSOCOBJECTACTIONPARAM ASSOCOSNAPPOINTREFACTIONPARAM
ASSOCPATHACTIONPARAM ASSOCPOINTREFACTIONPARAM ASSOCVARIABLE
ASSOCVERTEXACTIONPARAM BLKREFOBJECTCONTEXTDATA
BLOCKALIGNEDCONSTRAINTPARAMETER BLOCKANGULARCONSTRAINTPARAMETER
BLOCKARRAYACTION BLOCKDIAMETRICCONSTRAINTPARAMETER
BLOCKHORIZONTALCONSTRAINTPARAMETER BLOCKLINEARCONSTRAINTPARAMETER
BLOCKLOOKUPACTION BLOCKLOOKUPPARAMETER BLOCKPARAMDEPENDENCYBODY
BLOCKPOINTPARAMETER BLOCKPOLARGRIP BLOCKPOLARPARAMETER
BLOCKPOLARSTRETCHACTION BLOCKRADIALCONSTRAINTPARAMETER
BLOCKREPRESENTATION BLOCKSTRETCHACTION BLOCKUSERPARAMETER
BLOCKVERTICALCONSTRAINTPARAMETER BLOCKXYGRIP DATALINK EVALUATION_GRAPH
FCFOBJECTCONTEXTDATA GRADIENT_BACKGROUND GROUND_PLANE_BACKGROUND
IBL_BACKGROUND IMAGE_BACKGROUND LEADEROBJECTCONTEXTDATA
MTEXTOBJECTCONTEXTDATA PARTIAL_VIEWING_FILTER PARTIAL_VIEWING_INDEX
PLANESURFACE POINTCLOUD POINTCLOUDCOLORMAP POINTCLOUDDEF
POINTCLOUDDEFEX POINTCLOUDDEF_REACTOR POINTCLOUDDEF_REACTOR_EX
POINTCLOUDEX RENDERENTRY RENDERENVIRONMENT RENDERGLOBAL
SKYLIGHT_BACKGROUND SOLID_BACKGROUND TEXTOBJECTCONTEXTDATA
Debugging changes: Renamed ATEXT to ARCALIGNEDTEXT,
Added POLARGRIPENTITY.
* Added dwg_obj_generic_handlevalue(), dwg_obj_generic_dwg(),
API breaking changes:
* Disable old deprecated functional API, all object-specific field getters
and setters. Re-enable with -DUSE_DEPRECATED_API
* Renamed UNDERLAY to {PDF,DGN,DWF}UNDERLAY and likewise PDFDEFINITION, ...
* Disable static for Windows. This shrinks the released Windows zip file
from 41MB to 24MB. The 0.10.1 had 20MB, 0.6.1 15MB.
Minor features:
* fix more C++ compatiblity: restrict is __restrict, disable __nonnull.
Now successfully used in SolveSpace.
* Add gperf hash tables for all objects and dxfclasses, for faster lookup
dxfnames to create classes, and object names with most properties.
Previously lookup was linear, now constant. Needs also less memory.
Simplified API: dwg_obj_generic_parent(), dwg_ent_generic_parent() to take void.
* Added public geometry helpers: dwg_geom_angle_normalize(), dwg_geom_normalize(),
dwg_geom_cross(), dwg_geom_transform_OCS()
Major bugfixes:
* Enable python shared lib, add -no-undefined and PYTHON_LIBS.
Here are the compressed sources:
http://ftp.gnu.org/gnu/libredwg/libredwg-0.12.tar.gz (17.4 MB)
http://ftp.gnu.org/gnu/libredwg/libredwg-0.12.tar.xz (9 MB)
Here are the GPG detached signatures[*]:
http://ftp.gnu.org/gnu/libredwg/libredwg-0.12.tar.gz.sig
http://ftp.gnu.org/gnu/libredwg/libredwg-0.12.tar.xz.sig
Use a mirror for higher download bandwidth:
https://www.gnu.org/order/ftp.html
Here are more binaries:
https://github.com/LibreDWG/libredwg/releases/tag/0.12
Here are the SHA256 checksums:
fe35c931529c1bdbc2d5d1d7ca3dff2d70615271f8f7b77318b9a20873e7fe0e libredwg-0.12.tar.gz
a85573cd100d303e01b7e75bb80d7b87d927a4c7c017848c0998aa11ffa3aa7c libredwg-0.12.tar.xz
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify libredwg-0.12.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys B4F63339E65D6414
and rerun the 'gpg --verify' command.
Powered by Savane 3.14-8aba.
Corresponding source code