Alright i managed it to create the topbuttons file.
Code:
cmd: "Machine.Emergency_Stop" "" image="Icons/IMG_EStop.svg"
---
cmd: "File.Open_..." "" image="Icons/IMG_FileOpen.svg" imagechange="true" stroke=1.1
---
cmd: "Machine.Start" "" image="Icons/IMG_Start.svg" imagechange="true" stroke=1.1 color=#00aa00
cmd: "Machine.Stop" "" image="Icons/IMG_Stop.svg" imagechange="true" stroke=1.1 color=#8888ff
cmd: "Machine.Pause" "" image="Icons/IMG_Pause.svg" imagechange="true" stroke=1.1 color=#ffff88
---
cmd: "View.Top_View" "" image="Icons/IMG_ViewTop.svg" imagechange="true" stroke=1.1
---
cmd: "View.Zoom_In" "" image="Icons/IMG_ZoomIn.svg" imagechange="true" stroke=1.1
cmd: "View.Zoom_Out" "" image="Icons/IMG_ZoomOut.svg" imagechange="true" stroke=1.1
cmd: "View.Zoom_Position" "" image="Icons/IMG_ZoomPosition.svg" imagechange="true" stroke=1.1
cmd: "View.Zoom_Part" "" image="Icons/IMG_ZoomPart.svg" imagechange="true" stroke=1.1
---
cmd: "Machine.Spindle" "" image="Icons/IMG_Spindle.svg" imagechange="true" stroke=1.1
And the sidebuttons:
Code:
cmd: "Machine.Move.To_Zero" "" image="Icons/IMG_GoToZero.svg" imagechange="true" stroke=1.1
cmd: "Machine.Move.Axis_To_Zero.XY" "" image="Icons/IMG_GoToXY.svg" imagechange="true" stroke=1.1
---
cmd: "Machine.Work_Position.Offset.To_Zero" "" image="Icons/IMG_OffsetZero.svg" imagechange="true" stroke=1.1
cmd: "Machine.Work_Position.Axis_To_Zero.XY" "" image="Icons/IMG_OffsetXY.svg" imagechange="true" stroke=1.1
cmd: "Machine.Work_Position.Axis_To_Zero.Z" "" image="Icons/IMG_OffsetZ.svg" imagechange="true" stroke=1.1
cmd: "Machine.Work_Position.Measure_Height" "" image="Icons/IMG_MeasureOff.svg" imagechange="true" stroke=1.1
---
cmd: "Machine.Home" "" image="Icons/IMG_Home.svg" imagechange="true" stroke=1.1
I copied it into the profiles directory as BtnTop and BtnRight.txt. But nothing changes in PCNC.