Znaleziono 4 wyniki

autor: jarenio
19 sty 2015, 10:58
Forum: LinuxCNC (dawniej EMC2)
Temat: DXF2Gcode dla plasmy
Odpowiedzi: 15
Odsłony: 5926

imp, możesz pobrać exe albo źródło w pythonie, które odpala się tak samo jak na linuxie (konieczność zainstalowaania pythona)
autor: jarenio
14 sie 2012, 16:28
Forum: LinuxCNC (dawniej EMC2)
Temat: DXF2Gcode dla plasmy
Odpowiedzi: 15
Odsłony: 5926

znaczy coś pomieszałeś, bo mój sposób działa na 100%, wiem bo sprawdzałem ;)
autor: jarenio
10 sie 2012, 08:49
Forum: LinuxCNC (dawniej EMC2)
Temat: DXF2Gcode dla plasmy
Odpowiedzi: 15
Odsłony: 5926

https://groups.google.com/forum/?hl=pl& ... %5B1-25%5D

Kod: Zaznacz cały

1st file to change: dxf2gcode_b02_shape.py

there you've got the function (Line 229): def 
Write_GCode(self,config,postpro): 

In line 268 you do start with the cutting and set the Feed rate for Cutting 
in the plane (X-Y normaly): 
 postpro.chg_feed_rate(config.F_G1_Plane.get()) 

I would add a new function there like
postpro.start_laser() 

and in line 338 the cutting in the plane is finishes: 
#Fertig und Zur�ckziehen des Werkzeugs
 postpro.lin_pol_z(config.axis3_safe_margin.get()) 

I would add another new function there like
postpro.stop_laser() 

Cause the Postproccessor dont know this function you need to add them 
somewhere there in the file

2nd file to change: dxf2gcode_b02_config.py

i would just add it somewhere like in line 459 after the function: 

    def chg_feed_rate(self,feed): 
        self.feed=feed
        self.string+=self.make_print_str(self.feed_ch_str) 

This is the new you need to add, but i dont know if M3 and M5 is right, you 
should know better ???: 
    def start_laser(self): 
        self.string+=('M3\n') 

    def stop_laser(self): 
        self.string+=('M5\n')
autor: jarenio
09 sie 2012, 18:39
Forum: LinuxCNC (dawniej EMC2)
Temat: DXF2Gcode dla plasmy
Odpowiedzi: 15
Odsłony: 5926

ter_haar, błąd :P
marekms, musisz przerobić pliki .py dodać funkcje odpowiadającą za start i stop palnika i wstawić ją w odpowiednim miejscu, na grupie dyskusyjnej programu jest opisane jak to zrobić ;)

Wróć do „DXF2Gcode dla plasmy”