Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Integrated Python Console #1506

Open
qwertymodo opened this issue Dec 24, 2022 · 1 comment
Open

Feature Request: Integrated Python Console #1506

qwertymodo opened this issue Dec 24, 2022 · 1 comment

Comments

@qwertymodo
Copy link
Contributor

Feature Request

Describe the Feature

It would be incredibly helpful in the development of plugins/scripts if there was an integrated Python console available inside OpenPnP. Not only would it allow convenience features like autocomplete that don't work in a standard python console that is unaware of the openpnp binding namespace, but it would also allow for the direct testing of small code snippets right in the app, rather than having to write a script, import it, then execute it.

How Will It Look?

A tab would be added into the right-hand GUI panel (probably the bottom portion, but it doesn't matter), which would contain a large text field operating as a standard python console. Entering commands into the console would operate just as it would in a standard python console, except with the ability to talk to the OpenPnP API directly, so calling functions in the OpenPnP namespace should actually work as they would if they were being called from an installed script.

Why Do We Need It?

  1. It would greatly improve the QoL for plugin/script development
  2. It is useful for anybody wanting to attempt scripting in OpenPnP

Provide Examples

Psychogenic Technologies has created an ingenious, but cumbersome workaround to implement a working live console, as shown in his video here (around the 3:40 mark): https://youtu.be/qK27IgejNz4, showing how powerful it is to have access to such an interface. It would be much more convenient to not have to set up that complex workaround and simply have access to the functionality directly in the OpenPnP GUI.

@Vultik
Copy link

Vultik commented Mar 17, 2023

It will be done with Python 2 or Python 3 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants