Material database question: I've added a couple groupings and deleted the original "Light Laser

Material database question: I’ve added a couple groupings and deleted the original “Light Laser Engraving” one. Every time I close and re-open the program, the original one is back and one of my others is gone. I have to save as a .json and re-open the .json every time I start the program. Is this normal?

@Jorge_Robles

Yes it is. Is an example so users could see what can you do. Will remove if enough requests though.

Keep it but just let the user remove it without it coming back ?

Could try :slight_smile:

I think shipping the software with an example database entry is a really good idea, that’s how I figured out how the database works. But the user should be able to delete, hide or change the example entry once he’s done with it. Otherwise it’s settings that the user won’t ever use, and they’re just in the way. Plus, like I said, if I try to delete it, it apparently deletes one of my other groupings instead. “Why did I just lose a lot of work?” Exporting my settings to a .json and importing them works, but then I have to futz around in my settings menu every time I launch the software, making a convenience feature less convenient.
I have a similar opinion to the example/template machine profiles. There’s four of them (Generic Smoothie machine, etc) and they always appear at the top of the drop down menus they’re found in. The user generated profiles appear at the bottom of the list, and the list doesn’t fly out to full length, so you almost always have to scroll down to find the profile you’re after. I would make the templates either deleteable, appear at the bottom of the list beneath the user-created profiles (the user customized profiles are, after all, the ones most likely to be used) or both. Again, shipping the software with generic/template profiles is a great idea for new users and/or new machines, but as is they’re in the way and you can’t move them.

I will try to reproduce the material database issue regarding delete a user grouping. Please open an issue attaching your json and steps to reproduce, thanks :slight_smile:

Regarding machine profiles, will move the user ones up the list, but generic ones will not be deleteable at the moment.

Shipping lw with profiles and materials are the idea behind the databases. They have their own repos http://lw.machines and http://lw.materials if anyone want to contribute. :slight_smile:

I’ve added several settings for various material into their own group outside of the default one, and tagged them under a new unique profile other than the generic smoothie profile. As long as I click update for the profile after making changes they will be there on LaserWeb reloading. only once had I forgotten to save the profile but I always save a copy of the .json material database as a backup so reload and save and it was fixed. Haven’t had any issues with not seeing all my presets without having to scroll, and I have added nearly a dozen.

@Domm434 The current waythat this is expressed in the Materials Database Editor isn’t intuitive.
@jorje_robles Will open an issue to work with you this afternoon. As for sharing databases with other users, I don’t think I’d do that much. Sharing settings would require the machine have the same diode/tube/driver/power supply/equipment/ambient conditions, let alone variables in the stock from various suppliers. I really like the idea of building my own database as I go though, that will save a lot of steps over time.

@Adam_Bowers I was able to replicate LW eating material groupings. Gonna fix :stuck_out_tongue:

Roger. I won’t open an issue on github. I appreciate your helping with the problem!

Fixed material database cookie monster. Also now it comes christmas: Example groupings will be marked as a gift, and can be deleted. In case you wipe all your material database, the example groupings will be restored.

BTW, I’m @Jorge_Robles ( jorje robles is another person :stuck_out_tongue: )

Sounds good, once again, I appreciate your work, and allowing some idiot to make a hash of your name. :wink: