Printbot
Add 3D Printing to your server
3D Printing with Printcraft
Printbot is a plugin that integrates with Printcraft, a Minecraft 3D printing web portal. It allows you to easily add 3D printing capability to your server. Find out about Printcraft on our website www.printcraft.org. This is the same plugin that we use on our own custom 3D printing servers, and it connects to our webservice to upload and process model files.
Commands
Printbot depends on and uses the regions and selection capabilities of WorldGuard and WorldEdit to pick a portion of the world to print.
Printbot has only three commands:
- /print [regionname][playername]
Uploads a model as defined by a WorldGuard region to Printcraft's web service for 3D printing.
- /printselection [playername]
Uploads a model as defined by a WorldEdit selection to Printcraft's web service for 3D printing.
- /put [code] [angle] [x y z] [worldname]
Download a model defined by a code, which is on the model's Printcraft web page, and places it in Minecraft.
Examples
- /print - to print the WorldGuard region you are standing in
- /print region1 - to print WorldGuard called region1
- /print region1 paulharter - to print WorldGuard called region1 for the player paulharter
- /printselection - to print your current WorldEdit selection
- /printselection paulharter - to print your current WorldEdit selection for the player paulharter
- /put - Places a preselected Printcraft model at the cursor
- /put gs8em07ctg - Places the Printcraft model with this loadcode at the cursor
- /put gs8em07ctg 90 - Places the Printcraft model with this loadcode at the cursor rotated 90 degrees
- /put gs8em07ctg 90 25 62 38 - Places model rotated 90 degrees at x=25 y=62 z=38 in your current world
- /put gs8em07ctg 90 25 62 38 worldname - Places model in a specific world rotated 90 degrees at x=25 y=62 z=38
When Printbot "prints" what it actually does is upload the model to a web service that processes the file in the background and makes it available for download from a webpage as an STL file, which can be printed on any 3D printer. The link to this web page is presented to the player.
Commercial 3D Printing
Printcraft also offers simple one click integration with two commercial 3D printing services, iMaterialise and Shapeways. They are industry leading online 3D-printing bureau services.
Hi,
I'm trying to use PrintCraft for a camp and I keep running into a error when I go to print my design. Below are the details:
Any thoughts on what might be happening?
[22:25:30 INFO]: [printbot] printbot printing
[22:25:30 INFO]: apiUrl: http://www.printcraft.org/printbot/v2
[22:25:32 INFO]: {"store_key": "printcraft_b6fc3eb238fb68911c7c5371293bfc41138b662355b62c37254b49177db69e63.schematic", "upload_url": "https://storage101.lon3.clouddrive.com/v1/MossoCloudFS_a714797e-8359-457a-824e-c2a0d4ab2f5d/printcraft_2017_06_public/printcraft_b6fc3eb238fb68911c7c5371293bfc41138b662355b62c37254b49177db69e63.schematic?temp_url_sig=8bf7b897295265d8b63e0ff7d541ad2820461697&temp_url_expires=1496373992", "container": "printcraft_2017_06_public", "exists": 0}
[22:25:32 INFO]: executing request PUT https://storage101.lon3.clouddrive.com/v1/MossoCloudFS_a714797e-8359-457a-824e-c2a0d4ab2f5d/printcraft_2017_06_public/printcraft_b6fc3eb238fb68911c7c5371293bfc41138b662355b62c37254b49177db69e63.schematic?temp_url_sig=8bf7b897295265d8b63e0ff7d541ad2820461697&temp_url_expires=1496373992 HTTP/1.1
[22:25:33 INFO]: ----------------------------------------
[22:25:33 INFO]: HTTP/1.1 201 Created
[22:25:33 INFO]: Response content length: 0
[22:25:33 INFO]: Chunked?: false
[22:25:33 INFO]: executing request POST http://www.printcraft.org/printbot/v2/model/b6fc3eb238fb68911c7c5371293bfc41138b662355b62c37254b49177db69e63 HTTP/1.1
[22:25:34 INFO]: 500 Internal Server Error
The server has either erred or is incapable of performing the requested operation.
[22:25:34 WARN]: com.eclipsesource.json.ParseException: Unexpected character at 1:4
[22:25:34 WARN]: at com.eclipsesource.json.JsonParser.error(JsonParser.java:316)
[22:25:34 WARN]: at com.eclipsesource.json.JsonParser.parse(JsonParser.java:36)
[22:25:34 WARN]: at com.eclipsesource.json.JsonValue.readFrom(JsonValue.java:101)
[22:25:34 WARN]: at com.eclipsesource.json.JsonObject.readFrom(JsonObject.java:113)
[22:25:34 WARN]: at org.printcraft.printbot.PrintBot$PostThread.run(PrintBot.java:903)
Is this plugin available for Pocketmine server?
Seems to need an update:
http:dev.bukkit.org/paste/10725/
You sir... have came up with the best idea ever...
Hi Paul, nice to see this as a Bukkit plugin. Don't know if you recall chatting with me last year, but I'm curious if you ever considered the suggestion I made, of supporting multi-material STL? I'd love to be able to, say, create a pair of models where one set of blocks (say, all the wood blocks) are in one model, and all the other blocks are in the second model. Then, I could download both and print them on a dual head printer!
I suppose the workaround would be to write a script locally that takes a region, copies the two sets of blocks to two separate other regions, and then prints those using your plugin as two files.
@KrYojeNiX
Hi,
I'm really pleased you like it.
The STL files you can download are colourless, but you can get full colour prints made by Materialise or Shapeways. The models are not 100% the same as MC. It renders most blocks correctly including half slabs and stairs but doesn't do doors, cake, fences, torches etc. I am constantly improving the rendering, eg I am working on getting the slope of flowing water/lava right at the moment.
Luckily the full colour printing material is one of the cheaper ones. Roughly a 2" high figure and about €10 and a 3" square castle in about €30. I'm not selling these myself they are a printing service offered by a third party. I have added two services so far but will add more.
I think the file has been approved so you can try it now.
Please give me any suggestions
Wow, Awesome Paul :) I'm sure the ability to have this kind of feature would go down great with our community. It would also be a fantastic reward for any competitions we hold on server. Is it all just one colour or do you have the ability to be able to multicolour so just the same as in game? I'm 99% sure i recall seeing something like this done quite some time ago on Mojang, but think was made up with different colours so looked just like it did in game.(i may be mistaken my memory not that great lol) Also is it possible you could add some rough price guides depending on size? i had a look at the sites quick but couldn't see any, a lot of our members are very young & i'm old but unemployed :( so cash flow not great, i wouldn't want to go get all the community excited then hit with a huge price tag ! Will be watching this like a hawk :D Superb idea, looking forwards to seeing in action and hopefully test. I'm sure any respectable server owner would love to offer this kind of service for players to own a piece of their world in real life 3D :)
@drumming102
Thank you - thats great.
I have uploaded a file now and am waiting for it to be approved. When it comes through you can try it out. I have done quite bit of testing and think its stable, but you always find new problems when more people start using it. Also if you have suggestions for how it ought to work do let me know.
This sounds very promising and I'd love to help test on my server if needed.