Machsupport Forum

Third party software and hardware support forums. => Promote and discuss your product => Topic started by: nerginer on October 25, 2010, 02:58:50 AM

Title: Mach3 as 3d printer software
Post by: nerginer on October 25, 2010, 02:58:50 AM
Hi,
I am a big fun of mach3. I decided to use mach3 for my homemade 3d printer like reprap or makerbot. I use an arduino for the extruder temperature control. A host software is messaging over usb (serial rs232). mach3 is controlling the 4D system via gcode. I have a problem. The serial communication has a negative effect on mach3.
the motors did not work smooth when I plug the usb.

Please send me your advice to correct this issue.

Regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: Tweakie.CNC on October 25, 2010, 03:30:05 AM
Mach needs most of your computer resource to provide the correct timing etc.
Just a thought, but...... Using an external timing device such as the "Smooth Stepper" may free-up sufficient Mach resource to allow your RS232 communication.

Tweakie.
Title: Re: Mach3 as 3d printer software
Post by: Fastest1 on October 26, 2010, 12:01:48 AM
Definitely post what you find! I am interested in making and installing a Rep Rap head on my Sherline/A2ZCNC mill.
Title: Re: Mach3 as 3d printer software
Post by: nerginer on October 26, 2010, 02:36:43 AM
I rewrite the arduino firmware. It will not cominicate with pc. It is now standalone temperature control system. Mach3 can run smoothly now. I will let you know about the progress.

regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: DaOne on October 26, 2010, 02:59:02 PM
What are you using to create the G-Code?
Title: Re: Mach3 as 3d printer software
Post by: nerginer on October 27, 2010, 02:52:37 AM
I am using skeinforge (http://fabmetheus.crsndoo.com/)
it gets 3d stl file as input and produce g-code. it has lots of parameters for fine tuning.

regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: kf2qd on October 27, 2010, 10:43:05 AM
There has been another discussion of this , what you might want to consider is using the spindle speed as the extruder control. Would give you a way to start and stop the extrusion, as well as control the extrusion rate. Might require that you do some translation of output codes, but that should be a faily straight-forward text substitution which could be done using find/replace all, or by writing a small program in basic/C/other language of choice.
Title: Re: Mach3 as 3d printer software
Post by: nerginer on October 27, 2010, 10:54:04 AM
what I am trying to do is easy switching from a cnc to 3d printer. Mach3 will be the software. You will plug a extrusion head instead of a spindle and you will begin to print. A arduino based circuit board will control all the stuff like extrusion temperature, extrusion speed and build platform heating. I prefer to separate the 3d printer requirements from mach3 software. This will not disturb the mach3 to run the cnc code and will help people to switch between cnc and 3d printer.

regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: Tweakie.CNC on October 27, 2010, 11:07:05 AM
Quote
what I am trying to do is easy switching from a cnc to 3d printer. Mach3 will be the software. You will plug a extrusion head instead of a spindle and you will begin to print. A arduino based circuit board will control all the stuff like extrusion temperature, extrusion speed and build platform heating. I prefer to separate the 3d printer requirements from mach3 software. This will not disturb the mach3 to run the cnc code and will help people to switch between cnc and 3d printer.

This is a brilliant concept Nuri - I am following this with great interest.

Tweakie.
Title: Re: Mach3 as 3d printer software
Post by: nerginer on October 28, 2010, 03:47:23 AM
Thanks Tweakie!

Let me tell you what I did up to know. After then I will share all the information.

As you know there are two approaches to the extrusion motors in 3d printing community. One is 5D concept that use a stepper motor as a filament feeder. The other is a gear head dc motor.  For the first one I slightly modify the skeinforge software for 'E' letter. For the forth dimension skeinforge use the letter 'E' as an axis definition (like X,Y and Z) After the small modification software produce gcode with letter 'A' instead of 'E'. This is suitable for mach3 to read the code and control the stepper extrusion motor in desired speed. The arduino based circuit is only dealing with extruder temperature, build platform heating and cooling fun control. This works fine. Feed rate, extrusion speed and temperature are the main parameters that you have to fine tune for better print quality.

The second concept is a gear head dc motor. I use the spindle relay for on-off control of the dc motor. I just write two M-code macro to define the M101 (start extrusion motor) and M103 (stop extrusion motor). This time arduino circuit deal with PWM motor speed control with a potentiometer.  

I will soon share the information so that you can build a kit by yourself (or buy one) and screw it to your mach3 cnc and start using it as a 3D printer.
Title: Re: Mach3 as 3d printer software
Post by: Tweakie.CNC on October 28, 2010, 05:01:52 AM
Quote
I will soon share the information so that you can build a kit by yourself (or buy one) and screw it to your mach3 cnc and start using it as a 3D printer.

This I am looking forward to, thanks for the info Nuri.

Tweakie.

Title: Re: Mach3 as 3d printer software
Post by: DaOne on October 28, 2010, 08:05:00 PM
You could use the spindle PWM to control the temperature setting. Can even setup the arduino to output a pulse (RPM input) that can me read as true temperature on a DRO. Convert RPM to temp in a screenset. Heck maybe the PID would work too? Give you full control in software.
Title: Re: Mach3 as 3d printer software
Post by: Fastest1 on October 28, 2010, 11:02:34 PM
I have been watching videos over the last 2 months or so about Mendel and Darwin. I thought using my Sherline/A2Z mill would be much better than trying to cut metal with it. Lets jump in! I would like to try. First steps while you work on the interface? Heater, extruder?
Title: Re: Mach3 as 3d printer software
Post by: DaOne on October 29, 2010, 12:14:03 AM
It actually dosent look hard at all to make this work. Basically here is what I see that is needed...

1) 3 axes mill / router.
2) Additional stepper axis (4th axis "A")
3) Mach 3 control.
4) Modified skeinforge. Swap E for A in the script so the E control moves the A axis.
5) Mendel style extruder with A axis for the feed.
6) Temperature control for the heat of the extruder.  This one should work great...
http://cgi.ebay.com/Omega-Programmable-Digital-Thermocouple-Meter-Excellent-/110604146539?pt=LH_DefaultDomain_0&hash=item19c085576b (http://cgi.ebay.com/Omega-Programmable-Digital-Thermocouple-Meter-Excellent-/110604146539?pt=LH_DefaultDomain_0&hash=item19c085576b)
Title: Re: Mach3 as 3d printer software
Post by: leaveme on November 03, 2010, 05:27:21 AM
Hello:

