Introduction: 3D Printers and Networking on Series 1
Anyone who has printed large numbers of prints on an FDM style printer knows one of the biggest challenges is file management. Imagine starting a print then coming back a couple hours later to realize you've printed the wrong file!
Fear not there is a solution and lucky it's as simple as a Software update to the Type A Machines Series 1. With this update you will be able to directly print to the on-board storage of the printer from your slicing engine of choice...no more GCODE FILES! woohoo!
We deal with lots of parts in our studio and keeping the printers running is always a challenge, we'd rather be designing then learning linux and rebuilding printers so this solution is for people who are more interested in the output of the printer than the printer itself. Very little coding experience is required and anyone can get the benefit of improved 3D printing. This serves as a great intro to light modifications in a Linux operating system.
Step 1: What You Will Need:
You should have your Type A Machines Series 1 3D printer connected via wifi or network to the computer you will be using
Simply Download Chrome From the Link above
Chome has an entire app store devoted to 'extensions' one of the best is the SSH extension. This is what we will use to talk to the printer over the network. Once the download is complete the extension will automatically be added to your chrome browser.
Step 2: First Time Setup of Chrome SSH
Hit the apps buttton in the upper left of the chrome browser. This will take you to where SSH has been installed.
The black SSH window should pop up. Here is where you tell the browser where to connect.
In username enter 'ubuntu' without the quotations
In the hostname enter your machine name followed by ":5000" for example 'series1-1194:5000' this should work on most networks but if you know the IP address of the printer it will be faster to enter that here for example '10.140.68.87:5000'.
The window will disappear and the connection will be attempted. If it's successful you will be asked to add the address to know addresses. Type "yes"
Enter the system password: 'ubuntu' when prompted, note when typing a password nothing will be displayed, this is normal
Great you are now online and ready to start working on the networking system!
Step 3: Updating Ubuntu and Installing Samba
To begin installing samba type in the following commands:
sudo apt-get update
This will update the system this should take a few minutes
sudo apt-get install samba
This will install samba on your system
Step 4: Create a Directory to Upload
First you need to create a user password
sudo smbpasswd -a ubuntu
for username use 'ubuntu'
For now set the password to 'ubuntu' this is the password you will have to enter later to access the network drive, you will have to enter it twice to confirm
Next Set up a new directory
Make a backup copy of your configs
sudo cp /etc/samba/smb.conf ~
Then use the nano editor to edit the conf file
sudo nano /etc/samba/smb.conf
Step 5: Copy in the Configuration File
Once you are in the nano editor go down to the bottom of the page, do this quickly by hitting control+V.
Copy in the following code, use control+shift+V to copy in SSH:
[Series 1 Uploads]
path = "/home/ubuntu/.series 1/uploads"
create mask = 664 # IME this doesn't workforce create mode = 664 #
security mask = 664 # this works to mask existing upload
force security mode = 664
force directory mode = 0000
directory mask = 2775
force directory mode = 2775
directory security mask = 2775
force directory security mode = 2775
force group = ubuntu
force user = ubuntu
available = yes
valid users = ubuntu
read only = no
browseable = yes
public = yes
writable = yes
After you have copied in the code above hit control+X to exit. Hit Y to confirm, then hit Enter to save.
Great you're all set up!
once you are out of nano and back in ssh enter
sudo restart smbd
samba will restart and you should be good to go
Once you have restarted samba you can close the SSH window.
Step 6: Uploading Directly to Your Printer
Before trying to directly print confirm that the printer is showing up.
In windows open a file browser and go to \\series1-XXXX where XXXX is your serial number for me that's \\series1-b26.
It should connect quickly to the folder. You may be asked for the username and password (ubuntu, ubuntu).
Once you've confirmed you are able to connect to the printer then you can use your slicer as normal.
Open up Cura for Type A Machines as you might normally do, load a model file and it will be automatically sliced.
When the slice is completed hit the 'save' button, but instead of saving it to your desktop or on your computer, type in \\series1-XXXX in the address bar. A folder called 'Series 1 Uploads' should appear double click it, and save. Once it's done saving and uploading refresh the web interface and the file will become available.
Congratulations! You have just learned some Linux and made it easy to slice directly to your printer!
This tutorial is based off of work from Type A Machines and Ubuntu
We have a be nice policy.
Please be positive and constructive.