|
View unanswered posts | View active topics
| Author |
Message |
|
Andrew
|
Post subject: A little something for a 4th axis. Posted: Mon Mar 24, 2008 1:34 pm |
|
 |
| VCarve Apprentice |
Joined: Tue Dec 13, 2005 10:58 pm Posts: 37 Location: Herts, UK
|
|
For anybody interested in experimenting with 4th axis work, here is my attempt at a program that will convert 2½D G-Code into a 4th axis program. It's called Wrapper.
I originally wrote this for my own use and as a way to learn Delphi Programming. It's not perfect, but if any body can make use of it your welcome to have it.
There is a help file included which I recommend looking at.
Although there's a 4th axis discussion going in the Cut3D section I have posted here because I think Any of the Vectric products will produce a program that can be converted to 4th axis work.
Andrew
| Attachments: |

Wrapper Screenshot.png [ 54.14 KiB | Viewed 659 times ]
|
Wrapper setup.zip [1.78 MiB]
Downloaded 1211 times
|
|
|
| Top |
|
 |
|
DavidCousins
|
Post subject: Posted: Mon Mar 24, 2008 3:46 pm |
|
 |
| VCarve Wizard |
 |
Joined: Sat Mar 17, 2007 2:56 pm Posts: 341 Location: Huntsville, Alabama
|
|
Andrew,
Thanks for the program. I still don't have a 4th axis yet. My current JGRO is to small for a 4th axis. I've got to complete my Joe4x4 Hybrid, then on to the 4th axis. I'll be using your program for sure.
Dave
|
|
| Top |
|
 |
|
lovebugjunkie
|
Post subject: Posted: Mon Mar 24, 2008 4:22 pm |
|
 |
| VCarve Wizard |
 |
Joined: Tue Jul 10, 2007 1:12 am Posts: 299 Location: Cypress Texas USA
|
|
Thanks for posting the program Andrew.
No 4th axis but this may give me a reason to look into getting one.
|
|
| Top |
|
 |
|
HoustonFirefox
|
Post subject: Posted: Tue Mar 25, 2008 1:10 pm |
|
 |
| VCarve Craftsman |
 |
Joined: Wed Aug 22, 2007 5:17 pm Posts: 216 Location: Houston, TX
|
Andrew,
From one Delphi programmer to another, nice job!
Like the others, I'm not yet using my 4th axis but will definitely give this a try 
_________________ CNC Woodworkers do it with a 3D Touch Probe!
|
|
| Top |
|
 |
|
Andrew
|
Post subject: Posted: Tue Mar 25, 2008 7:34 pm |
|
 |
| VCarve Apprentice |
Joined: Tue Dec 13, 2005 10:58 pm Posts: 37 Location: Herts, UK
|
|
Hi, thanks everybody for your comments, I hope you can get some use from the program.
HoustonFirefox, just curious, do you make a living with programming? For me it's a hobby and this is the first program I have 'released'. I haven't finished with Wrapper by any means, currently working with my new toy INI files!. Next on the list is trying to deal with the way the program seams to slow down when used over and over. I suspect memory leaks, so I need to track them down. Also on the list syntax highlight, and arc conversion. I've got some ideas, but I'm not sure if its possible.
Andrew
|
|
| Top |
|
 |
|
DavidCousins
|
Post subject: Posted: Tue Mar 25, 2008 9:52 pm |
|
 |
| VCarve Wizard |
 |
Joined: Sat Mar 17, 2007 2:56 pm Posts: 341 Location: Huntsville, Alabama
|
|
Andrew,
How do you instruct us users to deal with the lack of arc support? Is it just a matter of choosing a Vectric Mach3 driver which does not include the "arc" in the name?
Dave
|
|
| Top |
|
 |
|
Andrew
|
Post subject: Posted: Wed Mar 26, 2008 12:06 am |
|
 |
| VCarve Apprentice |
Joined: Tue Dec 13, 2005 10:58 pm Posts: 37 Location: Herts, UK
|
Quote: Is it just a matter of choosing a Vectric Mach3 driver which does not include the "arc" in the name?
Hi Dave
Yes, you do need to choose a post processor that does not output arcs.
Andrew
|
|
| Top |
|
 |
|
Greolt
|
Post subject: Posted: Sat Mar 29, 2008 9:14 am |
|
 |
| VCarve Wizard |
Joined: Fri Sep 21, 2007 1:44 pm Posts: 531 Location: Australia
|
Andrew
Tried the program. Worked as expected.
Never done rotary axis stuff before and this made it easy to try something with the software that I have.
I wrapped a very long line of text several times around a cylinder. Created it in Vcarve and angled the text a little.
Then wrapped it. At first I thought it would not wrap several times around but it did it with ease.
So I have proved that my fourth axis works and your excellent little program works like a charm.
Thanks for writing it and sharing.
Greg
| Attachments: |

rotary1.jpg [ 82.17 KiB | Viewed 276 times ]
|

Rotary2.jpg [ 81.16 KiB | Viewed 212 times ]
|

Rotary3.jpg [ 64.53 KiB | Viewed 214 times ]
|
|
|
| Top |
|
 |
