NativeCAM is Features renamed
$ linuxcnc /home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini
or specify a relative path for the inifile
Fern
Please Log in or Create an account to join the conversation.
I'll run it as you said and let you know!
Thanks for your support!
Please Log in or Create an account to join the conversation.
gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py:2442: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()
Previous work not saved as current work
/usr/bin/gladevcp:185: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
builder.add_from_file(xmlname)
**** probe_screen GETINIINFO ****
Preference file path: /home/alexian79/linuxcnc/configs/mach3bob/mach3bob.pref
Xlib.protocol.request.QueryExtension
Xlib.protocol.request.QueryExtension
/usr/bin/gladevcp:295: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15
gtk.main()
HAL: ERROR: duplicate component name 'gladevcp'
*** GLADE VCP ERROR: Asking for a HAL component using a name that already exists.
Please Log in or Create an account to join the conversation.
Previous warning is from a pygtk bug and only affect some menu accelerators, never pay attention to this/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py:2442: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()
Looks like you are trying to load a new file with gladevcp. I do not think your error to be related to NativeCAM. You could post your inifile./usr/bin/gladevcp:185: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
builder.add_from_file(xmlname)
**** probe_screen GETINIINFO ****
Preference file path: /home/alexian79/linuxcnc/configs/mach3bob/mach3bob.pref
Xlib.protocol.request.QueryExtension
Xlib.protocol.request.QueryExtension
/usr/bin/gladevcp:295: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15
gtk.main()
HAL: ERROR: duplicate component name 'gladevcp'
*** GLADE VCP ERROR: Asking for a HAL component using a name that already exists.
When testing NativeCAM, you should try the included demos first and make sure everything is fine before integrating with your setup.
Fern
Please Log in or Create an account to join the conversation.
It should but I also recommend you try the demos.I have started it by clicking the link I had on the desktop. I thought that's using the updated ini file.
If you still have problems, delete '/home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini' and rename your backup '/home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini.bak' to '/home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini'
then run $ ncam -c lathe -i /home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini
without the -t option
then try $ linuxcnc /home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini
It would also be helpful to post the inifiles your try
Fern
Please Log in or Create an account to join the conversation.
i have created some icons for the lathe-menu and also edited the menu.xml
<ncam_ui>
<menu>
<menu action='tools' name=_("Tool")_ icon="lathe-tool.png">
<menuitem action='ch_tool' name=_("Change Cutter")_ tool_tip= _("Change cutter")_ icon="lathe-tool-change.png" src="lathe/tool-change.cfg"/>
</menu>
<menu action='cutting' name=_("Cutting")_ icon="threading.png">
<menuitem action='boring' name=_("Boring")_ tool_tip= _("Boring")_ icon="lathe-surface-id.png" src="lathe/boring.cfg"/>
<menuitem action='turning' name=_("Turning")_ tool_tip= _("Turning")_ icon="lathe-surface.png" src="lathe/turning.cfg"/>
<menuitem action='parting' name=_("Parting")_ tool_tip= _("Parting")_ icon="lathe-depth-step.png" src="lathe/parting.cfg"/>
<menuitem action='facing' name=_("Facing")_ tool_tip= _("Cut face")_ icon="lathe-facing.png" src="lathe/facing.cfg"/>
<menuitem action='threading' name=_("Threading")_ tool_tip= _("Threading")_ icon="threading.png" src="lathe/threading.cfg"/>
<menuitem action='radius_od' name=_("Radius OD")_ tool_tip= _("Radius OD")_ icon="lathe-half-ball-od.png" src="lathe/radius_od.cfg"/>
<menuitem action='radius_id' name=_("Radius ID")_ tool_tip= _("Radius ID")_ icon="lathe-half-ball-id.png" src="lathe/radius.cfg"/>
<menuitem action='taper_ida' name=_("Taper IDA")_ tool_tip= _("inside diameter taper")_ icon="lathe-taper_ida.png" src="lathe/taper_ida.cfg"/>
<menuitem action='taper_idl' name=_("Taper IDL")_ tool_tip= _("Inside taper by length and small/large diameter/radius")_ icon="lathe-taper-idl.png" src="lathe/taper_idl.cfg"/>
<menuitem action='taper_idla' name=_("Taper IDLA")_ tool_tip= _("Taper IDLA")_ icon="lathe-taper-idla.png" src="lathe/taper_idla.cfg"/>
<menuitem action='taper_oda' name=_("Taper ODA")_ tool_tip= _("Taper ODA")_ icon="lathe-taper-oda.png" src="lathe/taper_oda.cfg"/>
<menuitem action='taper_odl' name=_("Taper ODL")_ tool_tip= _("Taper ODL")_ icon="lathe-taper-odl.png" src="lathe/taper_odl.cfg"/>
<menuitem action='taper_odla' name=_("Taper ODLA")_ tool_tip= _("Taper ODLA")_ icon="lathe-taper-odla.png" src="lathe/taper_odla.cfg"/>
</menu>
<menu action='misc' name=_('Miscellaneous')_ icon='misc.png'>
<menuitem action='group_std' name=_('Standard Group')_ tool_tip=_('Group subroutines')_ icon="group.png" src="group.cfg"/>
<menuitem action='gcode_file' name=_('Insert a G Code File')_ tool_tip= _('Include a custom gcode file')_ icon="file-gcode.png" src="i_gcode.cfg"/>
<menuitem action='gcode' name=_('Custom G Code')_ tool_tip= _('Write custom gcode')_ icon="gcode.png" src="gcode.cfg"/>
<menuitem action='stock' name=_('Material')_ tool_tip=_('Group subroutines')_ icon="group.png" src="lathe/material.cfg"/>
</menu>
</menu>
<toolbar>
<toolitem action='ch_tool' />
<separator/>
<toolitem action='facing' />
<toolitem action='turning' />
<toolitem action='boring' />
<toolitem action='parting' />
<toolitem action='radius_od' />
<toolitem action='radius_id' />
<toolitem action='taper_ida' />
<toolitem action='taper_idla' />
<toolitem action='taper_idl' />
<toolitem action='taper_oda' />
<toolitem action='taper_odl' />
<toolitem action='taper_odla' />
<toolitem action='threading' />
<toolitem action='group_std' />
<separator/>
<toolitem action='gcode' />
<toolitem action='gcode_file' />
</toolbar >
</ncam_ui>
use it if you want.
Niko
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
These are very nice and will be used for sure. However it should be added to icons.svg and saved with the project. Could you send the svg file or send a pull request on github ?
Regards
Fern
Please Log in or Create an account to join the conversation.
Regards
Niko
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.