A little something for a 4th axis.
A little something for a 4th axis.
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
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 setup.zip
- (1.78 MiB) Downloaded 2675 times
- DavidCousins
- Vectric Wizard
- Posts: 359
- Joined: Sat Mar 17, 2007 2:56 pm
- Location: Huntsville, Alabama
- lovebugjunkie
- Vectric Wizard
- Posts: 351
- Joined: Tue Jul 10, 2007 1:12 am
- Model of CNC Machine: Romaxx HS1
- Location: USA
- HoustonFirefox
- Vectric Craftsman
- Posts: 216
- Joined: Wed Aug 22, 2007 5:17 pm
- Location: Houston, TX
- Contact:
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
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
- DavidCousins
- Vectric Wizard
- Posts: 359
- Joined: Sat Mar 17, 2007 2:56 pm
- Location: Huntsville, Alabama
-
- Vectric Wizard
- Posts: 992
- Joined: Fri Sep 21, 2007 1:44 pm
- Model of CNC Machine: UCCNC Router, Plasma, Laser
- Location: Australia 3781
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
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
-
- Vectric Craftsman
- Posts: 120
- Joined: Thu Sep 28, 2006 8:47 am
- Location: Rehau, Bavaria, Germany
Hi Andrew,
your program seems to be something similar to this one :
http://vectric.com/forum/viewtopic.php?t=656&highlight=
Great work. I like it.
Richard
your program seems to be something similar to this one :
http://vectric.com/forum/viewtopic.php?t=656&highlight=
Great work. I like it.
Richard
- DavidCousins
- Vectric Wizard
- Posts: 359
- Joined: Sat Mar 17, 2007 2:56 pm
- Location: Huntsville, Alabama
- HoustonFirefox
- Vectric Craftsman
- Posts: 216
- Joined: Wed Aug 22, 2007 5:17 pm
- Location: Houston, TX
- Contact:
Andrew,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
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!
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
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
- Thkoutsidthebox
- Vectric Wizard
- Posts: 1487
- Joined: Wed Oct 25, 2006 3:19 pm
- Location: Europe
-
- Vectric Wizard
- Posts: 473
- Joined: Tue Sep 04, 2007 11:45 am
- Model of CNC Machine: DIY
- Location: Maryland, USA
- Contact: