File::DXF /

Filename Size Date modified Message
66 B
18.0 KB
0 B
3.4 KB
300 B
2.6 KB
3.0 KB
1.3 KB

A useful but incomplete library with some tools for manipulating DXF files. - Dump coordinates of CIRCLE, POINT and TEXT entities. - Take a list of coordinates and create DXF POINTS. - Assign integer values to coordinates. - Perform a 3D homography transformation to all coordinates. - Randomise coordinates. - Perform a 3D shear transformation to all coordinates. - Perform a 3D scale transformation to all coordinates. - Perform a 3D translation transformation to all coordinates. - Assign numeric value of TEXT content to Z coordinate of each TEXT entity. - Convert all POINT entities to CIRCLE. - Join multiple DXF files, latest duplicate BLOCK is preserved. - Dump DXF BLOCKS as separate DXF files. - explode/bind all BLOCK instances in a DXF file. - Convert mesh surfaces and BLOCKS containing surfaces to COLLADA. - Convert a mesh surface into STAAD format. - Convert a mesh into Stanford triangle PLY polygon format. - Convert one or more meshes to an STL mesh. - Convert a mesh to a Steel Detailing Neutral Format SDNF file. - Convert one or more meshes to a RenderMan RIB file. - Convert an ASCII STL to a DXF of 3DFACE entities. - Join three or four sided 3DFACE entitities into a surface mesh. - Join multiple triangular meshes into a single mesh. - Converts a mesh into LINE. - Converts a series of curved POLYLINE into a rectangular mesh. - Converts a rectangular mesh POLYLINE into a triangular mesh. - Converts a series simple three or four point splines to a rectanagular mesh. - Takes a mesh of triangles and splits into pairs of triangles. - Calculate surface area, volume and centroids of meshes. - Unrolls a developable 3D mesh to 2D. - Tries to create a developable surface from arbitrary splines. - Converts quadratic or cubic POLYLINE curves to simple POLYLINE. - Maps vector artwork between two mesh surfaces with the same topology. - Conformal straightening of meshes.


To install this module type the following:

   perl Makefile.PL
   make test
   make install


This module requires these other modules and libraries:

  None at the moment, just perl 5.010 or newer.


Put the correct copyright and licence information here.

Copyright (C) 1993-2012 by Bruno Postle

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.10.1 or,
at your option, any later version of Perl 5 you may have available.