|
RichardF
|
Post subject: Posted: Sat Mar 29, 2008 11:15 am |
|
 |
| VCarve Apprentice |
Joined: Thu Sep 28, 2006 8:47 am Posts: 21 Location: Rehau, Bavaria, Germany
|
|
| Top |
|
 |
|
DavidCousins
|
Post subject: Posted: Sat Mar 29, 2008 1:06 pm |
|
 |
| VCarve Wizard |
 |
Joined: Sat Mar 17, 2007 2:56 pm Posts: 341 Location: Huntsville, Alabama
|
|
Greg,
Congratulations for the being the first of us to use the program. That's outstanding.
|
|
| Top |
|
 |
|
HoustonFirefox
|
Post subject: Posted: Sat Mar 29, 2008 2:48 pm |
|
 |
| VCarve Craftsman |
 |
Joined: Wed Aug 22, 2007 5:17 pm Posts: 216 Location: Houston, TX
|
Andrew wrote: Hi, thanks everybody for your comments, I hope you can get some use from the program.
HoustonFirefox, just curious, do you make a living with programming? For me it's a hobby and this is the first program I have 'released'. I haven't finished with Wrapper by any means, currently working with my new toy INI files!. Next on the list is trying to deal with the way the program seams to slow down when used over and over. I suspect memory leaks, so I need to track them down. Also on the list syntax highlight, and arc conversion. I've got some ideas, but I'm not sure if its possible.
Andrew
Andrew,
In a former life at Hallibuton, British Petroleum, Compaq and Chevron I did a LOT of Delphi programming, mainly with very large databases. I'm semi-retired now so I write programs mainly for my own use.
My latest project is a preview program that will let you point it at a directory full of .EPS files. It will fire off VCarve Pro, figure out the parameters, borders, etc. Then it generates the toolpaths, deletes waste material and saves both the face-on and angled view of the project. This is done with a pre-defined border template so people can see the artwork with different borders.
Finally it saves the newly-generated .CRV file in a separate directory. I have about 80,000 EPS files to process and so far the program can self-generate previews for about 30-40 an hour with most of that time being used to preview the toolpaths prior to saving.
I've still got a lot of work to do on it (watermarking, specifying a transparent GIF background color, etc.)
Memory leaks can be a bear to track down. Just make sure you have a DESTROY() for every CREATE construct. In addition I use a .FREE construct before the DESTROY command to make darned sure I get my memory back.
I program in about 13 different languages (C#, php, assembly, delphi, etc) but really like Delphi for quickly getting things done, especially down at the Windows API level.
Let me know if you'd like me to look at the source code; I'd be happy to poke around for any efficiencies. I think the PM on the board works, let me know if it doesn't.
All Others: Sorry about the programming diatribe, Delphi programmers are Rare and Good Delphi Programmers are really hard to find. Nice work Andrew!
_________________ CNC Woodworkers do it with a 3D Touch Probe!
|
|
| Top |
|
 |
|
Andrew
|
Post subject: Posted: Sun Mar 30, 2008 8:40 pm |
|
 |
| VCarve Apprentice |
Joined: Tue Dec 13, 2005 10:58 pm Posts: 37 Location: Herts, UK
|
Greg
That's fantastic, I'm really pleased you can get some use from the program, and thanks for posting the pictures. I was feeling sorry for myself sitting here with a streaming cold  until I saw your post. Its made my day.  I hadn't thought of wrapping a design multiple times into a continuous spiral.
Richard
Yes the end result is essentially the same. For me this is has been a good platform for learning Delphi and I also wanted to encompass the wrapping function into a text editor.
HoustonFirefox
Your program sounds very interesting (and advanced). We are obviously at opposite ends of the programming ability spectrum.
Thanks for the encouraging comments, and especially the generous offer to look over the source code. Not sure there are many efficiencies to be found, there'll be deficiencies aplenty though. Id be mad not to take you up on this, I'll PM you in a couple of days.
Andrew
|
|
| Top |
|
 |
|
Andrew
|
Post subject: Posted: Wed Apr 02, 2008 10:21 am |
|
 |
| VCarve Apprentice |
Joined: Tue Dec 13, 2005 10:58 pm Posts: 37 Location: Herts, UK
|
|
HoustonFirefox
Sent a PM. Hope you receive it.
Andrew
|
|
| Top |
|
 |
|
Thkoutsidthebox
|
Post subject: Posted: Tue Apr 29, 2008 10:32 pm |
|
 |
| VCarve Wizard |
 |
Joined: Wed Oct 25, 2006 3:19 pm Posts: 1476 Location: Europe
|
How long does the conversion usually take?
I tried it on a file with "82,037 blocks" converting X Axis to A Axis and it locked up, but I think maybe I didn't give it long enough?
Its not a major problem, I don't have an A-Axis yet to run it on, I just wanted to have a look.... 
|
|
| Top |
|
 |
|
studysession
|
Post subject: Posted: Wed Apr 30, 2008 9:48 pm |
|
 |
| VCarve Craftsman |
Joined: Tue Sep 04, 2007 11:45 am Posts: 200
|
|
This is nice -
Any recommendations on a cheap rotary for a 4th axis?
Thanks
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|