CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAM Software > Vectric > Post Processors


Post Processors Vectric Post Processors


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-29-2008, 09:04 PM
Anxious's Avatar  
Join Date: Jan 2008
Location: USA
Posts: 20
Anxious is on a distinguished road
Arcs

I have a Vytek 4x8 table router which uses 3D HPGL I downloaded the Vecric trials and carved several samples after cobbling together a pp file for my machine. I got the basic jog speed, carve speed functions working, and the point to point stuff no problem, but when it came to arc support my HPGL control board accepts a point center degrees command:

PAx,y,z; <beginning of the arc (or end of last)
AAxc,yc,degrees; <arc center and +ccw or -cw degrees

to carve the arc but none of the examples seem to introduce the degrees variable. My math is a bit rusty but I'm thinking trig functions to calculate the degress may not be available in a .pp specifiable way.

Anyone have any suggestions?
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 08-29-2008, 09:54 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,558
ger21 is on a distinguished road
Buy me a Beer?

ask on Vectric's support forum, in the PP section.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 08-29-2008, 10:04 PM
Anxious's Avatar  
Join Date: Jan 2008
Location: USA
Posts: 20
Anxious is on a distinguished road

Gerry,

I did post the question to Vectric's customer support email and actually got excellent response, however, it more or less ended with HPGL is a 2D spec and 3D abilities are generally proprietary and I might want to contact the controller manufacturer...

They don't make Vytek routers any longer and while the company is still around and very responsive I might add, Vytek suggested replacing the entire controller board including the stepper controllers, which I will eventually get around to as some positive cash flow begins to trickle in... I was just trying to optimise the current situation to bridge the gap between now and then. First some software to make some product then some cash to upgrade the hardware before production volumes ramp up too high etc...
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 08-29-2008, 10:16 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,558
ger21 is on a distinguished road
Buy me a Beer?

You should be able to create a post that breaks the arcs into short straight line segments.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 08-29-2008, 10:36 PM
Anxious's Avatar  
Join Date: Jan 2008
Location: USA
Posts: 20
Anxious is on a distinguished road

Actually the VCarve Pro does that nicely on it's own. Just use a post that doesn't define arcs and it doesn't use arcs, but rather breaks them into very small line segments that look great.

If I want to mill aluminium parts for my dirt bike or something like that, I might need finer control, but for wooden signs, gates, doors, rocking horses, arts and crafts projects etc the result is fabulous. I thought perhaps specifying an arc might help reduce the cut time and keep the cutter through the material speed more consistent.

Dave
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-30-2008, 12:00 AM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 992
Kiwi is on a distinguished road

Can you post some code of before and after so we can see what's required. (doesn't need to be mathmatically correct)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 08-30-2008, 11:20 PM
Anxious's Avatar  
Join Date: Jan 2008
Location: USA
Posts: 20
Anxious is on a distinguished road

Sorry it took so long, but here is the code to cut a couple of circles

IN;PU;PA0,0,-400;
VS60;
PA24716,48835,-400
PD24716,48835,102;
AA25339,24450,86.8782;
PA956,25156,-400;
PA956,23744,-400
PD956,23744,102;
AA25339,24450,86.6834;
PA24633,67,-400;
PA26045,67,-400
PD26045,67,102;
AA25339,24450,86.8778;
PA49724,23827,-400;
PA49724,25073,-400
PD49724,25073,102;
AA25339,24450,87.0726;
PA25962,48835,-400;
VS60;
PA21435,24517,-400
PD21435,24517,102;
AA25444,24517,90.;
AA25444,24517,90.;
AA25444,24517,90.;
AA25444,24517,90.;
PA21435,24517,-400;
PA21435,24517,-400;
PA0,0,-400;
IN;

The first one must be leaving tabs I'd guess

Dave
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 08-30-2008, 11:34 PM
Anxious's Avatar  
Join Date: Jan 2008
Location: USA
Posts: 20
Anxious is on a distinguished road

So that's the code that implements the AA Arc Absolute command and the process for this table is essentially put the cutter at the starting point for the arc then provide the center and number of degrees the arc should proceed from the current position. - degrees is clockwise and +degrees is counterclockwise...

Trouble is I'm not sure how to get the degrees out of vectric.

One last tidbit, the vectric software does very small line segments such that a circle is a circle it looks good, the cut file is bigger but hey... I researched the implementation specifics of the arc command and essentially the machine gets what they call a default cord setting such that I think the hardware actually implements the arc in a very similar manner when the AA command is physically moving the table so the quality difference may not be noticable anyway. But hey puzzles are fun right?

Thanks everyone who is enjoying this puzzle with me.

Dave
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 08-31-2008, 03:11 AM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 992
Kiwi is on a distinguished road

I thought I could write you a program, that is why I asked for some code, but there is not much of your code that I can follow, all those AA25339,24450 and AA25444,24517 are confusing me.
I'm now thinking that as you are not completely stuck I might give this one a miss even though I like a challenge:-)
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 08-31-2008, 04:21 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 62
Posts: 2,189
neilw20 is on a distinguished road
Talking Heres what HP says...

A picture (or 2 is worth a few hundred words)
Attached Thumbnails
Click image for larger version

Name:	AA-page1.jpg‎
Views:	100
Size:	65.6 KB
ID:	65740   Click image for larger version

Name:	AA-page2.jpg‎
Views:	101
Size:	72.9 KB
ID:	65741   Click image for larger version

Name:	ArcRelative FYI.jpg‎
Views:	93
Size:	83.2 KB
ID:	65742  
__________________
Super X3. 3600rpm. Two possible way to fix things: The right way or the other way.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 08-31-2008, 06:49 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,558
ger21 is on a distinguished road
Buy me a Beer?

So it looks like it draws your arc out of straight segments anyway, with the smallest allowable segment being 1° long?
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 09-17-2008, 11:41 PM
Anxious's Avatar  
Join Date: Jan 2008
Location: USA
Posts: 20
Anxious is on a distinguished road

I think you've all hit the nail on the head, at least with my HPGL based controller. If I move this machine into a money making endevour, I'll probably need to replace the controller and drivers with mach 3 / gecko or similar to increase its speed but for now even with the 1 degree increments it seems pretty smooth. Perhaps I'll cut a 4' table to see what code it generates and to see if I can detect the flat sections around the circumphrence. From the doc it should be glaring, but from the small amount I've cut I have no indication it will show up as quite such rough chords.

I'll keep you posted when I cut such a piece.

Thanks again!
Dave
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- I and J 3D arcs mmachining BobCad-Cam 7 02-14-2008 02:01 PM
3d arcs? stevespo BobCad-Cam 10 08-31-2007 09:02 PM
Output arcs using R not I,J? LongRat SheetCam 2 06-20-2007 01:35 PM
Smoothing 3d arcs? stevespo BobCad-Cam 14 04-20-2007 07:46 AM
Points on arcs gguidi Autodesk Software (Autocad, Inventor etc) 2 07-25-2006 08:49 AM




All times are GMT -5. The time now is 04:13 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353