--ThanksPranav
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
If you want to simplify your life, and don't mind a remote interface, I would go a little different route.Axis still sucks on the BBB due to software rendering sucking up most of the CPU. The solution to that is use a remote interface. The one for 3D printing is 'Machineface'.That and the trajectory planner doesn't work as well with > 3 axis. The solution to that is 'velocity extrusion'. There is no E then, so 3 axis will do it.
Start here:http://machinekoder.com/machinekit-and-cura/ for integrating cura. It's a plugin to directly produce the ngc files from cura which velocity extrusion uses.The reason you are getting the errors is differences in what the slicers output compared to real gcode. They break some rules from real gcode, and add some things.
Here is a config made for Machineface and velocity extrusion.This has been integrated into machinekit though, so you'll find it in configs, and it's built for CRAMPS too I believe.
We can't guess what these errors are. Have a read at this:
Then pastebin your errors and provide a link so we can see.
Your g-code file works with the extruder as 'E' axis, and Machinekit uses the 'A' after the X, Y and Z axes.
Change your slicing printer settings so that Gcode flavor is "Mach3/LinuxCNC"
Your g-code file works with the extruder as 'E' axis, and Machinekit uses the 'A' after the X, Y and Z axes.
Change your slicing printer settings so that Gcode flavor is "Mach3/LinuxCNC"This worked. I successfully imported the g-code into Axis UI, but when I start executing the file an error pops up on the bottom saying " Unknown m code used: M190". I have read Machinekit supports this m code and it instructs the system to wait till the bed temperature reaches the target temperature.
I have attached the error snapshot here. I have used this plugin for Cura: https://github.com/machinekoder/uni-print-3d-cura
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
<Error_2.jpg>
Which configuration do you use? Please provide a link to the file in your own or the machinekit repo so we can see.CRAMPS Configuration.
Link please (no attachment, I won't open it) to exact file, either on Machinekit repository or your own github fork
I mean the link to the configuration you use. the .INI file you load
You're missing the remap section I pointed to in the previous post
Just try it out.Copy the file to the BBB and choose that new config when you start Machinekit and test it out.
well, the first line states your problem. A file isn’t found. so you probably have a path problem.please do read these informations carefully. because it will give you clues.to get the location of the file (which should be available) on your system typein the terminal: “sudo find / -name g22.ngc”now before you start please do in the terminal “export DEBUG=5”run machinekit
Assume the code is defined as
REMAP=M400 modalgroup=10 argspec=Pq ngc=m400
and m400.ngc looks as follows:
o<m400> sub (P is required since it's uppercase in the argspec) (debug, P word=#<P>) (the q argspec is optional since its lowercase in the argspec. Use as follows:) o100 if [EXISTS[#<q>]] (debug, Q word set: #<q>) o100 endif o<m400> endsub M2
executing M400 will fail with the message user-defined M400: missing: P
executing M400 P123 will display P word=123.000000
executing M400 P123 Q456 will display P word=123.000000 and Q word set: 456.000000
On 31 Aug 2017, at 13:28, Pranav Pandey <pran...@gmail.com> wrote:well, the first line states your problem. A file isn’t found. so you probably have a path problem.please do read these informations carefully. because it will give you clues.to get the location of the file (which should be available) on your system typein the terminal: “sudo find / -name g22.ngc”now before you start please do in the terminal “export DEBUG=5”run machinekitDone. The issue has been eliminated by using the following CRAMPS Config. https://github.com/machinekoder/MendelMax-CRAMPS/blob/master/CRAMPS.iniBut now on importing the g-code I get the following errors:user-defined M190: missing: P
It clearly states you are missing a ‘P’ argumentso take a look at your g-code where M190 is used and see if it has a P argument
No, I didn't use the Cura 2.1.3. I am using the latest version 2.7. I will try with the 2.1.3 version once
halcmd loadusr io started
Traceback (most recent call last):
File "fabrikator_mini.py", line 8, in <module>
from fdm.config import velocity_extrusion as ve
ImportError: No module named config
Shutting down and cleaning up Machinekit...
Hi Folks,This is my first post on this group. I am working on integrating 3d printing and CNC Milling in a single machine. I have worked with Arduino Mega before and have run the machine on the Marlin firmware.However I am interested in using the Machine kit platform to run my 3d printer. My background is Electrical and hence have only basic knowledge about coding. I would like to know if someone has successfully 3D Printed using the above setup. If yes, Can you please share some links or procedure for the same?ThanksPranav
The following packages have unmet dependencies:
machinekit-xenomai : Depends: machinekit (= 0.1.1504202989-1mk.travis.luminizepatch1.git59e91621~1jessie) but 0.1.1486851828-1mk.travis.master.gitcbd2dfd3~1jessie is to be installed
E: Unable to correct problems, you have held broken packages.
0.1.1486851828 it is working from an old package
list
, which means it has not been updated
properly.
On 03/09/17 23:37, 'machinen' via Machinekit wrote:
The dist-aupgrade removes machinekit packages from system. There is this problem:
The following packages have unmet dependencies:
machinekit-xenomai : Depends: machinekit (= 0.1.1504202989-1mk.travis.luminizepatch1.git59e91621~1jessie) but 0.1.1486851828-1mk.travis.master.gitcbd2dfd3~1jessie is to be installed
E: Unable to correct problems, you have held broken packages.
Problem is that as I don't speak Python, I don't know where the file (assembly?) fdm.config should be or better yet from which file it is attempting to load/import.
I don't speak parseltongue either, but this is nothing to do with python
This is the package list for Jessie armhf
http://deb.machinekit.io/debian/dists/wheezy/main/binary-armhf/Packages
As you will see the machinekit-xenomai and machinekit versions are both at 0.1.1504202989, so if your apt is trying to fetch0.1.1486851828 it is working from an old package list
, which means it has not been updated properly.
apt-get remove machinekit machinekit-xenomai
apt-get update
apt-get install machinekit-xenomai
should hopefully restore things. ( If apt uninstalls other packages when you do the uninstall, make sure you install those again too)
As for where the fdm stuff is installed, /usr/lib/python2.7/dist-packages/fdm
It has not changed for yonks, so updating packages achieves nothing.
0.1.1486851828-1mk.travis.master.gitcbd2dfd3~1jessie
that serial is
ancient
.
On 04 Sep 2017, at 14:38, 'machinen' via Machinekit <machi...@googlegroups.com> wrote:Somehow I didn't have the fdm folder on my system - probably from mucking around. However I did a new flash of clean bone-debian-8.7-machinekit-armhf-2017-02-12-4gb.img.xz image and sure there it is. Unfortunately when the first thing when I log into this new install I do is run machinekit and select the Fabrikator Mini CRAMPS configuration, then try the ./run.py script I still get the same error.
bone-debian-8.7-machinekit-armhf-2017-02-12-4gb.img.xz from elinux.org/Beagleboard:BeagleBoneBlack_Debian which is from february so I am not surprised that it is old.
However in sources.list there is:
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
#deb-src http://httpredir.debian.org/debian/ jessie main contrib non-free
deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free
#deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
##deb-src http://httpredir.debian.org/debian jessie-backports main contrib non-free
deb [arch=armhf] http://deb.machinekit.io/debian jessie main
#deb-src [arch=armhf] http://deb.machinekit.io/debian jessie main
#Kernel source (repos.rcn-ee.com) : https://github.com/RobertCNelson/linux-stable-rcn-ee
#
#git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git checkout `uname -r` -b tmp
#
deb [arch=armhf] http://repos.rcn-ee.com/debian/ jessie main
#deb-src [arch=armhf] http://repos.rcn-ee.com/debian/ jessie main
And the sources.list.d folder is empty. And I didn't change anything.
why do you run machinekit with that configuration as well as the run.py script?
Am I right in that you cloned this repository?if so, then cd into that directory and run the run.py script from there. No need to start machinekit too.Traceback (most recent call last):
File "fabrikator_mini.py", line 8, in <module>
from fdm.config import velocity_extrusion as ve
ImportError: No module named configthis error is saying it can’t find this the “config” folder like here https://github.com/machinekit/machinekit/tree/luminize-patch-1/lib/python/fdm/config.in a terminal type “sudo find / -name velocity_extrusion.py” or “sudo find / -name base.py”what does it say?
machinekit@beaglebone:/etc/apt$ sudo find / -name base.py
/usr/lib/python3.4/email/mime/base.py
/usr/lib/python2.7/email/mime/base.py
/usr/lib/python2.7/dist-packages/pylint/checkers/base.py
/usr/lib/python2.7/dist-packages/cryptography/hazmat/primitives/ciphers/base.py
/usr/lib/python2.7/dist-packages/blinker/base.py
/usr/lib/python2.7/dist-packages/zmq/auth/base.py
/usr/lib/python2.7/dist-packages/pyasn1/type/base.py
/usr/share/pyshared/pyasn1/type/base.py
/usr/share/linuxcnc/examples/sample-configs/sim/qqvsim/config/base.py
/usr/share/dh-python/dhpython/build/base.py
/usr/local/lib/python2.7/dist-packages/pip/_vendor/html5lib/filters/base.py
/usr/local/lib/python2.7/dist-packages/pip/_vendor/html5lib/treewalkers/base.py
/usr/local/lib/python2.7/dist-packages/pip/_vendor/html5lib/treebuilders/base.py
0.1.1486851828-1mk.travis.master.gitcbd2dfd3~1jessie and have
no idea where that came from
.Depends: machinekit (= 0.1.1504202989-1mk.travis.luminizepatch1.git59e91621~1jessie) but 0.1.1504208693-1mk.travis.pr1265.git00ce6961~1jessie is to be installed
Oh, thanks.
I think that the 14-something serial is from the February image, trying on newer I have gotten something like:
Depends: machinekit (= 0.1.1504202989-1mk.travis.luminizepatch1.git59e91621~1jessie) but 0.1.1504208693-1mk.travis.pr1265.git00ce6961~1jessie is to be installed
Yes that is the
error you should have had.
On 04/09/17 16:38, 'machinen' via Machinekit wrote:
Oh, thanks.
I think that the 14-something serial is from the February image, trying on newer I have gotten something like:
Depends: machinekit (= 0.1.1504202989-1mk.travis.luminizepatch1.git59e91621~1jessie) but 0.1.1504208693-1mk.travis.pr1265.git00ce6961~1jessie is to be installed
Yes that is the
error you should have had.
Neither of those packages should be in the repo.
There is a new build in progress to bring all the serials up to a new number, which should solve the issues.
Takes a couple of hours to fully complete however.
Package: machinekit-xenomai Source: machinekit Version: 0.1.1504538312-1mk.travis.master.gitde24b276~1jessie Architecture: armhf Maintainer: John Morris <jo...@dovetail-automata.com> Installed-Size: 6529 Depends: machinekit (= 0.1.1504538312-1mk.travis.master.gitde24b276~1jessie), libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.15), libczmq2 (>= 2.2.0), libgcc1 (>= 1:4.4.0), libprotobuf9, libstdc++6 (>= 4.3.0), libudev1 (>= 183), libuuid1 (>= 2.16), libxenomai1, libzmq3 (>= 3.2.3+dfsg), yapps2-runtime, xenomai-runtime Enhances: machinekit Breaks: machinekit-dev Provides: machinekit-rt-threads Priority: extra Section: misc Filename: pool/main/m/machinekit/machinekit-xenomai_0.1.1504538312-1mk.travis.master.gitde24b276~1jessie_armhf.deb Size: 1008094 SHA256: 164585cc5441756c2b2be72c26477079cce42526365d6219152264e3f0fc6f14 SHA1: 159446e0c8f1f2b2950d3a5de1b167df39c10daa MD5sum: e0814dc15139ef0372e44d4baa24ee14 Description: PC based motion controller for real-time Linux Machinekit is the next-generation Enhanced Machine Controller which provides motion control for CNC machine tools and robotic applications (milling, cutting, routing, etc.). . This package provides components and drivers that run on a Xenomai realtime system, with userspace threads.
Thanks.29.08.2017, 08:08, "Pranav Pandey" <pran...@gmail.com>:
Hi Folks,This is my first post on this group. I am working on integrating 3d printing and CNC Milling in a single machine. I have worked with Arduino Mega before and have run the machine on the Marlin firmware.However I am interested in using the Machine kit platform to run my 3d printer. My background is Electrical and hence have only basic knowledge about coding. I would like to know if someone has successfully 3D Printed using the above setup. If yes, Can you please share some links or procedure for the same?ThanksPranav