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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-14-2011, 09:22 AM
 
Join Date: Nov 2010
Location: Charlotte NC USA
Posts: 118
rewster is on a distinguished road
Buy me a Beer?
Faceting on smooth curves?

My mill has started to do something quarky. When milling a 2.5d profile, the curves are coming out faceted instead of smooth. I've run these same parts many times before and never had this problem. I initially thought it must be due to the backlash settings, but they checked out ok. Any ideas?
x2, g540.

Thanks in advance for any advice.

-drew

edit: here's a pic
Attached Thumbnails
Click image for larger version

Name:	facet.jpeg‎
Views:	137
Size:	43.5 KB
ID:	138393  

Last edited by rewster; 07-14-2011 at 10:20 AM.
Reply With Quote

  #2   Ban this user!
Old 07-14-2011, 09:50 AM
 
Join Date: Dec 2009
Location: USA
Posts: 1,160
photomankc is on a distinguished road

Originally Posted by rewster View Post
My mill has started to do something quarky. When milling a 2.5d profile, the curves are coming out faceted instead of smooth. I've run these same parts many times before and never had this problem. I initially thought it must be due to the backlash settings, but they checked out ok. Any ideas?
x2, g540.

Thanks in advance for any advice.

-drew
Check the G-Code. If it's not doing arcs and is instead generating piles of small straight segments around a curve then the it's the CAM or CAD that's causing it. I had several drawings that for some reason converted to DXF as just that (a polygon approximation) and the CAM package did exactly what it was told. I had to use the CAM drawing tools to replace the high-segment-count polygons to real circles and arcs. Also some CAM packages will have a post processor that doesn't use arcs so it forces the output to be the polygon approximation.
__________________
CNC: Making incorrect parts and breaking stuff, faster and with greater precision.
Reply With Quote

  #3   Ban this user!
Old 07-14-2011, 10:23 AM
 
Join Date: Nov 2010
Location: Charlotte NC USA
Posts: 118
rewster is on a distinguished road
Buy me a Beer?

Originally Posted by photomankc View Post
Check the G-Code. If it's not doing arcs and is instead generating piles of small straight segments around a curve then the it's the CAM or CAD that's causing it. I had several drawings that for some reason converted to DXF as just that (a polygon approximation) and the CAM package did exactly what it was told. I had to use the CAM drawing tools to replace the high-segment-count polygons to real circles and arcs. Also some CAM packages will have a post processor that doesn't use arcs so it forces the output to be the polygon approximation.
Thanks. That was also an initial concern, but I couldn't find any indication of it CAD or CAM (CamBam). The arcs appear to be smooth in the CAM viewer.

My dedicated pc is pretty old, haven't gotten around to swapping everything over to a newer machine. Could processor speed, or lack thereof, be to blame? I'm just confused as to why it randomly decided to start doing this.
Reply With Quote

  #4   Ban this user!
Old 07-14-2011, 10:30 AM
 
Join Date: Dec 2009
Location: USA
Posts: 1,160
photomankc is on a distinguished road

Are the facets uniform? Hard to imagine it being the machine if they all come out nice and uniform. Maybe a setting in the controller software? Does the faceted curve match the overall design? Other dimensional issues? If it's the machine taking a nap then I can't see how it would possibly not show up as all kinds of other problems.
__________________
CNC: Making incorrect parts and breaking stuff, faster and with greater precision.
Reply With Quote

  #5   Ban this user!
Old 07-14-2011, 01:55 PM
 
Join Date: Nov 2010
Location: Charlotte NC USA
Posts: 118
rewster is on a distinguished road
Buy me a Beer?

Upon closer inspection, I think I found the problem. In AutoCAD, when the part is rendered the facets show. Come to think of it, the problem only arose when I switched from exporting dxf's to stl's. Dxf comes out nice and smooth, stl is faceted.

Anyone more knowledgeable than I in AutoCAD? I've adjusted facetres to 10 (max) and the facets remain, albeit finer. I also have pro-e and solidworks, but I prefer autocad for the more simple boolean stuff. Switching to one of the other programs may fix the problem, but I'd prefer to keep this part in AC.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-14-2011, 01:55 PM
 
Join Date: Apr 2004
Location: Oakland CA USA
Posts: 927
awerby is on a distinguished road
It's nearly always a software issue

