Benbox Laser DIY Machines

Software => Convert2DXF => Topic started by: Agastar on September 20, 2016, 07:54:10 PM

Title: Convert2DXF Windows Application
Post by: Agastar on September 20, 2016, 07:54:10 PM
Here is the first alpha release of the Convert2DXF windows application for converting PDF files to DXF.

Please read the readme.txt file in the zip for instructions on how to use the application. If you have any issues with the application please let me know here in this thread.

Currently there is no installer. You simply need to extract the contents of the zip to a location of your choice and have .net framework 4.0 installed which should be on your system by default. If you don't have the dot net framework 4.0 installed, you can install it from here. https://www.microsoft.com/en-us/download/details.aspx?id=17851 (https://www.microsoft.com/en-us/download/details.aspx?id=17851)

I have more features planned which includes reading the text and images from the PDF and inserting them into the DXF file.

I am open to any feedback you are willing to provide.

Thanks
John

Title: Re: Convert2DXF Windows Application
Post by: Administrator on September 20, 2016, 10:52:06 PM
Great milestone to reach John...congratulations...!!!
Title: Re: Convert2DXF Windows Application
Post by: Agastar on September 20, 2016, 11:06:08 PM
Thanks!
Title: Re: Convert2DXF Windows Application
Post by: Zax on September 21, 2016, 06:23:32 AM
Excellent work!

One minor issue, with the bird house plans it saves the page as a drawing object.
Title: Re: Convert2DXF Windows Application
Post by: Agastar on September 21, 2016, 07:56:45 AM
Yeah, I ran into that this morning when I tried to cut out a birdhouse for my son's cub scout project. I've noticed this on some PDFs but not others. I'm not sure why the page boarder is coming in as a path but I'll have to figure out what is going on there.
Title: Re: Convert2DXF Windows Application
Post by: ggallant571 on September 21, 2016, 08:12:24 AM
Cub Scout project gets Dad with laser cutter!!!! What happened to old rusty hand saw? Are you going to 3d print and laser cut the pinewood derby car or does that job get done on a CNC mill?
Title: Re: Convert2DXF Windows Application
Post by: Agastar on September 21, 2016, 09:29:44 AM
You know, you have to evolve with technology right? LOL

The cub scouts are making bird houses and since I came across a design for one the other day I figured I could cut out some for all the boys to put together. Unfortunately the cub scouts will have to resort to doing it the old fashioned way lol.

My wife reminded me this morning that they were doing this project tomorrow night. I tried to get something cut out this morning but I ran out of time before I had to go to work so she and my son made one from scratch.

On the plus side, I got to use my app :)
Title: Re: Convert2DXF Windows Application
Post by: Lob0426 on September 21, 2016, 10:01:07 AM
I would use the cnc mill for the body. Turn the wheels and axles on the cnc lathe. Cut the body lines on the laser. 3D print a driver and wheel pants. OH!, I would probably need a file in there someplace and a screwdriver!

If we had adjustable Z figured out you could do the body in the laser.

LOL!
Title: Re: Convert2DXF Windows Application
Post by: Agastar on September 21, 2016, 10:16:24 AM
Now that's the way to do it!
Title: Re: Convert2DXF Windows Application
Post by: Lob0426 on September 21, 2016, 10:27:28 AM
It would take longer to setup the CNC and 3D printers than to use the belt grinder to get a derby car done. But there is more than just building the derby car at stake!

Title: Re: Convert2DXF Windows Application
Post by: Agastar on September 21, 2016, 11:35:58 AM
yeah, Pride! lol. It has to be the best looking one out there :)
Title: Re: Convert2DXF Windows Application
Post by: ggallant571 on September 21, 2016, 01:50:28 PM
My grandson's pack has an Adult division. All kid's entries go through an anonymous inspection process to eliminate the "older" kids cars. I guess they know about you guys.
Title: Re: Convert2DXF Windows Application
Post by: Agastar on September 21, 2016, 03:13:53 PM
My son wold be putting it together, I would just be helping with the aesthetics lol.
Title: Re: Convert2DXF Windows Application
Post by: Agastar on September 24, 2016, 10:36:20 AM
Here is the latest version of the windows app.
Convert2DXF Windows App (https://dl.dropboxusercontent.com/u/5570668/Convert2Dxf/Convert2DXF.zip)

I fixed the bug that was drawing lines for clipping paths. This was reported by Zax in which the conversion was drawing a box around the page border of the PDF.
Title: Re: Convert2DXF Windows Application
Post by: Zax on September 24, 2016, 10:44:47 AM
Great. Thanks for the fix.

I will do some more testing but it seems to work great.
Title: Re: Convert2DXF Windows Application
Post by: Administrator on September 24, 2016, 10:48:13 AM
Yes works very nice...great job on this utility...!!!
Title: Re: Convert2DXF Windows Application
Post by: Agastar on September 24, 2016, 10:53:54 AM
Quote
Great. Thanks for the fix.

I will do some more testing but it seems to work great.

Quote
Yes works very nice...great job on this utility...!!!

Thanks for the kind words. Slowly but surely :)
Title: Re: Convert2DXF Windows Application
Post by: ccooksey on November 02, 2016, 08:11:09 PM
Is the latest version always found in the link in your signature, Agastar?

