# Modifying CNC Code.

I need a program/script, preferably in python that will be able to read and analyze information from a txt file. The file will contain machine code in 3 dimensional space, and the script will add/remove/modify coordinates accordingly. There will be math and algebra involved so you are required to be proficient in this.

More specifically the script will need to:

- Search through each text file to find X, Y and Z coordinates that meet a criteria

- Use past and future coordinates to define a direction vector

- Add/modify coordinates using this direction

- Repeat where necessary

- Be organized and appropriately documented

I've attached a sample text file.

Please see the two new attachments for reference. Shortly following the line in Original.txt - M06 T11 - a path traces a square while going up and down diagonally in the corners. A direction vector would need to be extracted as follows:

G00 G17 X15.9665 Y2.8465 -These coordinate are noted
G00 Z1.095
G09 G01 Z0.595 F150 -Here is the first point for the direction vector (X 15.9665, Y 2.8465, Z 0.595)
G09 G01 X15.5532 Y3.2598 Z0.4443 F250 -Here is the second point for directional vector (X 15.5532, Y 3.2598, Z 0.4443)
-Directional vector is (X-0.4133, Y 0.4133, Z-0.1507) and divided into user defined # of steps (for example 3)
-This would yield a "diagonal" step of (X-0.1377, Y 0.1377, Z-0.0502)

I have given an example of how this step vector will be applied in the Modified.txt for one corner, but it would need to be done in all 4 corners, for multiple traced square between M06 T11 until M06T0. Care must be taken for each corner as the signs for X and Y will be different for each while the magnitude remains the same.

Compétences : Traitement de Données, Python, Développement de logiciel

Concernant l'employeur :
( 0 commentaires ) Canada

N° du projet : #8486263

## 15 freelance ont fait une offre moyenne de 166 \$ pour ce travail

allenross356

I can handle such a project easily. I am a fast coder and usually write bug-free code. I won about 35 competitions in algorithms and development. You can look at my resume in the portfolio section at http://freelancer. Plus

250 \$ CAD en 3 jours
(87 Commentaires)
7.0
RotorProgrammer

Hello. I'm ready to write Python script for necessary data processing from these text files. Script will be well organized and documented. Please give more details on the project tasks. Thanks.

200 \$ CAD en 3 jours
(25 Commentaires)
5.9
iticus

Hello, I'm using Python daily for most of my programming needs. I have experience with text processing in Python (using regex, string manipulation etc.) and GIS data (I have worked with GIS systems for many years - Plus

120 \$ CAD en 3 jours
(12 Commentaires)
5.0
ne0ph0enix

Hi, I can help you to write the software you need. I have experience working with python and also developing code for embedded systems. As a CS&E graduate I have a solid background in math and algebra.

116 \$ CAD en 3 jours
(6 Commentaires)
3.9
westdvina

Hello. I am ready to discuss with you the details of this project. Write to me in detail what you want to do. Thanks

280 \$ CAD en 30 jours
(8 Commentaires)
3.7
szymszteinsl

140 \$ CAD en 3 jours
(3 Commentaires)
3.4
Zer01Kurdish

Python,Assembly,(.net) expert, i can create the software for you but first i need more information of how it works, please feel free to contact me if you are interested, thanks.

200 \$ CAD en 5 jours
(1 Commentaire)
1.8

As a first step I will discuss with you the solution in detail, more specifically how and when the direction vector should be used to influence the current coordinates. After that i will partition the project in sub Plus

198 \$ CAD en 2 jours
(1 Commentaire)
1.4
koum23

Thank you for viewing my profile you can check have 5***/5*** also you can check happy customer. always trying to get customer satisfaction. I have gone through your project requirement specification and as per my p Plus

130 \$ CAD en 7 jours
(0 Commentaires)
0.0
veljkokse

Hey, can I you tell me a bit more about the coordinate filtering/modifying criteria? What's the final purpose of the code? You could send me a message so we could discuss the project in detail and make the final price Plus

111 \$ CAD en 3 jours
(0 Commentaires)
0.0
SharjeelSohail

A proposal has not yet been provided

150 \$ CAD en 2 jours
(0 Commentaires)
0.0
re4ct0r

I am very proficient with math and algebra and can create such script quickly and efficiently. Please let me know more details.

130 \$ CAD en 3 jours
(0 Commentaires)
0.0
abukusam

Hello! 9 years PHP experience, a lot of completed apps and sites. -JS, JQuery, ExtJs -MySql, PostgreSql, Sqlite -CSS, Bootstrap 2,3 3 year Python/Django (1.4.5-curr. ver.) experience: -scheduled tasks (celery Plus

144 \$ CAD en 4 jours
(0 Commentaires)
2.8
muenash

I have 3 years experience with CNC milling machines and 5 years experience in C/C++ and Python programming

155 \$ CAD en 3 jours
(0 Commentaires)
0.0
jarc240

I have retract my bid because I was working on project that I was not sure to be finished, but since I saw you invited me to bid I will try to end curent project as soon as possible to commit fully to your project... Plus

200 \$ CAD en 20 jours
(0 Commentaires)
0.0
luisyonaldo

I'm an Electrical Engineer in Communications and Electronics. I have been professor of multivariable calculus and electromagnetic theory at my university, so I have a deep understanding of mathematics and physics. Addi Plus

166 \$ CAD en 7 jours
(0 Commentaires)
0.0