How to disable preview in Gmocappy

More
4 years 3 months ago #248417 by HansU
Maybe we could also add an option in the ini file to disable the preview like the guys of machinekit did:

groups.google.com/g/machinekit/c/xN_nHGH-Czo?pli=1
github.com/machinekit/machinekit/commit/...88e07eb6651bf10266dc

The docs there say:
  • 'DISABLE_PREVIEW = YES'Loading big files can seriously slow down or even crash Axis if the preview is enabled,
    because it consumes huge amounts of memory.
    This option turns the preview off. The live plot will still be drawn.
It sounds nice that the live plot is still available.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #248622 by cmorley
That is a good idea. I recently added (PREVIEW,) as an alternative to AXIS to be more generic.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #248628 by HansU

That is a good idea.

To which of my two posts is this related?

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #248630 by cmorley
sorry, I was speaking of the documentation.
QtDragon already has this:
linuxcnc.org/docs/devel/html/gui/qtdragon.html#_preview_control

I have no strong opinion of your other suggestion, but if done it should be done for all GUIs so affects code in three files - but the code changes would be very similar.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #249860 by tarasko
Thanks. I tried and this command does not decrease cpu consumtion. When I'm loading huge file and after that trying to set G54 X0 Y0 Z0 each time I need to wait huge amount of time during zeroing each axis.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #252665 by HansU
And unfortunately it also doesn't allow to program endless loops.

Please Log in or Create an account to join the conversation.

Moderators: newbynobi, HansU
Time to create page: 0.247 seconds
Powered by Kunena Forum