Mach3 Addon   96 comments

  • Mach3 3D printer Add-on
I am very happy to announce that I have written an Add-on for mach3 which will allow you to use mach3 as a 3D printer Software. You will use mach3 software both for slicng the STL file and printing directly.
Please watch video in full screen…
.
.
.
.
.
.
Installation Notes:
- Please download the setup1.3.exe and install (may request administrator privilege. The user name and password is your own administrator user name and password)
- It includes Slic3r inside (http://slic3r.org/).
- It requires a Windows machine running .net Framework. You can download the .net Framework yourself here).
- You can change Slic3r settings by editing “gnexlab_config.ini” Which is inside Slic3r directory. You can also open it with Slic3r.exe in order to modify it. Do not forget to save it on the “gnexlab_config.ini” file.
Tested on winXP and Win7 systems.
 -
 Version Updates:   ver1.3 (Slic3r inside)- Packed with Slic3r 0.7.1

-*-*-*–*-*-Download 1.3 Latest Version Here(Slic3r inside)-*-*-*-*-*-*-

-
 Version Updates:   ver1.2 (Skeinforge inside)- Post g-code to mach3 button code updated
- Exit button removed
- Packed with Sfact V2.0 11.08.01 (Easy to use skeinforge)

-*-*-*–*-*-Download 1.2 Version Here(Skeinforge inside)-*-*-*-*-*-*-

Posted September 3, 2011 by nerginer

96 responses to “Mach3 Addon

Subscribe to comments with RSS.

  1. Nuri, you are the best! Thanks

  2. Hallo
    Congratulation ,the concept from Mach3(Addons)
    My name Tibor Farkas from Hungary
    This Mach-Addon(3DPrinter) its Free ?
    But!!!!!, Request ; User N ,Password ?????
    email ; farkas_tibor2007@yahoo.com
    Login ???
    Thanks .

  3. The Mach3 Addon will be free of charge. No Password or any add.

  4. The password requested is your own Administrator password. It is for letting the mach3 to exchange files with skeinforge.

  5. Hi Nuri All working now other than mach3 still does not post the code automatically regregardless of the skeinforge Export setting Have verified all three export extension and they are exported to my chossen destination file ok, but when i press the Post G code Button i am still seeing the Error on line 9 indicationg file not found . this is not problem since i can now manually select the file and load it to mach 3

  6. forgot to say big thanks Nuri for all the support in helping me sort out this minor issue with your brilliant add on saved me a load of time and effort and am now one mo=re step closer to seeing my cnc router used for 3d Printing ( ps maybe my browsewr setting but cant actually see the text im typing unless i use the highlight function so sorry about all the bad spelling its like typing with inviible ink :-)

  7. Pingback: First Batch of Items Shipped « Converting a CNC Machine to a 3D Printer

  8. nice job! thank you

  9. Pingback: New Mach3 Addon (ver 1.2) « Converting a CNC Machine to a 3D Printer

  10. Converting your existing CNC machine to a 3D printer, Where can I find the hardware? Greetings Bart Dupon (Belgium)

  11. Hi Bart,
    I can help you with the electronics and the sensors. Please take a look at
    http://store.gnexlab.com/product.php?id_product=24
    for the controller board

  12. Hello, i’ve seen your add on for the mach3, it is very interesting indeed, is it open-source? i’d have to mod it a little it be to make it fit in my machine, thank you

  13. The mach3 add on have a package of some scripting code and an executable. You can easily modify the scripting code for your needs. The executable did not have any important functionality. If you have any special need please specify it here. we can discuss it. Otherwise you did not need to change the code for customization you only have to play with the parameters.

  14. Hello, and first of all congratulations for the work,
    I am a problem trying to use the Mach3 addon, I open STL file but when I click post g-code to Mach3 nothing happens …
    can you help me?

  15. Please wait the application. It takes sometime.

  16. Hello! First thank you for making this plugin it seems to be very helpful. However after I type in the password I get an application error message. It says “the application failed to initialize properly (0xc0000135). Click OK to terminate the application.” Not sure why, I did it just like in the video.

  17. I found that Windows will give you this error if you try to run any application that requires the “.NET Framework” to run, but your computer does not have “.NET Framework” installed. To fix it, just install the .NET Framework from Microsoft:
    http://support.neurosky.com/kb/general-21/the-application-failed-to-initialize-properly-0xc0000135-click-on-ok-to-terminate-the-application

    I hope this helps

  18. That fixed it! Thanks a ton!

  19. Teşekkür ederim Nuri for the plugin! Nice elegant solution for using Mach 3 with stepper controllers for 3D printing. Simplified greatly the conversion.
    Wonderful! Very nice of you!

  20. I installed the plugin but after I select the STL file, a black console comes up for a little while, then it dissapears and nothing else happens (the dialog from skeinforge doesn’t come up). And I can’t get out of the plugin whithout closing mach3. Any ideas?

  21. Sorin,
    Please choose a small (file size) STL file for your tests. Skeinforge may need more time to calculate the sliceses if you are working with big stl files. You may need to wait much more.

  22. Thank you. It seems like the 1st STL I chose was bad. Now I have another problem, when trying to print the calibration cube, the first layer prints (sort of), but starting on the second layer, the flow rate (the amount of plastic extruded by the A axis) is reduced by a factor of 20-30 and nothing is printed. For instance, on the perimeter printing, on the first layer, the A axis will move 4mm (4 mm of filament will be extruded). On the second layer, same perimeter, only 0.12mm are extruded. Any ideas?

  23. This is not related with the mach3 addon. Try to change skeinforge settings

  24. ok, I will. thanks!

  25. Hi Nuri i’m JP ramirez from mexico i’m interested to add a extruder head to a cnc router to make big models and i’minterested to try your mach3 addon wizard how can i get it or download it also you have plans to make the extruder head?

    Juan Pablo Ramirez
  26. i was testing slic3e but i notice that some stl models i try from solidworks or surfcam it make erratic paths but with sample models works ok and ita has a machine that’s work ok with mach3 but how to add M macros on mach3 to turn of and on A axis?

    Juan Pablo Ramirez
  27. Hi Juan,
    You can download the latest version of the Mach3 Add on from the link above or here https://github.com/downloads/cnc2printer3D/cnc2printer3D/setup1.2.exe
    We have plans to produce extruders Please stay tuned.

    For your Slic3r question Please take a look at its web page for the usage of the software. If you use Stepper motor for your extruder you do not need any M codes to start or stop it. It will work as 4th axis and the A axis values are for it. If you can use our boards for temperature control you have nothing to do except to set your temperature values. The boards will do all the stuff with out any computer communication. They are stand alone. You can choose any of them according to your sensors.

  28. hello thanx for help but i need the Password can u help me pls

  29. Hi I have windows 7 mach3 2.0 and you addon load wizard and skeinforge but and i clicked on button 2 for post g code and load to screen mach3 do not load and no back to screen! do you help me? i look for file in gcode mach3 installation “teachFile” and this are blank.

    • Please choose a small (file size) STL file for your tests. Skeinforge may need more time to calculate the sliceses if you are working with big stl files. You may need to wait much more.

  30. ok thanks .. a tested on exemple whistle skeinforge and work…. thanks..

  31. Awsome plugin. I am using it for a custom built concrete 3d printer. I am having some problems with a series of geometries. The plugin creates the correct toolpath, but then only some of the layers show up in mach3. Would it be possible to see the sourcecode so i can take a shot at fixing this? also I can send jpegs for further clarification.

  32. Hi, this is very interesting. We have a Grizzly minimill run by gecko 540 and mach3. We have started to build a 3D printer out of flatbed scanner and some inkjet printer parts having purchased a Makerbot hot end and stepper plastruder, plus a sanguinololu with 4 pololu stepper drivers. The sanguinololu controls 4 steppers, plus hot end and heated bed. It looks like we are headed down a slightly different path than this project would lead us, but we really like Mach3, so we are wondering if we can find a way to incorporate MAch3 into this install? thanks! Chuck Merja FIRST robotics team 1696, FTC 0724…

    • We are also big fun of mach3 and this is why we use it as a 3D printing software. The main reason developing the controller board standalone is the sensitivity of mach3 pulse stream. We let mach3 do the motor control jops and our standalone boards do the 3D printing specific temperature controls. My suggestion is (I did this for lots of machines) use pololu driver via mach3 to drive the steppers. Use one of our controller board for temperature control. Install latest version of mach3 addon. That’s all. Start printing inside mach3 (including slicing stl files)

  33. Nice post. I was checking continuously this blog and I am inspired! Extremely useful info specifically the last phase :) I take care of such information much. I was looking for this particular info for a long time. Thanks and good luck.

  34. I installed the plugin but after I select the STL file, a black console comes up for a little while, then it dissapears and nothing else happens (the dialog from skeinforge doesn’t come up). And I can’t get out of the plugin whithout closing mach3. Any ideas?
    What limits the file size?
    Thanks

    • Hi Gary,
      Please choose a small (file size) STL file for your tests. Skeinforge may need more time to calculate the sliceses if you are working with big STL files. You may need to wait much more.

  35. I don’t even understand how I stopped up right here, but I assumed this publish used to be good. I do not recognize who you are however certainly you’re going to a well-known blogger
    if you aren’t already. Cheers!

  36. Do you zero out your Z axis/extruder to the bed? Does the slice take into account the Z height?

  37. I am now able to download an stl file to the addon. The black screen appears for about 1/4 second and disappears and I wait for the results. I see that you advised others on this discussion to wait for Skeinforge to produce the gcode. Yesterday I loaded a 467 KB file and waited 9 hours and nothing happened. Today a 655 KB file for 5 3/4 hours. I opened task manager and see that after loading a file that CPU usage is 0%. Surely it should be something? Should I uninstall and reinstall the addon? Happy New Year! Pico Elgin

  38. Any idea what? Shall I reinstall? Thanks, Pico Elgin

  39. With the net. framework, is it necessary to be connected to the internet? I have an offline computer to run the cnc machine and I see that there are some offline installers for net. framework. Thanks, Pico Elgin

  40. I have the addon in a folder in C/ and in C/Mach3. Is it suppose to be in two locations? Thanks, Pico Elgin

  41. After installing this, can I update to the latest Slic3r and it’ll still work? It’s really some script as a Mach3 wizard to point to Slic3r and a Mach3 profile? Or is there more?

  42. In your video, after loading the stl to the add-on, the black dialog box appears and the program starts to run in the dialog box, until the gcode is generated. Is this the standard operating procedure for this program? – for the dialog box to be visible if the add-on is working properly. If the dialog box disappears after 1/4 second, is the add-on working properly? If it is not working properly, how do I diagnose the problem? Thanks, Pico Elgin

  43. Can I upgrade to the latest version of Slic3r and it will still work with this addon? Slic3r installs to it’s default directory?

  44. I was poking around in Skeinforge and I did not see a way to convert to inch- instead of mm. Does your addon only covert from mm ? So I need to draw STL file in mm for this to work?

  45. I ordered one of you dual thermistor boards. They look nice. Question on the Mach3 converter shown on this page. All my CAD and CAM files are in inches and Mach 3 is set to inches. Is there an option to create Gcode in inches?

    • It is better to look at skeinforge or Slic3r configurations for that. You have to configure them to output Gcode in inches. Then you can use our Mach3 Addon with those configurations.

  46. Pingback: Extruder build for my CNC machine - CNCzone.com-The Largest Machinist Community on the net!

  47. Thanks, I am using Mach3. I downloaded slic3r, but I don’t see any way to set slic3r to work in inches. Are you saying to set the Gcode to G21? thanks

  48. Even if your native units are set to inches in Mach3, it will print in metric if it is a G21 gcode. It will print in inches if the gcode is set to G20. Because all of this 3d printing software is in metric, I suggest you start thinking and printing in metric. Carry a metric-imperial tape with you ( I use a Stanley Powerlock 33-158) and a dial caliper to keep you thinking straight. It’s very difficult to change from inches to metric – I spent my life as a contractor and have been thinking in inches for 61 years- but 3d print requires it. Actually I design in Sketchup in inches, but convert it to metric when the design is completed. It’s metric from there on.

  49. Hi, Thanks Pico,
    Yes, Mach3 seems to switch to metric when it has a G21 code. I do work in mm, but my CAD and CAM software are set to inches. I can switch both of those over and start working in mm’s

  50. Black Screen Problem solved!

    I literally took pictures of my monitor using a high framerate camera to capture the fleeting message and this is what I got (with the solution posted afterward)

    “Loading C:\Gnexlab_Mach3_Addon/dist/Slic3r/Gnexlab_configini
    => Processing input file C:\users\met\Documents\3D
    => Processing triangulated mesh
    Input file must have .stl or .amf(xml) extension”

    And then the program would quit.

    The problem is the path to my .stl file was: C:\users\met\Documents\3D Printer\3D files\file.stl
    Which means that this addon simply cannot find the file if any directory in the filepath has a space! (My Documents is an exception and shows up as Documents).

    The simple solution! Don’t have any directories in the filepath to the .stl file with any spaces. Yea, that’s the problem. Spaces in the directory name OR FILE NAME!

    Change the location of your .stl files to C:\3Documents (or somesuch. I have texted this filepath and it works well.)
    Also eliminate any spaces from the filenames. No “file name.stl” allowed. Must be “filename.stl”

    Think old MSDOS filename conventions and you wil be fine.

  51. Which file do you modify to configure the parameters to match your hardware?

  52. Hi, thanks for that great work. I have done my first print a fiew minutes ago. But as I see in the Installation movie after you have run the stl to gcode procedure the pops up an configuration screen, but at my win7 it don’t came up and I’m not sure what parameter slic3r will take for printing. Also the Exit button is not there. What could be the problem? It would be very nice if you have any solution for it.

    Thanks in advance

    Expander1

    • The new version did not have the exit button. Do not worry. It must automatically exit. Please make a test with a small sized STL file. It takes some time to process.

  53. Great work Nuri! Im getting an error when clicking the open stl button in the add-on. It says: Mach3Scripts Error on line: 1 CoInitialize has not been called. Any suggestions?

  54. not to worry, installed a new version of mach3 which seems to have sorted it

  55. Thanks to all for sharing.
    I have all the parts ordered for conversion, have been playing with the software thats been suggested. Problem, G-code that is produce has all the X-Y at the top and all the A axis at the bottom, any suggestion?
    Dan Thornburg

  56. Greetings from a new bee
    Yes the output file, also, Iam not sure about the format of the stl file
    I am new to this and have a hard time wrapping my head around all
    the fifferent methods and formats to use, Again Thank for the info and
    work you have done.
    Dan T.
    P.S. Any DFW area people out there?

  57. Hi Nuri,
    Many thanks for the work you have done with the addon. I found this site through the 3dres site. The 3ders article mentions that the Skeinforge version of your addon changes the 4th axis designation from A to E so that it can be used to drive the extruder. What I would like to know is if version 1.3 with slic3r inside is also capable of driving the extruder. I have installed 1.3 into Mach 3, loaded a file, converted to G code and run my CNC Router from the file. It worked a treat. I don’t have an extruder on the machine, I was only testing the addon software to see how my machine would perform using it.

    Thanks again, Denis.

  58. Thanks Nuri, I thought it would be but decided to check just in case. Regards, Denis.

  59. When will the gecs2tc1 be available again.

    Thanks

    Morton Hatch

  60. Hi great work I have the same problem as nerginer my x axis uses two steppers x and linked with A ,I have set up a second port on the pc with another driver and now have control of a 5th axis B .How can I get the Mach 3 addon to control axis B for the extruder thanks.

  61. Hi great work I have the same problem as Gonzalo García my x axis uses two steppers x and linked with A ,I have set up a second port on the pc with another driver and now have control of a 5th axis B .How can I get the Mach 3 addon to control axis B for the extruder thanks.

  62. How do I change the extruder Axis from A to B in the gcode output thanks.

  63. Another option is to change your machine to slave X and B and Keep A as the axis for the extruder. That is nice too as the DRO in mach shows the motion for A.

    Plans to sell the hardware again anytime soon Neri?

    Mikie – BloomingtonMike

  64. I have a fully working system with skienforge 1.2 but with 2 problems..

    When I run skeinforge.py directly it just flashes up black window with some comments in which I cannot read ) and then goes away. ( all works okay when run from Mach 3 / wizard screen )

    It does not appear to be using the end.gcode file ( no information in the file is added to end of produced gcode. to make sure not being added elsewhere I noted the number of lines in code and it does not change )
    . It is using the start.gcode file as I can change info and it is reflected in the gcode produced.
    Yes, I have changed and checked names in the profile section.
    Can anyone help ?

  65. Hi Nuri,
    Thanks for quick response,
    Unfortunately this does not cure the problem, I have tried putting the .sl in root directory ( C: ), also in gnexlap directory and mach3 directory, in all cases it refuses to use/add the end.gcode file but still uses the start.gcode file correctly .
    While asking for a possible fix is it possible to use/point to a version of sfact ? ( skienforge ) ?
    Thanks for help

    Jerry

    • Did you try to use the Slic3r version of the mach3 addon

      • Hi Nuri,

        No , Not tried it yet but will load up and try tomorrow, I will keep you posted …( may take a while as I guess I have to learn how to use it ?)
        ( For your information I am running windows 7 ultimate 64 bit ).
        Thanks again for help.

        Regards

        Jerry

      • Hi Nuri,

        Okay here we go…
        Loaded up Slic3r and ran from within Mach3.
        selected .stl file from c: xxx.stl
        Result… flashed up black screen and then went back to gnexlab 3d screen.
        I then exited Mach3

        Loaded latest stand alone version of Slic3r (0.9.10b ).
        Ran this program, ( set output to be Mach3/EMC gcode compatible ) imported .stl file from c: xxx.stl, exported as gcode file c: xxx.gcode.
        Activated Mach3 and loaded the xxx.gcode file.
        Result… All seems to work okay as displayed on Mach3 screen.

        I don’t know what any of the above means but I do now have a working system.
        Thanks for your help and I hope the above is of some help ?

        Regards

        Jerry

  66. Hello
    I’m Chris and I have a problem and need your help with the addon.
    I can stl file select but then only for a moment a DOS box with the following text:
    Loading C:/Gnexlab_Mach3_Addon/dist/Slic3r/gnexlab_config.ini
    =>Processing input file D:\bottle_fixed.stl
    =>Prozessing triangulatd mesh
    Use of uninitiaized value in negation (-) at C:/Gnexlab_Mach3_Addon/dist/Slic3r/lib/std/Slic3r/TriangleMesh.pm line 293

    Then I can just stop Mach3.
    Does anyone have a solution for this problem?
    Thank you

  67. Thanks for quick response und help

  68. However, think but that the error in the gnexlab_open_dialog.exe or gnexlab_config.ini is. when I open directly the stl file with Slic3r it comes without an error message and the G-code is created.
    greeting
    Christian

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 57 other followers

%d bloggers like this: