Hello Guest it is June 16, 2019, 09:46:15 PM

Author Topic: Load GCode NO TOOLPATH  (Read 2281 times)

0 Members and 1 Guest are viewing this topic.

Offline DazTheGas

*
  •  746 746
  • DazTheGas
    • View Profile
Load GCode NO TOOLPATH
« on: September 28, 2015, 09:16:29 AM »
If you have gcode you know works, and you dont need to sit and watch the toolpath, then use this and save your processor and memory..

create a new button and in the left up script place.

Code: [Select]
local inst = 0

local fileDialog = wx.wxFileDialog(wx.NULL,
                                           "Open 'GCode File' No ToolPath",
                                           "",
                                           "",
                                           "GCode files (*.tap)|*.tap|All files (*)|*",
                                            wx.wxFD_OPEN + wx.wxFD_FILE_MUST_EXIST)

    if fileDialog:ShowModal() == wx.wxID_OK then
    GCodeFilename = fileDialog:GetPath()
    mc.mcCntlLoadGcodeFile(inst, GCodeFilename)
    --mc.mcToolPathGenerate(inst) -- uncomment to create toolpath
    else
        return -- quit program
    end

DazTheGas
Theres always time for a choccy biccy

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Load GCode NO TOOLPATH
« Reply #1 on: September 28, 2015, 04:20:45 PM »
well done daz

Offline Chaoticone

*
  • *
  •  5,502 5,502
  • Precision Chaos
    • View Profile
Re: Load GCode NO TOOLPATH
« Reply #2 on: September 28, 2015, 06:21:43 PM »
Nice!
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!