Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dxf calculations #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

usamamasood01
Copy link

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
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