![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Visual Basic Discuss Visual Basic programing. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Going to be posting a new (small) project soon. Needed the following: - way to easily strip all negative Z offsets from traditional CAM program for using program with plasma table - way to smooth out curves composed of an ton of G1 points so machine would run faster/smoother - way to corrolate line numbers with points in a drawn display so I can exclude a certain range of code lines from the smoothing operation done with 1 and 2, just finishing up 3. if anyone has any other ideas for useful features that arent huge let me know. (will be open source) features like using it to just renumber lines can be done trivially at this point. works by parsing/manipulating CAM generated gcode files not graphics based images |
|
#2
| |||
| |||
I have been looking for a G-code smoothing program that would eliminate small z moves as in the codes shown below. X1.8959 Y-.212 X1.8942 Y-.2261 X1.8925 Y-.2403 X1.8907 Y-.2544 Z.0251 X1.8887 Y-.2686 Z.025 X1.8866 Y-.2827 X1.8845 Y-.2968 X1.8822 Y-.311 X1.8799 Y-.3247 X1.8773 Y-.3392 X1.8747 Y-.3534 Z.0251 X1.872 Y-.3675 X1.8691 Y-.3816 Z.025 X1.8662 Y-.3958 X1.8657 Y-.398 X1.8632 Y-.4099 Z.0251 It should be simple enough. Let me know what you think. Grantman |
|
#7
| ||||
| ||||
| Does this combine small moves into longer straight moves, or does it combine them into arcs?
__________________ 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) |
|
#8
| |||
| |||
| glad to hear it worked well for you grantman ![]() ger21, it only removes G1 points does not ( or rather shouldnt touch any arcs...so a smooth of 3 would take out 3 sequential G1 points skip one, take out another 3, most of my parts are from bitmap traces so all i ever get is g1 point cloudsone possible bug i have encouintered is if you have a section with a striaght line like for a framed piece, if you dont exclude teh right lines of code you might end up with a not so stright line as one of the square points of the frame got wacked...thats where the feature to figure out which point is which line number and the exclude/include lines feature comes in |
|
#9
| ||||
| ||||
| Data points unless they lie on an axis plain cannot be readily made into arcs. But points along an axis plain can be grouped in 3's and made into short connecting tangential and non-tangential arcs. for smoother moves.
__________________ Safety - Quality - Production. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dm2400 Line By Line Execution???? | andrewtub | Benchtop Machines | 6 | 01-25-2010 11:28 PM |
| What side of the line?? | becikeja | BobCad-Cam | 1 | 08-11-2007 02:07 PM |
| line arc line | THE GREAT ONE | General Metalwork Discussion | 3 | 01-23-2006 03:43 PM |
| line from point in angle | JSandSO | Autodesk Software (Autocad, Inventor etc) | 5 | 01-28-2004 09:28 PM |