GGFlex Project User Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Dedicated to development of the GGFlex Open Source CNC Milling Machine, this forum contains news, updates, guides, support, and community conversations.
 
HomeHome  CalendarCalendar  Latest imagesLatest images  FAQFAQ  RegisterRegister  Log in  

 

 DD file to gcode

Go down 
2 posters
AuthorMessage
gauntlet-eternal




Posts : 11
Join date : 2020-10-29

DD file to gcode Empty
PostSubject: DD file to gcode   DD file to gcode EmptyTue Nov 24, 2020 3:10 am

I spent a few minutes tonight trying to figure out how to get the gcode out of a dd file, and it turns out it's pretty easy, and I wrote a script in python to rip it out. I can throw it up on github if it would be of interest.

Now the tricky part becomes making it work for the Flex since there are a bunch of different steps. I'm unfamiliar with CNC, but on my 3D printer, you manually have to select 1 step at a time, so I'm not sure if there is a way to automate running through the steps and with the Flex. But definitely progress.

Here's a little snippet:
Quote :
$H (Home)
g0 y-0.9 (prepare for dummy probe move)
$C
G38.3 Y-1 F100 (verifies latest firmware is installed before cutting; G38.3 isn't supported in v0.9)
$C
M5 (stop motor if running)
G92.1 (Clear offsets if set)

(Set WCS G55 zero to home position)
G10 L20 P2 X0 Y0 Z0
G55 (Enter WCS G55)
G90 (Abs position)
G21 (mm)

G53 G0 X-1 Y-70 (Move to GG center)
G53 G0 Z-60 (Plunge for 0.250 end mill install)
Back to top Go down
GGdesigner




Posts : 7
Join date : 2020-11-24

DD file to gcode Empty
PostSubject: Re: DD file to gcode   DD file to gcode EmptyTue Nov 24, 2020 12:49 pm

All you need to do is change ".dd" to ".zip" and then expand it.
Back to top Go down
gauntlet-eternal




Posts : 11
Join date : 2020-10-29

DD file to gcode Empty
PostSubject: Re: DD file to gcode   DD file to gcode EmptyTue Nov 24, 2020 1:03 pm

Yeah, that's essentially what my script does Smile
Back to top Go down
Sponsored content





DD file to gcode Empty
PostSubject: Re: DD file to gcode   DD file to gcode Empty

Back to top Go down
 
DD file to gcode
Back to top 
Page 1 of 1
 Similar topics
-
» File and Media Best Practices
» Code editing of Ghost Gunner AR cutting file for PROBE start postion

Permissions in this forum:You cannot reply to topics in this forum
GGFlex Project User Community :: Community Posts :: Project Discussion-
Jump to: