Friday, September 20, 2013

Introducing ProfTweak - a MakerWare profile editor

ProfTweak 1.4 now supports Makerbot Desktop. It also fixes a bug in ProftTweak v1.2 and v1.3 that can cause bad profiles (update now!).

I'm a big fan of MakerWare and the MakerBot slicer.

The recent improvements in rafts, supports and general slicing quality are impressive.

That said - the one thing it doesn't do is provide a UI to access all the juicy goodies that let you really tweak print quality and get good results with alternative filaments.

Sometimes I need to do things like:

- Turn the filament fan off
- Adjust filament diameter
- Make the infill cats
- Change individual feedrate options (infill vs outlines)

Further - I often want to take an existing profile - and change a single variable as an experiment. For example - I might have a profile for Nylon that works well - but I want to try boosting the temperature up to 255c (and not have to create a new profile or risk messing-up the one that already works well).

So - I present ProfTweak:

Source and binaries (Windows, Mac, Linux) for ProfTweak are available on GitHub.
Tip: Look for the "Download Zip" button to quickly grab everything.

Source and binaries (Windows, Mac, Linux) for ProfTweak are available on GitHub.
Tip: Look for the "Download Zip" button to quickly grab everything.

What ProfTweak Does:

- Provides a simple GUI to access MakerWare slicer profile settings
- Toggle between a complete list of settings (there are a lot) and a smaller "Common Settings" list
- Add notes to your profiles
- Option to save as "ProfTweakTemp" profile for one-off experiments
- Windows, Mac and Linux versions (someone let me know if the Linux version actually works...)

ProfTweak was written in Processing using the G4P GUI library (these are great resources - but next app I will probably try something not Java-based).

ProfTweak requires Java (32-bit). If ProfTweak won't run - you may need to install it.

ProfTweak is licensed under http://creativecommons.org/licenses/by-sa/3.0/.