Check the tolerance settings - it looks like your curves are being approximated in .01" segments instead of .001".

Andrew Werby
ComputerSculpture.com — Home Page for Discount Hardware & Software
Reply With Quote

  #7   Ban this user!
Old 07-14-2011, 03:17 PM
BobWarfield's Avatar  
Join Date: May 2005
Location: USA
Posts: 2,386
BobWarfield is on a distinguished road

Yep, was gonna mention tolerance too.

Something to be aware of: STL has no way to represent a curve. It's just a pile of triangular facets. So any curves are going to be converted to flat-faced facets with STL.

Your parts are very 2 1/2D if the picture is anything to go by. I wouldn't use STL on them. Save STL for parts that are a more flowing 3D look. Going back to the DXF's should fix it.

If you want to insist on using STL's, you can certainly do it, but you're going to have to figure out how to lower the tolerances enough to reduce the faceting to where it is less visible. In the end of day your g-code file sizes will go up and your machine will be less happy making all those jerky little straight line moves instead of some arcs.

I don't know much about CamBam's simulator, but typically CAM simulators do not interpret the g-code--they interpret the internal geometry that was used to create the g-code. As such they don't really tell you what your machine sees, only what the CAM program thought it put out. A lot is lost from hand to mouth in that process.

Hence you may want to look into a good CNC Simulator that can give you "second opinions" for times like this. Try G-Wizard Editor--it's free during the Beta test:

G-Wizard CNC Simulator

It directly interprets the g-code. In addition, if you're not used to reading g-code, it has a "Hints" view that'll show you what the code is doing in plain English.

There are a lot of other CNC Simulators out there too. NCPlot is a good one, for example.

Best,

BW
__________________
Try G-Wizard Machinist's Calculator for free:
http://www.cnccookbook.com/CCGWizard.html
Reply With Quote

  #8   Ban this user!
Old 07-14-2011, 03:27 PM
 
Join Date: Jun 2011
Location: United States
Posts: 239
rpovey is on a distinguished road

Originally Posted by rewster View Post
Upon closer inspection, I think I found the problem. In AutoCAD, when the part is rendered the facets show. Come to think of it, the problem only arose when I switched from exporting dxf's to stl's. Dxf comes out nice and smooth, stl is faceted.

Anyone more knowledgeable than I in AutoCAD? I've adjusted facetres to 10 (max) and the facets remain, albeit finer. I also have pro-e and solidworks, but I prefer autocad for the more simple boolean stuff. Switching to one of the other programs may fix the problem, but I'd prefer to keep this part in AC.
The DXF export retains curves from the CAD package. Cambam will actually generate G2/3 for circular segments.
The STL export has to approximate them with line segments,you should be able to change the tolerance and get it pretty smooth though.
Reply With Quote

  #9   Ban this user!
Old 07-14-2011, 03:29 PM
fragger6662000's Avatar  
Join Date: Mar 2005
Location: UK
Posts: 328
fragger6662000 is on a distinguished road

DXF and parasolids are the best export formats as they tend to loose the least data and represent true design intent.
Reply With Quote

  #10   Ban this user!
Old 07-15-2011, 11:00 AM
 
Join Date: Nov 2010
Location: Charlotte NC USA
Posts: 118
rewster is on a distinguished road
Buy me a Beer?

Thank you all for the deluge of helpful replies, they cleared a lot up. When you say tolerance settings, do you mean in CAD or CAM? If I stick to dxf, I'll have to program two separate profile operations, no?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-15-2011, 11:17 AM
 
Join Date: Jun 2011
Location: United States
Posts: 239
rpovey is on a distinguished road

When you export the STL file there are a host of options available, which largely control how it tessellates the curves in the model.
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
CNC faceting and engraving bit machine idea. twistedfuse DIY-CNC Router Table Machines 23 05-03-2009 03:23 AM
Need Help!- Stepper motor and driver for faceting machine JWWalthall Stepper Motors and Drives 3 02-08-2008 09:21 AM
Help with Curves! Chris64 SheetCam 9 08-31-2007 01:31 PM
Smoothing curves... saturnnights MadCAM 2 03-04-2006 10:50 AM
CNC Faceting Machine dsadams Mechanical Calculations/Engineering Design 2 02-06-2005 10:55 AM




All times are GMT -5. The time now is 12:34 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