Cory
Title: Re: Convert2DXF Windows Application
Post by: Agastar on November 03, 2016, 09:52:51 AM
That is correct but let me make sure it is still playing well with BCL. Also, try exporting to T2LMode and import to BCL and see if you get the same thing.
Title: Re: Convert2DXF Windows Application
Post by: ccooksey on November 03, 2016, 07:24:41 PM
Aha!  I switched to T2L mode in Convert2DXF and it worked fine, no warnings at all with my butterfly image when loading into BCL. 

Moderators: I know I've now got a single issue spanning multiple threads, feel free to combine into one or prune it if needed.

Cory

Related posts: http://benboxlaser.us/index.php/topic,1001.0.html
Title: Re: Convert2DXF Windows Application
Post by: Agastar on November 03, 2016, 07:53:21 PM
I'll take a look at the files you posted in the other thread and see if I can see what is going on.
Title: Re: Convert2DXF Windows Application
Post by: ScottV on January 24, 2017, 02:30:21 PM
Hi Guys,

I found your software thread from the "wanting modellers info" thread.  I'm an engineer and a ship modeler and have had this issue a number of times (i.e. having a PDF or other file of a vessel and wanting to put it in Rhino - my software of choice) but there is no good options out there that I have found.  I recently bought a Chinese laser cutter/engraver and was hoping some day to be able to cut model parts out just as you are describing.  So your software here is a good time saving thing for me as it will replace a lot of manual work. 

Unfortunately I have not been able to get any real results from it.  To test it, I made a simple drawing (2D) of a box, a circle and an ellipse and then printed them out as PDF files (see attached) in both a raster and vector output.  I also printed it to a printer and then re-scanned it back in as a PDF.  I then tried to do the conversions and only the vector output PDF did anything and that is missing the square and the circle and Ellipse are skewed.  These were done for both the T2Lmode and the BCLmode with the same results.

What have I missed?

Scott
Title: Re: Convert2DXF Windows Application
Post by: Administrator on January 24, 2017, 03:11:49 PM
I looked at your Vector dxf file. 2 of the 3 Units of Measurement were set but not the third one so I set it to MM and did a save as -2 in my QCAD program.

Then I opened it up inside BCL and it opened fine. See attachment.

You'd have to resequence the drawing objects as the Splines are all grouped together but they follow specific Line objects. BCL can do that for you pretty easy. I generated gcode and sent it to the BCL Virtual Laser Machine (VLM) and it ran fine.

You should be able to laser this dxf file using BCL but if you can't then I would suggest you read the following links:

http://benboxlaser.us/index.php/topic,861.0.html
http://benboxlaser.us/index.php/topic,935.0.html
http://benboxlaser.us/index.php/topic,657.0.html
http://benboxlaser.us/index.php/topic,1248.0.html

In addition to those links, I have a Quick Start Guide video on my Youtube Channel here:

https://www.youtube.com/user/rfresh1011

If you're having the same issues with T2 Laser, @Zax will help you as well.
Title: Re: Convert2DXF Windows Application
Post by: Zax on January 24, 2017, 04:09:37 PM
I'm not sure why the true vectors didn't export correctly but scanning it back in creates a raster which isn't compatible.

You would just load an image directly in T2Laser for engraving, and can trace it if desired to make a vector.
Title: Re: Convert2DXF Windows Application
Post by: ScottV on January 25, 2017, 07:27:33 AM
Thanks for the quick replies.  This gave me a couple of ideas.  Let me work on a few things on my end and I'll get back to you.
Title: Re: Convert2DXF Windows Application
Post by: focamonca on February 11, 2017, 06:33:52 AM
the attachment is not avilable