Camview in Axis

More
25 Feb 2020 18:11 - 25 Feb 2020 18:13 #158478 by mmt
Camview in Axis was created by mmt
I posted this in the camview thread but didnt get a response

I am trying to get camview to run in a tab in axis. I have followed the instruction in the readme file and it runs great as a standalone but i just get a blank tab in axis. I think i may need to run CamPY_setup.py but I get the following message when i try. See screenshot.

I am running Deb 9 Stretch Linuxcnc 2.7.14



Thank you
Attachments:
Last edit: 25 Feb 2020 18:13 by mmt. Reason: wrong pic

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

More
25 Feb 2020 20:28 #158490 by cmorley
Replied by cmorley on topic Camview in Axis
Could you post the camPy program?
If all else fails you could add this line manually to the appropriate file but lets see if we can fix the script - it seems Norbert doesn't have as much time for linuxcnc as he used to.

Chris

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

More
26 Feb 2020 13:58 #158539 by mmt
Replied by mmt on topic Camview in Axis
Here you go chris
Here is the readme that I followed and the file.
Attachments:

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

More
03 Mar 2020 20:34 #159105 by cmorley
Replied by cmorley on topic Camview in Axis
Here is the basic process to add widgets to the GLADE editor.

wiki.linuxcnc.org/cgi-bin/wiki.pl?GladeV...dget_to_GLADE_editor

I involves 3 files.
<glade-widget-class name="CamView" generic-name="camview" title="Cam View">
            <properties>
                <property id="size" query="False" default="1" visible="False"/>
                <property id="spacing" query="False" default="0" visible="False"/>
                <property id="homogeneous" query="False" default="0" visible="False"/>
            </properties>
        </glade-widget-class>
<glade-widget-class-ref name="CamView"/>
from camview import CamView

Then you need to add camview.py to the folder that hal_pythonplugin.py is in.

Let me know if you need more detail.

Chris

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

More
04 Mar 2020 19:31 #159209 by mmt
Replied by mmt on topic Camview in Axis
Got it working. Thank you so much Chris.

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

More
04 Mar 2020 20:19 #159216 by cmorley
Replied by cmorley on topic Camview in Axis
Excellent - sorry about the wait.

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

Time to create page: 0.167 seconds
Powered by Kunena Forum