Author Topic: DXF TO CUT LENGTH FOR LASER  (Read 11586 times)

0 Members and 1 Guest are viewing this topic.

pvwahla

  • Guest
DXF TO CUT LENGTH FOR LASER
« on: January 26, 2020, 07:04:59 PM »
Hi Everyone

I am looking for a solution to export cut length and number of pierces from dxf file to excel file please. This is for my laser cutting start up and to calculate the cost I need to know the cut length. The main idea is to link some program to the website so people can drag and drop their dxf files, select type of material and thickness - software in the background will do the calculation and give an instant quote. To achieve that the basic information that i would need from any dxf files is - Cut length and number of pierces in that dxf files. Is there any possible solution please to get that information ?

57gmc

  • Bull Frog
  • Posts: 358
Re: DXF TO CUT LENGTH FOR LASER
« Reply #1 on: January 28, 2020, 11:49:11 AM »
Not with VBA. You would need to develop with .NET. I would recommend the FORGE platform for web development.

BIGAL

  • Swamp Rat
  • Posts: 1398
  • 40 + years of using Autocad
Re: DXF TO CUT LENGTH FOR LASER
« Reply #2 on: February 03, 2020, 12:53:15 AM »
Disagree not a problem heaps of solutions out there for length of objects, Lisp, dataextraction, VBA, .NET.

"export cut length and number of pierces from dxf file to excel file please" Just google will get more than enough responses.

Just find one that is close, various objects can have a length, a circle a circumference and so on.

 If its primitives it will be easy, Line,arc,circle,pline and so on. The only issue I see is blocks and hatches in your dxf.Hatches what do you do ?

Make a list with two values (("circle" 28)("pline" 54)………… sort the list and can total by object type and so on.

I have stuff written in VBA like 10 years ago that totals lengths.
« Last Edit: February 03, 2020, 12:57:00 AM by BIGAL »
A man who never made a mistake never made anything

BIGAL

  • Swamp Rat
  • Posts: 1398
  • 40 + years of using Autocad
Re: DXF TO CUT LENGTH FOR LASER
« Reply #3 on: February 03, 2020, 12:58:45 AM »
This is like two topics down a starting point directly to excel.

http://www.theswamp.org/index.php?topic=46487.0
A man who never made a mistake never made anything