Notifications
Clear all

Prusa Control - add new material  

  RSS
nargos
(@nargos)
New Member
Prusa Control - add new material

Hello,

how can I add my own material to Prusa Control?

Gerd

Posted : 16/07/2017 4:37 pm
JASII
(@jasii)
Estimable Member
Re: Prusa Control - add new material

I did it by modifying the materials_i3_mk2.json file in C:\Users\*YourUserName*\.prusacontrol folder (Windows 10 Home 64bit)

I needed to add MakerGeeks PetG which has higher nozzle and lower bed temps than Prusa Pet. So I copied and pasted the Prusa Pet section and just changed the names and the temperature settings.

I am hoping for a dialog based input in the final version.

- MK3s w/Mosquito Hotend- Mini w/Copperhead Hotend- XL - 5 tool -OpenScad -3d Builder -FreeCAD -Alibre -OctoPrint/x3(Pi3B)

Posted : 18/07/2017 3:22 am
Robert Bonham
(@robert-bonham)
Estimable Member
Re: Prusa Control - add new material


I did it by modifying the materials_i3_mk2.json file in C:\Users\*YourUserName*\.prusacontrol folder (Windows 10 Home 64bit)

I needed to add MakerGeeks PetG which has higher nozzle and lower bed temps than Prusa Pet. So I copied and pasted the Prusa Pet section and just changed the names and the temperature settings.

Thanks for the post, oddly enough I found this thread when wanting to add my MakerGeeks PetG to the filament list 😀

fyi...I'm using 255/80 and seem to be getting good results...how bout you?

Robert B.

Posted : 26/07/2017 11:37 pm
Bill R
(@bill-r)
New Member
Re: Prusa Control - add new material

Anyone done this on a Mac? I've edited the file, but any changes causes the application to crash on startup.

Reverting the changes to the file and re-saving allows the application to start normally.

Thanks,
Bill

Posted : 27/07/2017 5:17 am
Robert Bonham
(@robert-bonham)
Estimable Member
Re: Prusa Control - add new material


Anyone done this on a Mac? I've edited the file, but any changes causes the application to crash on startup.

Reverting the changes to the file and re-saving allows the application to start normally.

Being it's just a json file, I image it must work (although I haven't done this on a mac)

Be very careful of formatting
Start by copying an entire section (like "prusa_abs") making sure the curly braces and comas are correct.
Change the section name, name and label and save the file. Start prusacontrol and you should see you new material in the list. Shut down prusacontrol and go back and change the temp and other settings that you're after.

When your done with the first step, you can also copy and past the whole file into a json fomatting site such as https://jsonformatter.curiousconcept.com/ to make sure it's valid (all the braces, commas and quotes are right)

Hard to explain in a textbox and while I'm at work, hope this helps
Robert

*Lots and lots of stuff removed, just wanted to shop the basic top level pattern you need to follow.

"materials": {
"prusa_pla": {
...
},
"prusa_abs": {
...
},
"custom_abs": {
"first": 0,
"sort": 2,
"name": "custom_abs",
"label": "Custom ABS",
...
},
...
}

Robert B.

Posted : 27/07/2017 10:13 pm
Bill R
(@bill-r)
New Member
Re: Prusa Control - add new material

Yeah, there is something particular about the mac version I believe.

Even just changing a name for an existing setting causes it to fail. That shouldn't be a result of a format issue.

It seems like there is some type of file verification going on and if the file changes it no longer matches and so fails to load.

I've emailed them through their feedback form but haven't received a reply yet.

Bill

Posted : 28/07/2017 2:32 am
GertL
(@gertl)
Reputable Member
Re: Prusa Control - add new material

Where is the file you are changing? Inside the package ?

---
Gert

Posted : 28/07/2017 9:20 am
JASII
(@jasii)
Estimable Member
Re: Prusa Control - add new material



Thanks for the post, oddly enough I found this thread when wanting to add my MakerGeeks PetG to the filament list 😀

fyi...I'm using 255/80 and seem to be getting good results...how bout you?

I have been using the spool sticker temps 255/60 with great success. My only issue is with large prints (233mmx168mm) that extend into the 0;0-50;50 square. I was getting shrinkage (lifting) only there so now I just apply the glue stick only to that square and everything is perfect. BTW - the large prints are for custom MTG/Pokemon storage boxes for 1000 cards (my son, not me :-).

