Jump to content

Bunnyman21

Dormant
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    1

Bunnyman21 last won the day on November 9 2022

Bunnyman21 had the most liked content!

Personal Information

  • 3D printer
    Ultimaker 3 (Ext)
  • Country
    AU
  • Industry
    R&D / Exploration

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Bunnyman21's Achievements

11

Reputation

  1. While I have not tried that myself (I'm building up a collection of empty Ultimaker spools to reuse haha), I would imagine that the remaining filament would be incorrect? For example, whichever tag is in range will be the one that receives the updated remaining filament? I guess if you only care about loading the filament though it wouldn't matter too much if only one is in range?
  2. Hey Rachael, thanks so much for finding and fixing the issue! I hadn't tried using it with the newer Cura versions yet. I have merged your change and applied the fix for MacOS and Linux too. The new compiled version is now on GitHub. Oddly enough, the exe is a third of the previous size, yet seems to still be working (no idea what I did). Please let me know if you find any issues. Thanks!
  3. This is awesome! I also use the eSun materials quite a lot so I might try and order some of these to try. I was sticking the smaller 25mm tags on the inside of the centre hole and found they mostly worked, but there were a few places it still wouldn't detect correctly. I never tried the diagnostic tools on the printer, will have to try this out too. Ideally, I would love to find a way to attach the tags without sticking them on, so I can transfer them to another spool once they are empty. At least the tags are cheap though if I can't.
  4. Hmm, that's odd. The error indicates that the registry key HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ultimaker B.V.\Ultimaker Cura 4.7" doesn't exist. It was hard coded in the previous version, but the new version should find the latest version automatically. Line 49 on my copy is blank, could you check the version of the CuraMaterial.py script you are using has the following on line 58: curaSysDir = OpenKey(HKEY_LOCAL_MACHINE, 'SOFTWARE\\WOW6432Node\\Ultimaker B.V.\\' + latestInstalled, 0, KEY_READ) There should be no hardcoded version numbers anymore for the Windows or Mac sections. The latestInstalled variable should be the latest version it finds in the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ultimaker B.V. Edit: Might also be worth checking you don't have any compiled .pyc files left from before you downloaded the new scripts. Just incase it is using those instead of the new code. I'm glad the exe version is working though 😄
  5. For anyone wanting some instructions or a compiled version, I have uploaded these to the GitHub now (as well as a bunch of fixes to the code). Hope it helps! Please let me know if you run into any issues and I'll take a look. I've tested the script on Windows 10 and MacOS 11. The exe seems to work on my PC, not sure if there are hidden dependencies involved though.
  6. Sounds like the custom tags will be no issue then which is great. At one stage, I was unwinding and transferring my spools onto empty Ultimaker ones which was a tad painful. I only have an Ultimaker 3, so I don't have access to the new firmware (at least as far as I can tell), but I would imagine that the format of the tags would remain the same for now, otherwise newer spools may not work with the older printers? I had a look at the firmware page, seems they are allowing specific colours to be manually selected and loaded into the printer. I don't think this would change the tag format though as each colour is just another unique material ID.
  7. @rachael7 Sorry I didn't see your posts until now, i've been without a computer for 2 months. That's a great idea, once I fix my main PC I should probably compile and upload an exe version to make it easier. Seems you got it all working though, I did the same and used some NTAG216 tags from eBay. The only concern I had with the small tags was if the Ultimaker would be in range of the tag in all positions around the spool while spinning, as the Ultimaker tags have an antenna that spans around the spool holder 😕 I didn't do much testing here, as I had plenty of empty UM spools to use. To determine which memory location relates to which part of the record, you can look directly at the python class, specifically the decode functions which tell you which bytes belong to which value. However, I did find it difficult to match them up this way. I added a function back when I was testing it called load_bin in the Spool-Maker script. You can dump the contents of the tags to a bin file (I used the TagMo app on Android) and read the raw values if you are interested. The load_bin function can be used to then decode this bin file. Hope this helps!
  8. I just plug my ACR122U directly into the windows PC. Windows recognises it as a smartcard reader and Python then interfaces with it directly, no Pi needed. This is correct, you must have the material installed in Cura first if using the GUID. (or for PolyWood I created a new Material which generates a new one) The GUI searches for all installed materials, including custom materials. If you use the main function from the command line, technically you could give it whatever GUID you like, but if it's not in the printer I imagine nothing would happen. I find it best to backup custom Materials too, otherwise, if they get lost the GUID would change upon creating the material again. I always use the latest versions for Cura/UM3 firmware so I have not tested anything with older versions, but it should work fine.
  9. @gandy @jomeier No problem, I put the link below. Still had some things I wanted to fix before uploading which are done now. Note it doesn't detect directories automatically for Mac or Linux yet, but can detect Cura for Windows just fine. For Mac/Linux, just give it the file paths. The script should work on a Pi too, but better to use command line for that rather than GUI. https://github.com/DA-Osborne/Spool-Maker @gandy A cura plugin would definitely make it easier to match up Materials. Looks like Cura has a page dedicated for making plugins that work within Cura I need to read sometime. For now the CuraMaterial.py file can load all installed materials. (in a crude sort of way) I normally run it from within Visual Studio Code, as double clicking it doesn't always work. I added a resource loader so you can also run pyinstaller to make an exe version if that's easier. Otherwise, the main function allows the creation of a spool by simply filling in the required variables at the bottom of the NFCSpool.py file. (The GUI is launched from the SpoolMaker.py file on the other hand) I have used it for some PolyWood material so far by winding it onto a depleted Ultimaker spool, and overriding the tag with the correct ID and remaining length. Very useful for knowing if there is enough material left!
  10. @gandy I came across your example scripts for creating and writing spools while trying to write my own tags for some 3rd party spools. I just wanted to say the scripts worked really well! (I ended up getting the ACR122U-A9 as you were using) I combined your 2 scripts together, and then wrote some extra modules and a qt interface on top so I could easily create new spools as needed or check on my existing spools. I also added a lookup function to determine the material from the guid by reading all the material xml files in both the user and system cura material directories. I do wonder if it would work as a cura plugin, but not sure how to even start with that yet.
×
×
  • Create New...