Python script that can split Gcode file vertically

Cancelled Posted 7 years ago Paid on delivery
Cancelled Paid on delivery

Hi,

I would like to be able to take a gcode file for 3D printer and split it vertically in a selected Axis.

i.e. lets say that the print job is in between X100 & X200 and I would like to be able to cut it anywhere by a given X position (i.e. 110mm , 160 or 180...)

Gcode looks like that:

G1 X148.642 Y148.058 E35.1107

G1 X128.785 Y167.916 E36.7919

G1 X128.106 Y167.916 E36.8326

G1 X147.964 Y148.058 E38.5138

G1 X147.285 Y148.058 E38.5545

G1 X127.427 Y167.916 E40.2357

G1 X126.748 Y167.916 E40.2764

G1 X146.606 Y148.058 E41.9577

G1 X145.927 Y148.058 E41.9983

G1 X126.070 Y167.916 E43.6796

G1 X125.391 Y167.916 E43.7202

G1 X145.248 Y148.058 E45.4015

You will have to short the vectors, cut them on the axis cut point, recalculate the new E (amount of plastic) for each of the new child vectors and rearrange the travel etc...

keep in mind that there are gcode commands that are not vectors, seed, Z lifts and others that should be duplicated to the child Gcode files.

This is a very general description of course. I am interested with the result.

- Acceptance test: take any Gcode file, run the split in any given X points and be able to print correctly with the child gcode files.

- Please provide a python code.

- there are many free Gcode viewers so you do not need a 3d printer for self tests but I will prefer providers with 3d printers.

Python Software Architecture

Project ID: #12945198

About the project

11 proposals Remote project Active 7 years ago

11 freelancers are bidding on average $616 for this job

lkhelladi

Hello, I'd be glad to implement the Python code for gcode splitting. Looking forward to chat with you soon for more details. Best regards,

$250 USD in 3 days
(200 Reviews)
7.7
schoudhary1553

Greetings sir, i am an expert freelancer for this job and your 100% satisfaction is assured if you allow me to serve. Here is the reason. Why you should pick me? a) I am a very expert and have the same kind of ex More

$500 USD in 5 days
(138 Reviews)
7.3
eagleblackdesign

Hello! We are a professional team of web developers with huge experience in using python for custom webapps based on django and odoo. Please provide more details about your project. We are available and will be happy More

$750 USD in 18 days
(8 Reviews)
6.0
SPARKtechBD

C, C++, VB5, VB6, VB, VB.NET 2015, ASP.NET, MVC, WPF, XML, MSSQL 2014, HTML & CSS3, AWS(Amazon Web Service) programmer. I have experience about 20 years (32,000+ hours) in programming complex database application as we More

$750 USD in 20 days
(19 Reviews)
5.6
cracken

Hi, Delivering the task with quality is my goal. My skills fit perfectly to the kind of task you are looking for. In fact, I had delivered tasks to my satisfied clients that is related to this job. You can contact me More

$749 USD in 0 days
(22 Reviews)
5.0
pbq

Hi, I am very interested in this project. I have 10+ years python development experience. This looks very doable. I don't have 3D printer but as you said we can do test using gcode viewer. please reply for further d More

$555 USD in 10 days
(14 Reviews)
5.0
reddysir2016

Offshore/Onshore IT application development company, Experts from India having range of Skills available in our In-house staff: Dedicated: Website Developer,Android Developer,Software Developer,Graphic Designer, EComme More

$555 USD in 10 days
(2 Reviews)
3.8