MechMate CNC Router Forum

Go Back   MechMate CNC Router Forum > Computing, Software & Programming > Graphics & CAD
Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old Fri 01 April 2011, 09:20
KenC
Just call me: Ken
 
Klang
Malaysia
Machine Along Vector toolpath

I would most appricate some help here.

I need to add a spline right at the centre of this example figure. Centerline.dxf
I failed to do it with Acad so...

After some search, I found the ShopBot software has the feature that can generate the tool path which I need. The ShopBot people call it "Machine Along Vector toolpath" Which I don't have...

I need to know if there is/are any alternative(s) to generate the centreline spline? Or which other CAD or CAM software that can do it?

Last edited by KenC; Fri 01 April 2011 at 09:29..
Reply With Quote
  #2  
Old Fri 01 April 2011, 09:44
Alan_c
Just call me: Alan (#11)
 
Cape Town (Western Cape)
South Africa
Send a message via Skype™ to Alan_c
You have to actually draw the vector(line) down the centre of the item so that the cam program can generate the toolth path. There must be a line for machining along a vector pathe to follow. You may have to fiddle a bit to get the line exactly where you want it.

Here is a quick one I tried centerline 2.dxf
Reply With Quote
  #3  
Old Fri 01 April 2011, 09:52
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Ken, it is more commonly called V-carving.

See http://www.vectric.com/WebSite/Vectr...p_vcarving.htm
Reply With Quote
  #4  
Old Fri 01 April 2011, 23:22
KenC
Just call me: Ken
 
Klang
Malaysia
Thanks for the heads up.

Alan,
Thousand thanks that is exactly what I need. but how did you do it? I tried using offset & it gets tired just halfway through of just one of the 33 shapes... & more coming....

Gerald,
Not exactly what the job call for. The job only requires a constant 2mm deep V grove around on the figure which Alan did.
Using the V carving in VCPro, it will cut through the 9mm sheet stock... Not to mention time consuming... I love the V carving, but it will be even better if there is an option of not making 2 passes on one carving... that is another subject..
Reply With Quote
  #5  
Old Sat 02 April 2011, 02:43
Alan_c
Just call me: Alan (#11)
 
Cape Town (Western Cape)
South Africa
Send a message via Skype™ to Alan_c
Using an offset wont give you you what you want as the distance between the outside lines is constantly varying. They way I did it will take some time but is the quickest way I could think of: I started by connecting approximate opposite sides of the main shape with straight lines, I then drew a curve line (term used in DesignCAD 17) through all the centers of these lines, giving me a line that would follow the center of the shape. As I said some tweaking was necessary to get the line to "flow" nicely to give a clean result.

centerline technique.jpg
Reply With Quote
  #6  
Old Sat 02 April 2011, 05:23
KenC
Just call me: Ken
 
Klang
Malaysia
Alan, Thanks for elaborating, I had a go at it & with lots of tweaks, it works as prescribed...
Now, all I have to do is to burn through the night to get this done...

*ps,
I really hope to find a lazy way to go about this...
Reply With Quote
  #7  
Old Sat 02 April 2011, 07:49
danilom
Just call me: Danilo #64
 
Novi Sad
Serbia
I fount THIS lisp function for AUTOCAD which could serve for centerline creation with open curves, maybe it can be adapted to work with closed shapes like these. Save the file with .lsp extension

It is rolling ball method, it starts with circle and enlarges it till it can fit between curves, moves the increment given and draws again, all the time remembering the circle center points and connecting them, so you can get pretty accurate centerline. It must be the method used for V-carving but has to be tweaked a little bit.

p.s.
here is how to start lisp from autocad
http://www.cadtutor.net/forum/showth...n-this-archive
Reply With Quote
  #8  
Old Sat 02 April 2011, 07:52
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Quote:
Originally Posted by KenC View Post
. . . .Using the V carving in VCPro, it will cut through the 9mm sheet stock. .. ..
If you output the V carve file to dxf, then you can "flatten" the file by removing all the z values. (make it 2D only)
Reply With Quote
  #9  
Old Sat 02 April 2011, 07:56
KenC
Just call me: Ken
 
Klang
Malaysia
Can it be done? please elaborate.
Reply With Quote
  #10  
Old Sat 02 April 2011, 08:20
KenC
Just call me: Ken
 
Klang
Malaysia
Had a go at the suggestion, generated the tool path & ticked the "Show 2D Preview" option in the toolpath screen (the right hand side menu)
No matter what I did, I can not select the the V-carving path line (in red)...
Export disregard & I can only export the figure without the centreline.
Reply With Quote
  #11  
Old Sat 02 April 2011, 08:26
danilom
Just call me: Danilo #64
 
Novi Sad
Serbia
Toolpath can be exported from Artcam to dxf, but the vector which is created for toolpath has two lines as the created toolpath is not single line.

Here it is
centerlined.dxf

If you have drawings of what you need to do, it is no problem to convert them like this. But it needs cleanup as there are two lines overlapping.
Reply With Quote
  #12  
Old Sat 02 April 2011, 08:42
KenC
Just call me: Ken
 
Klang
Malaysia
danilo, I some how missed you previous post, will have a go at the lisp function.
I really hope V-Carve Pro will have the same function as Artcam. Maybe someone who know will show me the light .

Thanks & many more thanks
Reply With Quote
  #13  
Old Sat 02 April 2011, 09:08
KenC
Just call me: Ken
 
Klang
Malaysia
Installing the "Rolling_ball.lsp" is beyond me for now... Will return for another crack at this after a good night sleep.
Thanks again Danilo.
Reply With Quote
  #14  
Old Sat 02 April 2011, 09:13
danilom
Just call me: Danilo #64
 
Novi Sad
Serbia
Just load it from Autocad
open AutoCAD and select Tools->AutoLISP->Load... from the pull-down menu

and type ROLLIN or ROLLIN2 to start command
Reply With Quote
  #15  
Old Sun 03 April 2011, 03:13
KenC
Just call me: Ken
 
Klang
Malaysia
It works like a charm!
Is a bit slow at first but it gets better time after tweaking with the increments. Surely take the strain off my eye. Fantastic!

This LISP thingy is real fun! and the fun don't stop here... there are loads of toys to play with here Danilo, you just open up another playground...

What I learnt,

Instead of using the MENU, you can also load the LSP by typing "APPLOAD" in the command line.

It doesn't work with a single polyline loop, what I did was to break the loop using "trim" command into 2 open spline. occasionally require to PEDIT the line to Spline

Require some "remodelling" so that the LSP app can will track along the anticipated centreline.

It will deactivate "OSNAP"

Thousand thanks!
Reply With Quote
  #16  
Old Sun 03 April 2011, 07:46
danilom
Just call me: Danilo #64
 
Novi Sad
Serbia
Every day its something new, I am glad it works for you

I too learned something new. Thats why we are here.
Reply With Quote
Reply

Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Source Vector Graphics Surfcnc Golden Resources 0 Sun 06 March 2011 04:42
rolamite machine Art General - MM Build 11 Thu 07 October 2010 10:28
Another Vector Clipart Site domino11 Dxf Library 0 Sun 08 August 2010 13:50
New Machine (well retrofit) podunk Construction started, but not cutting yet 2 Fri 08 June 2007 11:37
Vector Art 3D DocTanner CAM 0 Mon 02 April 2007 19:59


All times are GMT -6. The time now is 02:27.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.