Camview in Axis

More
6 years 8 months ago #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

Attachment not found



Thank you

Please Log in to join the conversation.

More
6 years 8 months ago #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 to join the conversation.

More
6 years 8 months ago #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.

Please Log in to join the conversation.

More
6 years 7 months ago #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.
Code:
<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>
Code:
<glade-widget-class-ref name="CamView"/>
Code:
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 to join the conversation.

More
6 years 7 months ago #159209 by mmt
Replied by mmt on topic Camview in Axis
Got it working. Thank you so much Chris.

Please Log in to join the conversation.

More
6 years 7 months ago #159216 by cmorley
Replied by cmorley on topic Camview in Axis
Excellent - sorry about the wait.

Please Log in to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum