CPLwriteDXF
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Import/Export
Introduced first in SolidGeometry 5.0, Creation date: 2021-01-25, Last change: 2025-09-15
writes a 2D DXF File from a CPL
Description
Developed using LibreCad 2.1.3
Thanks to Konstantin Struebig for his help using inkscape and autodesk fusion for testing the files.
This function works in correlation with CPL2DXF and the first contur has the id 4D (77dec) per default
Konstantin Struebig also recommends the company LST Laserschneidtechnik GmbH, Carl-von-Linde-Str. 19, 85748 Garching b. Muenchen. Tel. 089-3684977-0 or info@lst-gmbh.com. Stahl up to 20mm, stainless steel up to 15mm, aluminum up to 10mm, plates up to a maximum of 2m x 4m. Prices: Set-up costs (Jan 2021) 25 Euro/plate, material 5mm x 65 x 30 approx. 2 Euro, 2.5mm 45 x 30 approx. 1 Euro.
See Also: CPLwriteSVG
, CPL2DXF
Example Illustration
Syntax
[fname,text]=CPLwriteDXF([CPL,fname,fcl])
Input Parameter
CPL: | | CPL |
fname: | | optional file name for write; default path is desktop |
fcl: | | force contour close; default is true |
Output Parameter
fname: | | filename of DXF file |
text: | | written text in file |
Examples
CPLwriteDXF(PLcircle(100))
CPLwriteDXF(CPLsample(21))
References
Martin Margreiter (2008): "Visualization and Processing of Building Structures for Person Flow Simulations', Bachelor Thesis in Computation in Engineering, FAKULTÄT FÜR BAUINGENIEUR- UND VERMESSUNGSWESEN, TECHNICAL UNIVERSITY OF MUNICH
Copyright 2021-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21