dxf-viewer icon indicating copy to clipboard operation
dxf-viewer copied to clipboard

dxf calculations

Open usamamasood01 opened this issue 1 year ago • 1 comments

Following calculations of dxf

  • area of polygon
  • minimum cut count
  • cut length

This calculation helps with the working and estimations of Metal Laser Cutting

usamamasood01 avatar May 13 '23 16:05 usamamasood01

This sounds like an application which may be built on top of this library, which is just DXF renderer. Other problem is that currently the library discards all information about initial DXF geometry, when compiling rendering batches, so it is quite impossible to do this by current public API (there is an option to preserve parse result but it is quite low-level information to use it directly), this is a subject for future improvements. So in any case this type of functionality is out of scope of this library, and should be implemented in a particular application on top of it. For now you can proceed with your own fork of the library to gather all necessary data for calculations in your application (as I understand, you already did it). I will consider this use case in next library versions, when new API will be designed.

vagran avatar Jul 14 '23 08:07 vagran