General Notes and Usage (aka documentation)


  • I've tested ProfTweak - and it seems to work for me. But there may be bugs - awful bugs! I can't say with certainty it won't do something terrible to your brand-new Replicator 2x.

  • Don't bug the nice people at MakerBot support about issues you encounter while using profiles generated by ProfTweak.

  • ProfTweak requires an existing custom profile to start with. You might want to create an unadulterated custom profile from inside MakerWare based on the "Standard" (and maybe "Low" / "High") to base future profiles on. ProfTweak won't modify the built-in MakerWare profiles.

  • When you create a new profile from within ProfTweak it copies the supporting files (end.gcode, start.gcode, profile.json) to a new folder - as well as writing out a new miracle.json file based on your modifications.

  • ProfTweak stores its settings in proftweak.json found in the DATA folder under the folder where the app is installed.

  • ProfTweak should generally find your MakerWare profile folder - but if it doesn't - you can specify it manually in proftweak.json (Linux users will probably need to do this).

  • If you're a Windows user and find you need to set your profile folder - format it like this: "C:/Users/Rich/My Things/Profiles/"

  • If you want to add / remove common items you can do so by modifying proftweak.json.

  • Mac users - if you get an error "proftweak.app is damaged and can't be opened" - it's likely due to your Gatekeeper settings requiring apps be signed. See here for the solution.

  • If you associate .json files with ProfTweak - MakerWare will launch it automatically when you select "Edit profile." The Windows setup package can do this for you automatically.

  • ProfTweak reformats the .json in any profile it edits. This makes it less human-readable (MakerWare seems OK with it).

  • When you modify a number - ProfTweak deals with it as a float. As a result .15 becomes 0.15000000596046448. This shouldn't make a meaningful difference when slicing - but it might make a small one.

  • Saving in ProfTweak is always a manual operation. If you close without saving - you've closed without saving!

  • Have fun!!! Don't hesitate to contact me (rich@nothinglabs.com) about issues.

    27 comments:

    1. What field do I change to set the infill to honeycomb?

      Also... you rock my world! Thanks heaps.

      Found this through Hack a Day.com

      ReplyDelete
      Replies
      1. the field is sparseInfillPattern - which should be set to hexagonal for the honeycomb style pattern

        this is the default for new makerware profiles as of 2.2 - if you're still running 2.1 - definitely worth upgrading (although any custom profiles you made might still be set to linear)

        glad to help out!

        Delete
    2. Hi,

      This is great. I have a problem that I can't set different temperatures for the dual extruder. Can we do that with ProfTweak?

      ReplyDelete
    3. Hi Rich,
      I'm trying to install proftweak on my mac. When I open it I get "proftweak.app is damaged and can't be opened. You should move it to the trash". I already changed the permissions for JavaApplicationStub (chmod per readme) but it didn't help. Any suggestions? Thanks!

      ReplyDelete
      Replies
      1. This sounds like it might be an apple app-signing thing. This link might have a quick fix:

        http://www.yourkit.com/download/mountain_lion.html

        Let me know if it works - and I'll mention it in the docs.

        Delete
    4. This app make life so much easier, thank you. One question I would like to print my first layer as a higher temp than the rest of the build, helps the PLA stick. It says under first layer setting temperature_disabled, how do I enable that, I know I can change it manually on the rep2 panel, would be good if I could do it automatically.

      ReplyDelete
      Replies
      1. proftweak just exposes values from the existing setting from miracle.json.

        It sounds like the setting you're looking for is renamed to "_disabled" in the existing miracle.json file.

        I would edit the file for that profile manually - and rename temperate_disabled to just "temperature.' You should then be able to set it via proftweak.

        Note - I don't have any clue if that setting is disabled for some good reason - so proceed with caution!

        Glad proftweak is a useful tool for you - have fun!

        -Rich

        Delete
      2. Is it really possible to set different temps during the print. The time between the different layers is so quick that the cooling or warming can never follow the printer speed.

        Delete
      3. This comment has been removed by the author.

        Delete
    5. Hi,
      nice and useful application, thanks.

      ReplyDelete
    6. Getting error "Windows cannot find javaw.exe." Also getting "Error calling ShellExecuteEx()"

      Used this fine before. New computer, new install of Win7 x64. Installed Java JDK, no change.

      This is the 3rd time writing this as your comment system likes to delete messages. Wonder how many other people couldn't comment.

      ReplyDelete
      Replies
      1. FIXED: Follow this http://stackoverflow.com/questions/14004851/javaw-exe-cannot-find-path

        Delete
    7. This comment has been removed by a blog administrator.

      ReplyDelete
    8. Hi - I'm having an issue where when I open proftweak I get a blank dialogbox/page. I've reinstalled proftweak and updated java but its still happening. This occurs both when I edit a profile from within makerware or open proftweak from the start menu or double click on a json file.

      Oddly if I minimise and restore the proftweak window I can then view the settings correctly.

      Any ideas?

      ReplyDelete
      Replies
      1. I don't - I haven't seen that one in the wild. I just released v1.4 with some important bug fixes - couldn't hurt to get the latest.

        Delete
    9. Uninstalled from control panel.
      Downloaded 1.4 ZIP
      When I run the exe in the windows32 folder it opens the proftweak profile editor but I can't change anything.

      Windows 7 x64 Java 8 r25
      (echoblue at gmail dot com)

      ReplyDelete
      Replies
      1. Have you created a custom profile in makerware already? (You need to first). When you say can't change - are things grayed out? Will it not save?

        Thanks,
        -Rich

        Delete
    10. hello
      Is it possible to set different speed for each extruder for dual extruders printer. It seems the profile editor allows to set temperatures, but all others parameters seems shared.
      This would be great when mixing differents filaments (like ABS and Filaflex) in the same object. ABS can run at high speed and Filaflex is better at slow speed (while I made my first falflex prints with ABS high profile and it worked fine)

      ReplyDelete
    11. would be great too to have infill density for each extruder .

      ReplyDelete
    12. do you have this for Windows 7, 8 and 8.1

      ReplyDelete
    13. Does not seam to run under java 8?

      ReplyDelete
    14. Hey, I know this is going to sound simple....but I'm stumped. I had Proftweak working just fine, but then had to reload makerware. Now when I try to edit a profile, it opens in Notepad instead of the slick userface you set up. Any ideas of what I can do to fix this? Thanks. - John

      ReplyDelete
      Replies
      1. Go to users\name\mythings\profiles\ rightklick a 'json' file and open with proftweak. ('always open with this' ticked).
        If you Update makerware you have to create new profiles. hth.. (Hope that Helps.)

        Delete
      2. That did it. tfyh. (Thanks for your help.)

        Delete