Open DIY-Machines opened 9 months ago
HI - I'm so sorry about not responding. My repo settings were wrong so I didn't get a notification, and I saw this just now. Hopefully that is fixed...
Are you still interested in working on this? If so, do you see any error messages or just an empty material list?
To isolate this issue, perhaps copy the library to some simple path like "/materials/library.clb" (just to test, you can delete it afterward) and see if it works?
Would you mind sharing the material library file so I can try it?
Hello,
I have the same problem (using Windows 10) - can't see the Lightburn Lib anywhere. Where should it be ?
Hi - do you mean where should the lightburn library be located? Leave it in the original place LightBurn has it stored. If you mean where the library options are located in LaserPost, they are in the 2D Profile
options (image below), after you create a setup, and then create the 2D Profile
operation.
If you find that the list of materials is empty, first check that you have a (fully rooted) path to the library in your Machine Settings under the Lightburn Library
field:
Any time this is changed, you must run at least one post for it to apply the change (limitation in Fusion's post processor API), and then on the next post it should show the materials on your 2D profile operation:
See the documentation for addition information.
If still having problems, when you run a post (even without the library working), change your Debug
settings to "Debug". Feel free to look at the log in case it provides any hints, but if not send it my way and I'll see if I can see anything odd going on.
Hello,
thanks for your fast answer. Now everything works fine. The only thing is a cosmetic issue: German umlauts are not displayed corrrectly:
Glad to hear it's working!
For the umlauts issue, I opened a new issue (#5) to track it. Have a look as you might be able to help figure it out. Thanks.
Another small question: If I change the Lightburn Material Lib (adding a new material or changing names), what do I have to do, that the changes are also visible in Fusion ? I see still the old materials in the 2D Profile Post properties....
If I change the Lightburn Material Lib (adding a new material or changing names), what do I have to do, that the changes are also visible in Fusion ?
Due to a limitation in the API's from Fusion, LaserPost needs to have a post-processor run executed once for it to see changes. This is because the only time it really executes my code is when the post is run. When looking at properties like the 2D Profile
, Fusion learns about the settings from "declarative" interfaces - meaning it doesn't run my code, which in turn means I can't check if the material library has changed.
Therefore, anytime settings or options seem out-of-date, run a post-process with LaserPost once. Doesn't matter what you post-process, it just needs to execute the post-processor once. It should then gather the latest information, and then the various screens and options should reflect the information (as of when the post was last executed).
Lightburn material library is located here on my Mac: /Users/lewis/Library/CloudStorage/GoogleDrive-lewis@diymachines.co.uk/My Drive/DIY Machines/Lightburn Material Library.clb
The file is always stored locally so I don't believe this is an issue with it being mirrored onto Googles Drive service.
The above path is set in the machine post settings in Fusion 360. I have run a post to try and trigger a refresh to be able to see the materials in Fusion 360. This has not worked.
I followed the guide here (https://nucarve.com/concise-guide-to-all-laserpost-settings-v1-2/) for the correct installation of LaserPost.
Keep up the good work, this look's like an amazing tool and just what I need to vastly improve my design work flow.