![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello all, I need a little help with something. I have a program that has many different Z heights (all G01 are negative Z) that range from Z-0.002 to Z-0.124. I would like to force all of the negative Z values to be at a constant Z height. I thought it would be easy to open an editor and do a search and replace. But none of the editors that I have tried will allow you to use a wildcard for the search. (ex. search Z-0.***, replace Z-0.020) Is there an easy way to do this? |
|
#2
| ||||
| ||||
| Yep, Use Excel to open the file (select all files so it can see it) Use "Fixed Width" option. Tell it where you want the column separators to be Select the column you want to delete and delete it Stick your value 0.0000 (for example) on the first cell you want and copy and paste that to the rest of the column cells. Save the file using a different file name but with the original extension. :::ting::: ![]() If there's any spaces, commas etc you dun want just use Word to Replace (EG Find Z,00.000 Replace with Z0.000 etc). ANy probs gimme a shout- hope this helps! home time for me nearly so if I dun reply am not ignoring you. Iain
__________________ I love deadlines- I like the whooshing sound they make as they fly by. |
|
#3
| ||||
| ||||
| http://www.gmayor.com/replace_using_wildcards.htm or using Open Office, which is free. http://plan-b-for-openoffice.org/wri...sing-wildcards
__________________ 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) |
|
#4
| |||
| |||
When I checked the use wildcars box I still had this problem; Example: search for Z-0.0** , replace with Z-0.050 Results: Z-0.044 would be replaced with Z-0.05044. (not good) But toward the bottom of the page in link http://www.gmayor.com/replace_using_wildcards.htm There is an option ^# for any digit. Example: search for Z-0.0^#^# , replace with Z-0.050 Results: Z-0.044 would be replaced with Z-0.050. (perfect) Thank you for your help. |
![]() |
| 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 |
| Constant clock | kylemp | Stepper Motors and Drives | 3 | 01-28-2008 05:33 PM |
| constant velocity help | shnitzel | Mach Software (ArtSoft software) | 1 | 01-03-2008 08:10 AM |
| Constant digitizing | tt_raptor_90 | Digitizing and Laser Digitizing | 2 | 02-06-2006 07:39 PM |
| PWM Vs constant current | JerryFlyGuy | General Electronics Discussion | 3 | 10-25-2005 04:48 PM |
| Constant feed | Tyraslin | General CAM Discussion | 0 | 09-03-2003 07:33 AM |