I'm veri much interested for the topic.
Looking for more info....
Title: Re: Mach3 as 3d printer software
Post by: nerginer on November 03, 2010, 11:22:13 AM
I am at the end of the design phase of the ver2 circuit board. It will do all the stuff. With this circuit board I will release the modified skeinforge software and mach3 configuration xml files. I will let you know very soon.

Please find below the images of my test environment which use mach3.

http://www.flickr.com/photos/37197094@N00/sets/72157625166612319/show/

regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: Tweakie.CNC on November 03, 2010, 12:31:27 PM
Excellent work Nuri.

Tweakie.
Title: Re: Mach3 as 3d printer software
Post by: spaceman on November 03, 2010, 08:01:52 PM
Can you tell me how you modified Skeinforge from the 'E' axis to the 'A' axis? I am already well into building a stand-alone 3d printer and this is the problem between Mach and Skeinforge I've run into. My feed steppers are on the 'A' axis and I need to change them.

I love your idea of interchangability!  I wish I had thought of that 6 months and several $$$ ago  :-[
Title: Re: Mach3 as 3d printer software
Post by: leaveme on November 04, 2010, 01:36:32 AM
Brilliant, Nuri!
I'm following your thread.
Title: Re: Mach3 as 3d printer software
Post by: nerginer on November 04, 2010, 11:20:51 AM
Quote
Can you tell me how you modified Skeinforge from the 'E' axis to the 'A' axis? I am already well into building a stand-alone 3d printer and this is the problem between Mach and Skeinforge I've run into. My feed steppers are on the 'A' axis and I need to change them.

There is no option for doing this in skeinforge so I modify the source code

Regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: spaceman on November 04, 2010, 01:04:29 PM
Quote
Can you tell me how you modified Skeinforge from the 'E' axis to the 'A' axis? I am already well into building a stand-alone 3d printer and this is the problem between Mach and Skeinforge I've run into. My feed steppers are on the 'A' axis and I need to change them.

There is no option for doing this in skeinforge so I modify the source code

Regards,
Nuri Erginer

I was hoping you could direct me to the plugin that you modified the source code.
Title: Re: Mach3 as 3d printer software
Post by: Fastest1 on November 14, 2010, 03:37:02 PM
Nuri, looking good! I figure my G540 could control all 4 axis with out a problem, throw an extruder head on the A2ZCNC Monster Mill in place of the Sherline head. Maybe some form of heated bed?
Title: Re: Mach3 as 3d printer software
Post by: khalid on November 19, 2010, 05:59:44 PM
Nuri, Thanks for sharing with us... Few months ago i was on the verge of ordering all that circuit boards etc for the Reprap printer but fortunately i didn't... I am very much interested in this thread.. I will follow it and will highly obliged if you post some more pictures of the build..
Title: Re: Mach3 as 3d printer software
Post by: kb18951452 on December 01, 2010, 12:45:38 PM
Nuri
Please Please PLEASE post your skienforge. Been prowling around, and came up with this idea all on my own, started looking on how to do it, and found this thread.
Title: Re: Mach3 as 3d printer software
Post by: nerginer on May 14, 2011, 03:58:59 PM
Hi everybody I am back again.
Sorry I can not write for a while. But the news are good. I have finished the control board Here its features:

atmega8 and arduino code (standalone no PC connection)
LCD (to read temperature values)
two trim-pots (to set two separate temperature value one for nozzle one for build platform)
one thermocouple input
two thermistor input
two relay output
two power transistor output

With this board you can easly convert your desktop cnc to a 3D printer.
Here is a picture of the board.

(http://blog.gnexlab.com/public/.isi_kucuk_m.jpg)

I will prepare a web side to tell people how to convert their cnc to a 3D printer. All the software (including modified skeinforge) and the hardware as a kit will be there.
Please e-mail me if you interested in buying this board nerginer@gnexlab.com

The first group will purches the board with a compatitive price. I will mass produce according to the number of people willing to buy the board.

Regards,
Nuri Erginer

Title: Re: Mach3 as 3d printer software
Post by: nerginer on May 21, 2011, 12:34:41 PM
Hi,

I am getting e-mails from people who want to buy the control board and a hole CNC to 3D Printer conversion kit. I am almost finished a tutorial about the conversion and will send the link to this post.

Can you please reply to this post if you want to have a board or the hole kit. So that I will have the list of people for the first production.

Regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: Tweakie.CNC on May 21, 2011, 01:10:21 PM
Nuri,

I am a bit confused here.

Are you going to share this information with us for free and post all the details here or has this turned into a commercial project where we have to buy the kit and the details ?

Tweakie.
Title: Re: Mach3 as 3d printer software
Post by: nerginer on May 21, 2011, 01:43:28 PM
Hi Tweakie,

This will be a completely open source project. I will purplish all the drawings, the design files and the software code. So the people who wants to build their own can use the design files. If you have not too much time and ability to produce such circuit boards and hardware, you can buy from me as a kit and start to print with your desktop printer immediately.

PS: English is not my mother language. If there is someone agree to read the documentation (5-10 pages) and wants to correct the typo and grammatic errors will get all the information before publishing as open source.

Regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: Tweakie.CNC on May 22, 2011, 02:06:22 AM
Thank you Nuri, I am really looking forward to following your project.

(i would be happy to check grammar in any of your documents if it would be helpful).

Tweakie.
Title: Re: Mach3 as 3d printer software
Post by: nerginer on May 23, 2011, 04:08:13 PM
Thanks a lot Tweakie

I hope you got the mail I sent to you
Title: Re: Mach3 as 3d printer software
Post by: nerginer on May 30, 2011, 09:41:15 AM
Hi,
As I promise and with the great help of Tweakie I finalise the extruder controller board and write down a small tutorial for the people who may want to convert their desktop CNC to a 3d printer.

http://blog.gnexlab.com/index.php?post/2011/05/27/Converting-a-CNC-Machine-to-a-3D-Printer
Title: Re: Mach3 as 3d printer software
Post by: nerginer on June 22, 2011, 02:12:57 PM
Please take a look at my web store to purchase assembled boards.

http://store.gnexlab.com/

regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: BTS on June 30, 2011, 12:36:02 PM
I was wondering, could you just use the Makerbot extruder controller v3-6 http://store.makerbot.com/extruder-controller-v3-6.html (http://store.makerbot.com/extruder-controller-v3-6.html) via a USB port to control the temps?
I am working on the same project and found these posts this morning.

Al
Title: Re: Mach3 as 3d printer software
Post by: nerginer on July 01, 2011, 03:37:09 AM
Hi BTS,

There are some differences between gnexlab extruder controller and the makerbot's. The main issue is gnexlab controller is standalone and do not communicate with pc. The on board lcd and trimpots let you to set the extruder and the heated bed temperatures. If you want to use mach3 as a 3d printing software, communicating via pc while mach3 pulsing the motors become a problem. The message traffic corrupts the pulse sequences. The gnexlab solution lets the mach3 control the motors including the extruder stepper as 4th axis. The gnexlab extruder controller dealing with the temperatures without pc.

Regards,
Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: BTS on July 05, 2011, 06:40:46 PM
Nuri
 Is the display on the gnexlab extruder controller removable so the display can be panel mounted?
Title: Re: Mach3 as 3d printer software
Post by: nerginer on July 07, 2011, 07:29:35 AM
If you want I can send you the board without soldering the LCD. A removable socket is also possible.

Regards,
Nuri Erginer
 
Title: Re: Mach3 as 3d printer software
Post by: nerginer on July 11, 2011, 04:36:26 PM
I want to happily announce that I am working on the second version of the controller board.

I got lots of great feedback from the people. It is a very easy way to have a 3d printer. This board is dealing with all the complex issues. And separate the temperature controlling stuff from the CNC tasks. It is very easy to use because it is stand alone and plug and play. Just connect the sensors and the relays set the temperatures and go.

The new board will have some nice features. I will also try to set up a video while printing. I want to thank all of you because of your supports.

Regards,

Nuri Erginer
Title: Re: Mach3 as 3d printer software
Post by: anfarol on August 21, 2011, 10:27:31 AM
Hello Nerginer!
Nice work. What about release time of new board?

Thanks,
anfarol
Title: Re: Mach3 as 3d printer software
Post by: nerginer on November 30, 2011, 02:56:10 AM
I am very happy to announce that the new board and a new web page has been released. http://cnc2printer3d.wordpress.com/
This page is full of information to help people who have their own desktop CNC machine and wish to use it as a 3D printer.
An other new development is a mach3 add-on which will allow you to run Skeinforge (the modified one) inside mach3. You will use mach3 software both for slicing the STL file and printing directly.
The controller board will isolate the temperature controlling functions from motor control functions. This will help us to setup a 3d printer in a modular and easy way. I hope you will enjoy the idea. Please post your photos and videos about your setup.

Regards,
Nuri Erginer
store.gnexlab.com
Title: Re: Mach3 as 3d printer software
Post by: nerginer on January 08, 2012, 02:45:14 PM
Hi,
I have modified both the replicatorG software (http://replicat.org/ (http://replicat.org/)) as well as the skeinforge software to get it to output G-Code for mach3.
the generated G-code can be used directly with mach3. I want you to test my modified replicatorg and print some stuff. Please help me to be sure about this software is working well.
After then I will publish it in my web site : http://cnc2printer3d.wordpress.com/ (http://cnc2printer3d.wordpress.com/)
Please send me your email address if you want to get it and try.

Regards,
Nuri Erginer
3dprint@gnexlab.com
Title: Re: Mach3 as 3d printer software
Post by: nerginer on January 11, 2012, 03:32:08 PM
This is the link you can download the modified replicatorG to use with mach3.

https://github.com/downloads/cnc2printer3D/cnc2printer3D/GENEXLAB_REPG_V1.zip
Title: Re: Mach3 as 3d printer software
Post by: jrsteensen on October 06, 2012, 01:34:02 PM
I might be a little slow here...but is there a diagram or technical manual to explain how to use this product? (Preferably a "for dummies/newbs" version.)
Title: Re: Mach3 as 3d printer software
Post by: nerginer on August 28, 2013, 02:33:51 PM
here are the information and connection diagrams

http://cnc2printer3d.wordpress.com/ (http://cnc2printer3d.wordpress.com/)
Title: Re: Mach3 as 3d printer software
Post by: andykirk50 on September 28, 2015, 06:33:46 PM
Hello all.
Has anyone gotten around to making a video on the installation and set up of Nuri control board and the setting used for Mach 3?