584,833 active members*
5,749 visitors online*
Register for free
Login
Results 1 to 12 of 12
  1. #1
    Join Date
    Aug 2022
    Posts
    23

    REMOVE Buttons from the toolbars

    Hi there,

    i know about the possibility of ADDING own buttons to the toolbars. But is there an option the REMOVE some? I only use 2D Mode for my plasma. So all of the views except for the top one are useless for me. Also some of the GCodes on the sidebar.

    Do i have to use the same files as in the adding of a button? I use the Linux Version if that matters with the filepaths.

    Got suggestions where to start?

  2. #2
    Join Date
    Aug 2020
    Posts
    131

    Re: REMOVE Buttons from the toolbars

    As far as I'm aware there is no way to remove only a few specific default buttons.
    There is a Setting to remove all default buttons and only show those that are configured in the corresponding buttons.txt files.
    So its a "remove everything" and "add what you need" approach.

  3. #3
    Join Date
    Aug 2022
    Posts
    23

    Re: REMOVE Buttons from the toolbars

    I hoped for an easier to do solution. I can't even find the buttons.txt-Files under Linux.

  4. #4
    Join Date
    Aug 2020
    Posts
    131

    Re: REMOVE Buttons from the toolbars

    that's normal, you need to create them yourself:
    https://planet-cnc.com/adding-user-t...-tng-software/

    fi you are interested you can have a look at my configuration, I did the same thing and maybe it gets you started on the most important ones:
    https://github.com/Klaus-Michael/Pla...in/KMS-DIY-CNC

  5. #5
    Join Date
    Aug 2022
    Posts
    23

    Re: REMOVE Buttons from the toolbars

    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.

  6. #6
    Join Date
    Aug 2020
    Posts
    131

    Re: REMOVE Buttons from the toolbars

    you did restart TNG?
    it need to be in the directory of your currently used profile, not in the base proflie
    on linux, the user that is running TNG needs to be able to read those files

  7. #7
    Join Date
    Aug 2022
    Posts
    23

    Re: REMOVE Buttons from the toolbars

    Yes, i restarted it several times. The Files are under Profiles in the PlanetCNC directory. I tried the default, the one where the program itself sits... nothing worked out. Is there another one i haven't thought of?

  8. #8
    Join Date
    Aug 2020
    Posts
    131

    Re: REMOVE Buttons from the toolbars

    If you are using the default Profile the *txt files needs to go into the default profile

    <YourPlanetCNCInstallDirectory>/Profiles/Default/

  9. #9
    Join Date
    Feb 2011
    Posts
    138

    Re: REMOVE Buttons from the toolbars

    I have it here:
    "c:\Program Files\PlanetCNC\Profiles\Default\" win10.....

  10. #10
    Join Date
    Aug 2022
    Posts
    23

    Re: REMOVE Buttons from the toolbars

    Now it's in the default directory. As far as i know i use this. Wouldn't even know, where to find another than default. Still doesn't work after restarting TNG.

  11. #11
    Join Date
    Aug 2020
    Posts
    131

    Re: REMOVE Buttons from the toolbars

    Do you have all the icons in the correct path in the default profile directory as well?
    because if not it might noch display them due to this. maybe give them just a name and no icon for starters
    for example something like this:

    cmd: "Machine.Start" "Start" imagechange="true" stroke=1.1
    cmd: "Machine.Stop" "Stop" imagechange="true" stroke=1.1
    cmd: "Machine.Pause" "Pause" imagechange="true" stroke=1.1

  12. #12
    Join Date
    Aug 2022
    Posts
    23

    Re: REMOVE Buttons from the toolbars

    Wow, it worked. I renamed the ICON Folder and there they are, my buttons! Way better now, thanks!

Similar Threads

  1. Removing default buttons from the toolbars
    By mgravet in forum PlanetCNC
    Replies: 4
    Last Post: 10-23-2020, 03:26 PM
  2. Can't see toolbars
    By dkrenfrow in forum Mastercam
    Replies: 7
    Last Post: 11-13-2012, 02:57 PM
  3. Toolbars
    By barbter in forum NCPlot G-Code editor / backplotter
    Replies: 1
    Last Post: 03-21-2009, 02:37 AM
  4. Mcam 9.0 toolbars
    By BTC 111 in forum Mastercam
    Replies: 1
    Last Post: 03-04-2009, 04:34 AM
  5. toolbars
    By blouie in forum Esprit
    Replies: 3
    Last Post: 02-11-2008, 10:51 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •