3D surface simulation accuracy

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
mn00n
Posts: 28
Joined: Sun Nov 22, 2020 9:57 pm

3D surface simulation accuracy

Post by mn00n »

The simulation of this 3D surface shows unexpected Z motion in both '0' and '180' directions, irrespective of speed/accuracy settings. It appears the g-code is correct, although haven't tried an air cut on the mill yet. As a general rule is it better to rely on the wireframe representation of an operation than the simulation animation?

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23074 (Git)
Build type: Release
Branch: master
Hash: 74b866ed3022fd1452c534dae31a721bcc668f2f
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/Canada (en_CA)
Attachments
3D_surface_simulation.jpg
3D_surface_simulation.jpg (347.57 KiB) Viewed 1578 times
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: 3D surface simulation accuracy

Post by chrisb »

mn00n wrote: Tue Dec 01, 2020 6:52 pmAs a general rule is it better to rely on the wireframe representation of an operation than the simulation animation?
Definitely!
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Russ4262
Posts: 953
Joined: Sat Jun 30, 2018 3:22 pm
Location: Oklahoma
Contact:

Re: 3D surface simulation accuracy

Post by Russ4262 »

May I suggest NC Viewer or Camotics. These two are good quality and have been around a while. I use an external simulator to verify paths with rotation (4th-axis).

Russell
User avatar
mn00n
Posts: 28
Joined: Sun Nov 22, 2020 9:57 pm

Re: 3D surface simulation accuracy

Post by mn00n »

Both seem great tools, thank you. You've probably deduced I'm on a steep learning curve (but making rapid progress).
geant
Posts: 42
Joined: Mon Mar 30, 2015 11:54 pm

Re: 3D surface simulation accuracy

Post by geant »

mn00n wrote: Tue Dec 01, 2020 6:52 pm ...3D surface shows unexpected Z motion in both '0' and '180' directions, irrespective of speed/accuracy settings.
Can you post your file?
Possibly: For better simulation and milling results, try reducing the mill dia. and/or step-over.
User avatar
mn00n
Posts: 28
Joined: Sun Nov 22, 2020 9:57 pm

Re: 3D surface simulation accuracy

Post by mn00n »

File attached. It appears to go seriously awry when step-over is >50.
Attachments
Oloid.FCStd
(51.51 KiB) Downloaded 77 times
User avatar
mn00n
Posts: 28
Joined: Sun Nov 22, 2020 9:57 pm

Re: 3D surface simulation accuracy

Post by mn00n »

Mission accomplished...the g-code was correct despite the simulation suggesting otherwise. NC Viewer was a good sanity check tip.
Attachments
mn00n_3DSurface.jpg
mn00n_3DSurface.jpg (282.81 KiB) Viewed 1345 times
Russ4262
Posts: 953
Joined: Sat Jun 30, 2018 3:22 pm
Location: Oklahoma
Contact:

Re: 3D surface simulation accuracy

Post by Russ4262 »

Nice!

Thanks for sharing.

Russell
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: 3D surface simulation accuracy

Post by Kunda1 »

Off topic but related, updating the path simulator could be a potential project to put a bounty on...?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply