Skip to content

dxf calculations#62

Open
usamamasood01 wants to merge 1 commit into
vagran:masterfrom
usamamasood01:dxf-calculations
Open

dxf calculations#62
usamamasood01 wants to merge 1 commit into
vagran:masterfrom
usamamasood01:dxf-calculations

Conversation

@usamamasood01
Copy link
Copy Markdown

Following calculations of dxf

  • area of polygon
  • minimum cut count
  • cut length

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

@vagran
Copy link
Copy Markdown
Owner

vagran commented Jul 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants