Hello Guest it is April 26, 2024, 06:44:47 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DazTheGas

531
Mach4 General Discussion / Re: Gcode mishaps
« on: March 29, 2016, 04:43:52 PM »
Check your gcode theres prob a retract height set by the cam program to start from.

DazTheGas

532
Mach4 General Discussion / Re: Open Mach4 with default toolpath
« on: March 29, 2016, 04:37:19 PM »
Yep checked on fresh install of mach4 and added last 2 lines and works as should.

DazTheGas

533
Mach4 General Discussion / Re: Open Mach4 with default toolpath
« on: March 29, 2016, 08:19:22 AM »
Quote
First of all, the slash (/) has to be in this direction or you get a syntax error.

The code I posted is 100% correct way of doing it and they want to be last 2 lines of the screenload script.

I will check again when near machine.

DazTheGas

534
Mach4 General Discussion / Re: Working with LUA
« on: March 28, 2016, 11:43:13 AM »
Heres a snippet from one of my panels if it helps

Code: [Select]
DTG = {}
DTG.panel = nil

        DTG.panel = mcLuaPanelParent;
local window = DTG.panel:GetParent();
window:SetBackgroundColour(wx.wxColour(153,180,209));
window:Refresh();
local wsize = window:GetSize();
DTG.panel:SetSize(wsize);   
     

DazTheGas

535
Mach4 General Discussion / Re: Working with LUA
« on: March 28, 2016, 10:38:12 AM »
You cannot access the mcLuaPanelParent from a debug session its impossible as the panel parent is the main gui, the main gui is disabled whilst in the editor.

DazTheGas

536
Mach4 Videos / Warp9 ESS V2 Plugin Preview
« on: March 27, 2016, 10:21:16 AM »
As a beta tester for the new plugin I am able to show you a sneek preview of the new plugin with permission from Warp9.


Press for Plugin Preview


Its Cool

DazTheGas

537
Mach4 General Discussion / Re: GetProperty LED
« on: March 18, 2016, 06:45:03 PM »
You seem to be missing an "=" after the local FeedLeftLED

Code: [Select]
local FeedLeftLED = scr.GetProperty("FeedLeftLED", "Value")
    if (FeedLeftLED == "1") then
            scr.SetProperty("FeedLeftLED", "Value", "0")
        else
            scr.SetProperty("FeedLeftLED", "Value", "1")
    end

DazTheGas

538
Mach4 General Discussion / Re: MPG mode Always On
« on: March 16, 2016, 03:08:34 AM »
I have no way of testing as no pokeys but try a combination of using OSIG_JOG_ENABLED or OSIG_JOG_MPG with mcCntlIsInCycle,

so basically disable the mpg or jogging whilst in a cycle

DazTheGas

539
Mach4 General Discussion / Re: Open Mach4 with default toolpath
« on: March 14, 2016, 06:17:45 PM »
Theres always a way :-)

You will need to use 2 commands here within the screen load script.

From the screen editor you will need to edit the bottom of the screen load script with  mc.mcCntlLoadGcodeFile(inst, stringFileToLoad) first then create the toolpath with  mc.mcToolPathGenerate(inst)

Example with roadrunner.

Code: [Select]
    mc.mcCntlLoadGcodeFile(inst, "C:\\Mach4Hobby\\GcodeFiles\\roadrunner.tap")
    mc.mcToolPathGenerate(inst)

Hope this helps

DazTheGas

540
Mach4 General Discussion / Re: PLUGIN signals access via LUA?
« on: March 10, 2016, 01:48:52 AM »
Quote
DAZ they are very interesting boards to use but the ESS is close to being as good

Sometimes i like to just play but i think this time i wont buy a pokeys as i will prob be playing loads with the ESS as there is an api being developed to access the ESS direct,"this will be cool"

DazTheGas