- MK3s w/Mosquito Hotend- Mini w/Copperhead Hotend- XL - 5 tool -OpenScad -3d Builder -FreeCAD -Alibre -OctoPrint/x3(Pi3B)

Posted : 28/07/2017 7:46 pm
Robert Bonham
(@robert-bonham)
Estimable Member
Re: Prusa Control - add new material

I have been using the spool sticker temps 255/60 with great success. My only issue is with large prints (233mmx168mm) that extend into the 0;0-50;50 square. I was getting shrinkage (lifting) only there so now I just apply the glue stick only to that square and everything is perfect.

I was having some lifting issues (oddly in the same corner). I raised my bed temp to 80 and started using the PrusaControl brim, it is twice as wide as I'd normally use, but I haven't had anything lift since using it. I printed a half dozen full bed to near full bed prints this last weekend, all nice and flat :-).

Robert B.

Posted : 28/07/2017 10:14 pm
Jason Foss
(@jason-foss)
Eminent Member
Re: Prusa Control - add new material


Even just changing a name for an existing setting causes it to fail. That shouldn't be a result of a format issue.

I doubt they're doing file validity checks for one OS but not the other. Most likely, you're fitzing the file permissions by writing to the file.

Posted : 01/08/2017 8:44 pm
lin.b
(@lin-b)
New Member
Re: Prusa Control - add new material


Yeah, there is something particular about the mac version I believe.

Even just changing a name for an existing setting causes it to fail. That shouldn't be a result of a format issue.

It seems like there is some type of file verification going on and if the file changes it no longer matches and so fails to load.

I've emailed them through their feedback form but haven't received a reply yet.

Bill

Sorry, it's a tad late but I just found the files on a Mac and I was able to edit them successfully. They're in [Home]/Library/Application Support/PrusaControl/data

Editing the files in the package itself has no effect.

Posted : 14/12/2017 3:35 am
GertL
(@gertl)
Reputable Member
Re: Prusa Control - add new material

[Home]/Library/Application Support/PrusaControl/data

Hmm, when you refer to [Home], where exactly are you then?
I checked under my user, library/Application Support. I cannot find the Prusa Control folder.

---
Gert

Posted : 14/12/2017 10:42 am
Microblackcat
(@microblackcat)
New Member
Re: Prusa Control - add new material

Hi Gert
Did you ever discover where the working location of the PrusaControl .json files are located ?
On my Mac, I've edited the materials_i3_mk2.json file in the package with my personal settings but they have NO effect and I don't have the my user, library/Application Support folder either !

Thanks

Brian
--------

Posted : 08/01/2018 5:58 pm
GertL
(@gertl)
Reputable Member
Re: Prusa Control - add new material

Hi Brian
Did you ever discover where the working location of the PrusaControl .json files are located ?

Nope, there isn't a trace of them on my iMac. I can only find the packages and that one doesn't work to change.

---
Gert

Posted : 08/01/2018 7:03 pm
Microblackcat
(@microblackcat)
New Member
Re: Prusa Control - add new material

Mac Solution Found:

The .json file that holds the drop down printer list and their parameters can be found at:

Macintosh Hd\Users\<username>\Library\Application Support\Prusa Control\<relevant materals_i3_mk .... .json> and editable with 'TextEdit' app.

Note: Library files may not be visible until you unhide system files via:

Cmd key + Shift + . (dot)

If you copy the original file to be modified and rename it (should you need to get it back !), edit the copy and rename it per the original & edit the 'Label' value & add your initials (for example) so you can confirm you are seeing the modified file in the drop-down materials list.

You will need to close down PrusaControl & reopen it before it loads the new menu.

Don't forget to Hide your system files again by repeating the Cmd key + Shift + . (dot)

Posted : 10/01/2018 7:04 pm
GertL
(@gertl)
Reputable Member
Re: Prusa Control - add new material

@Brian

😀
Very nice, Cmd key + Shift + . (dot) did the trick.
Now we can play a bit.

Again, nice discovery.

---
Gert

Posted : 10/01/2018 7:22 pm
Share: