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! > Employment Opportunity and RFQ (Request for Quote). > Employment Opportunity


Employment Opportunity Looking for a job in the machining field, need a employee in the CNC field post it here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-24-2005, 10:28 PM
Gold Member
 
Join Date: May 2005
Location: USA
Posts: 63
mcmmach is on a distinguished road
Anyone doing basic type programming

Hi, I am looking for someone that has some quickbasic or other type of basic programming experience to develop a program to modify basic text files.

The files can be very large, sometimes with 300,000 plus lines of code and 7+ megabytes in size.

The lines are always as follows, X00.000 Y00.000 Z00.000 (replace zeros with XYZ coordinate numbers)

I want to be able to add a feedrate to the line that changes depending on the depth of the Z cut.

The variables section would specify if Z is between 0 and 0.020 the feed rate = F150.0, if Z is between .021 and .040 feed rate = F120.0, etc with maybe 10 different feed rates that can be modified easily

Each line would change to X00.000 Y00.000 Z00.000 F000.0 from the above sample.

If anyone thinks they can do this please contact me so we can discuss the project and the terms.
Thanks, Dean
dean@mcmmachine.com
Reply With Quote

  #2   Ban this user!
Old 07-25-2005, 01:13 AM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Dean,

Hi! I've been doing serious Windows programming for several years now and what you'd like done would be a snap. If you can email me some test files I'll send you back a test program and some performance benchmarks. You can play with it and, if it meets your needs, we can go from there as far as adding bells and whistles. I'm not interested in any money-I do it because it's fun.

If you send along the files tomorrow I'll have a test program back to you by the end of the week. I don't have any size restrictions on my downloads, but it would be best if you zipped all of the files together. Send 'em to me, Lance, at lance@evodyne.net. I look forward to hearing from you!

Lance
Evodyne Soft Systems
Reply With Quote

  #3   Ban this user!
Old 07-25-2005, 08:01 AM
 
Join Date: May 2004
Location: United States
Posts: 456
JRoque is on a distinguished road

Lance, way to go! Good to see folks helping out and not always looking for a kill.

Dean, very interesting idea. I suggested something similar to the makers of VisualMill. In my case, I thought the hardest part of any machine operation was to cut down into the material so having a way to control feedrate of Z would be great. I can cut horizontally at a much faster rate that I can vertically so having control over "plunge" rate would really speed up things.

JR
Reply With Quote

  #4   Ban this user!
Old 07-25-2005, 10:52 AM
Death Adder's Avatar  
Join Date: Jul 2005
Location: USA
Age: 32
Posts: 180
Death Adder is on a distinguished road

I'm trying to drum up source code to put together into a CNC CAD/CAM package of open source code. If you'd be interested this might be something that could go into the package. Check out the open source forum here to see what I'm up to.

If you aren't interested that's cool too.


Originally Posted by Evodyne
Dean,

Hi! I've been doing serious Windows programming for several years now and what you'd like done would be a snap. If you can email me some test files I'll send you back a test program and some performance benchmarks. You can play with it and, if it meets your needs, we can go from there as far as adding bells and whistles. I'm not interested in any money-I do it because it's fun.

If you send along the files tomorrow I'll have a test program back to you by the end of the week. I don't have any size restrictions on my downloads, but it would be best if you zipped all of the files together. Send 'em to me, Lance, at lance@evodyne.net. I look forward to hearing from you!

Lance
Evodyne Soft Systems
Reply With Quote

  #5  
Old 07-25-2005, 01:36 PM
Scott_bob's Avatar
Mfg Engineer
 
Join Date: Nov 2003
Location: United States
Posts: 458
Scott_bob is on a distinguished road

Originally Posted by mcmmach
Hi, I am looking for someone that has some quickbasic or other type of basic programming experience to develop a program to modify basic text files.[/email]
Dean,

If this project can be done by searching and replacing in your editer, then you could do this yourself...

http://www.cnczone.com/forums/showthread.php?t=11136

It's great to see someone offering to do this for you, but if you want to tackel doing it yourself, this would be a good project to try...

Good luck,
__________________
Scott_bob
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-25-2005, 04:54 PM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Hi guys! Dean has been kind enough to forward a few files to me and I've already dug in. Death Adder-I haven't taken the time to dig through the open source forum before, but I am going to this evening. I'm curious to see where you are going. And Scott_bob, your right, these are .txt files and one could make the changes in an editor, but why? We could all take chisels and make the same things by hand as we do with our CNC machines, but the machines do it faster and more accurately. Tools, be they hardware or software, are there to make our lives easier and improve our productivity, right?

Lance
Reply With Quote

  #7  
Old 07-25-2005, 05:14 PM
MetLHead's Avatar
Gold Member
 
Join Date: Mar 2003
Location: USA
Posts: 740
MetLHead is on a distinguished road

Lance,

I know you probably have your own programming style, but I thought I'd throw this out there. I uploaded a VB template for a program that I wrote for converting files:

http://www.cnczone.com/forums/showthread.php?t=11323

Don't know if it will be useful to you, but this is just the kind of thing I wrote it for.

Regards,
Scott
Reply With Quote

  #8  
Old 07-25-2005, 06:37 PM
Gold Member
 
Join Date: May 2005
Location: USA
Posts: 63
mcmmach is on a distinguished road

Originally Posted by JRoque
Lance, way to go! Good to see folks helping out and not always looking for a kill.

Dean, very interesting idea. I suggested something similar to the makers of VisualMill. In my case, I thought the hardest part of any machine operation was to cut down into the material so having a way to control feedrate of Z would be great. I can cut horizontally at a much faster rate that I can vertically so having control over "plunge" rate would really speed up things.

JR
The main thing reason I need this is I have been cutting deep lithophanes and must slow down to @35 ipm or the plastic melts, on the upper layers I could do 150ipm+ but my current conversion software only allows 1 cutting speed so cutting a 8x10 is taking 4-7 hours.
Reply With Quote

  #9   Ban this user!
Old 07-25-2005, 07:58 PM
Death Adder's Avatar  
Join Date: Jul 2005
Location: USA
Age: 32
Posts: 180
Death Adder is on a distinguished road

Originally Posted by mcmmach
The main thing reason I need this is I have been cutting deep lithophanes and must slow down to @35 ipm or the plastic melts, on the upper layers I could do 150ipm+ but my current conversion software only allows 1 cutting speed so cutting a 8x10 is taking 4-7 hours.
What if the program you wanted took a maximum feed rate and a minimum feedrate and interpolated between them over the Z range of your toolpath? That way the cutter would seem to gradually speed up and slow down as it cut and you'd only have to set 2 parameters. It should still be configurable enough.

I think the above would even make a neat addition to my collection of open source cad related programs. (whether I write it or someone else does.)
Reply With Quote

  #10  
Old 07-26-2005, 09:22 AM
Scott_bob's Avatar
Mfg Engineer
 
Join Date: Nov 2003
Location: United States
Posts: 458
Scott_bob is on a distinguished road

It may have been easy to misunderstand my post...

What I am saying is that you could create an automation routine (using the software that my link outlines) yourself. I don't mean that you would manually do the conversion every time. That would be archaic (hammer & chisel). Software automation is not that difficult if you choose the right software. If you already know how to use visual basic or some other structured language then that may be your best route. But if you don't then this program I mentioned (in the link) is easy to use, cheap to purchase, and powerful in capability. It will not be as fast as the visual basic solution, but it will be far easier to create, and tweak afterward.

The learning curve on this macro program is far shorter than a software language. And you'd be surprised at what can be done with this little program. I once had to covert 3,000 Autocad files by opening, ansewering some various dialogues, save, close, open the next file in the directory. All this was done automatically, in a matter of hours with only an occational input from me.

Software automation is a key to accuracy and productivity, just like CNC has been to the machining industry.
__________________
Scott_bob
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-26-2005, 11:09 AM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Hi all.

Scott_bob, I feel I owe you an apology: reading back over your post and mine I sounded a little pissy. I definately will look into the macro link you posted-it might be just the ticket for a lot of us. I certainly didn't mean to come off as I did. Sorry.

Death Adder-you and I had the same thought! The only limitation with a max and a min is you'ld end up with a linear change in feed rate. Which might be O.K.

My thought was add two more points and define a Bezier curve. Along with the curve, the user can define how many breakpoints to have. Zero breakpoints means the curve is used directly to set the feedrate given a depth. With ten breakpoints the curve will be broken into ten feedrate regions, etc. For anything other than zero, the user could "tweak" the results in a tabular format.

Another point: consider I am at a shallow depth at a given feedrate and the next instuction puts me much deeper at the appropriate slower rate. It seems to me I'd want to slow to the lower feed rate before plunging, not once I reach that depth. This would work towards preventing the melting Dean mentions.

Conversely, the opposite seems to apply when going shallower from a deep cut: stay at the slower feed rate until already at the shallower depth, then speed up.

Does this make sense? A kind of feed forward. Of course this would only matter if one was making large steps with big changes in feedrate.

Anyhow, I'm having fun. Others may wish to take up the challenge as well and give Dean some choices.

Gotta go for now-I am at work and not working!

Lance
Reply With Quote

  #12   Ban this user!
Old 07-26-2005, 05:48 PM
Death Adder's Avatar  
Join Date: Jul 2005
Location: USA
Age: 32
Posts: 180
Death Adder is on a distinguished road

Originally Posted by Evodyne
Hi all.
Death Adder-you and I had the same thought! The only limitation with a max and a min is you'ld end up with a linear change in feed rate. Which might be O.K.

My thought was add two more points and define a Bezier curve. Along with the curve, the user can define how many breakpoints to have. Zero breakpoints means the curve is used directly to set the feedrate given a depth. With ten breakpoints the curve will be broken into ten feedrate regions, etc. For anything other than zero, the user could "tweak" the results in a tabular format.
To each his own but I think that you are making it more complicated than it has to be. This is a big problem in most cad apps.

I think that feedrate regions would only complicate something that could be done more simply. I do like the bezier curve idea though. There might be applications where the feedrate regions idea would be necessary so maybe it's an option for those that need it.

Originally Posted by Evodyne
Another point: consider I am at a shallow depth at a given feedrate and the next instuction puts me much deeper at the appropriate slower rate. It seems to me I'd want to slow to the lower feed rate before plunging, not once I reach that depth. This would work towards preventing the melting Dean mentions.
Yes, consider the following sequence:
N2X34.00Y23.00Z1.00
N4X40.34Y16.52Z-2.43

Now consider what it would look like if it had feedrate control:
N2X34.00Y23.00Z1.00F150
N4X40.34Y16.52Z-2.43F34

This would move the machine to <34, 23> at Z1.0 (probably above the block). The move would be at F150 because feeds take effect right away. Then it would travel to <40.34,16.52> ramping down to -2.43 at a feed of 34 (once again because feeds take effect right away)

Originally Posted by Evodyne
Conversely, the opposite seems to apply when going shallower from a deep cut: stay at the slower feed rate until already at the shallower depth, then speed up.
Reversing my above example:

N2X40.34Y16.52Z-2.43F34
N4X34.00Y23.00Z1.00F150

This is bad because it will feed up from a low Z level to a high one at high speed. So obviously a lookahead would have to be employed so that either positive or negative ramps are slow speed as are deep cuts but shallower cuts are progressively faster.
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





All times are GMT -5. The time now is 12:36 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 354 355 356 357 358 359 360 361