Postprocessor list empty in Toolbar

Discussions around the CAM Add-On of QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Indicate the post processor used.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
artisanicview
Active Member
Posts: 33
Joined: Sat Jun 19, 2010 6:23 pm

Postprocessor list empty in Toolbar

Post by artisanicview » Wed Jun 12, 2024 5:19 pm

I do want to modify a postprocessor and unfortunately I don't understand why their are not shown on the postprocessor popup list from the toolbar? They do appear on the ApplicationPreferences/Cam Export/Configuration used for new drawings, as shown bellow. How I can fix this issue?
Attachments
Postprocessor_not_showing_up_Preferences.png
Postprocessor_not_showing_up_Preferences.png (31.3 KiB) Viewed 58327 times
Postprocessor_not_showing_up_Toolbar.png
Postprocessor_not_showing_up_Toolbar.png (50.83 KiB) Viewed 58327 times

CVH
Premier Member
Posts: 4920
Joined: Wed Sep 27, 2017 4:17 pm

Re: Postprocessor list empty in Toolbar

Post by CVH » Thu Jun 13, 2024 5:07 am

Hi,

First:
- Your QCAD/CAM GUI is customized in a very peculiar way. :roll:
The CAM toolbar is best placed under the Options Toolbar.
The Options Toolbar is best placed alone and aligned at the left because it will expand depending the current tool options.
I see no need to place the Widgets Toolbar horizontally and in front of the Options Toolbar.

- It is not a good idea to move all the standard included postprocessors to a subfolder called '_Other'.
On a next update they will reappear in the intended folder 'postprocessors'.
For the moment I can not come up with a method for excluding standard postprocessors from the list.
Best is to preset your default configuration for new drawings.


In the App.Prefs. SCM1 and SCM_2 are listed but that is probably based on the available files. (GCodeBase.js is not listed by default)
Is there any error message on the Command Line History?
This Widget should be displayed because it is marked as active in your Widgets Toolbar ...
Perhaps you need to make the Command Line box higher to see more than one line of text.

I expect you didn't alter anything in GCodeBase.js (See header).
I also expect that both SCM posts are directly based on GCodeBase.js.

Have you defined any and a distinct display name for both SCM scripts? An empty string will not list them.
Does moving one of the SCM's to the subfolder '_Other' fixes the empty postprocessors list?
Close QCAD and reload it after you moved the file.
Ifso then the one you moved away has an error in it.
Also try adding back a standard post like GCodeMM.js for example.

It might have been helpful if you attached both custom postprocessors. :wink:

Regards,
CVH

artisanicview
Active Member
Posts: 33
Joined: Sat Jun 19, 2010 6:23 pm

Re: Postprocessor list empty in Toolbar

Post by artisanicview » Thu Jun 13, 2024 8:29 am

I deleted the QCAD3.ini from the "AppData\Roaming\QCAD" folder and started Qcad again with the default values.
I reinstalled everything from scratch, placed the two postprocessors into the postprocessors folders and still not working.
Postprocessor_not_shown_prefs.png
Postprocessor_not_shown_prefs.png (40.47 KiB) Viewed 58229 times
Postprocessor_not_shown_popup.png
Postprocessor_not_shown_popup.png (53.44 KiB) Viewed 58229 times

User avatar
andrew
Site Admin
Posts: 8774
Joined: Fri Mar 30, 2007 6:07 am

Re: Postprocessor list empty in Toolbar

Post by andrew » Thu Jun 13, 2024 8:38 am

Please attach your post processor files as these are relevant in helping you. Thanks,

CVH
Premier Member
Posts: 4920
Joined: Wed Sep 27, 2017 4:17 pm

Re: Postprocessor list empty in Toolbar

Post by CVH » Thu Jun 13, 2024 8:39 am

artisanicview wrote:
Thu Jun 13, 2024 8:29 am
I reinstalled everything from scratch, placed the two postprocessors into the postprocessors folders and still not working.
Then we need to have a look at the content of the JS files ... :wink:
Sometimes it may be a simple point or comma or it may be looking for a needle in a haystack.
Otherwise it may be obvious at first glance for a trained eye.
:wink:

Regards,
CVH

artisanicview
Active Member
Posts: 33
Joined: Sat Jun 19, 2010 6:23 pm

Re: Postprocessor list empty in Toolbar

Post by artisanicview » Fri Jun 14, 2024 8:08 am

I think the problem was a missing comma at the end of a new line that I created.

Post Reply

Return to “QCAD/CAM”