Hello Guest it is March 28, 2024, 07:55:12 PM

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

0 Members and 1 Guest are viewing this topic.

Offline DazTheGas

*
  •  778 778
  • 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
New For 2022 - Instagram: dazthegas

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,624 5,624
  • 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!