Material overhaul

A forum to discuss the implementation of a good Materials system in FreeCAD
knipknap
Posts: 105
Joined: Sat Mar 05, 2022 1:21 pm

Re: Material overhaul

Post by knipknap »

grandcross wrote: Sat Aug 26, 2023 8:22 pm One thing this tool will enable is shared catalogs as web service or database back ends. This will allow data to be shared in ways I don't currently envision. Material models support inheritance, so having "AluminumX" and a derived version "AluminumXFoundInTheScrapHeapOfUnknownOrigin" with the second having measured values, or values derived through experimentation on your lathe/CNC/milling machine, is possible.
Ahh, those features combined sound like a really good solution for the use case! Looking forward to using this!
keithsloan52
Veteran
Posts: 2677
Joined: Mon Feb 27, 2012 5:31 pm

Re: Material overhaul

Post by keithsloan52 »

One thing has come up with Materials in the GDML workbench that may apply to other workbenches or there may already be a better solution.

GDML objects are implemented as Python Features and have materials that are currently implemented as enumerate properties, where the enumerate list is the list of possible materials.

Now the issue is with a facility that introduces a list of extra materials. What I think is needed is that a Python Feature could have a enumerate property that has a document wide list, such that the document wide list could be changed and this would be reflected in all the python feature objects.
Last edited by keithsloan52 on Fri Sep 01, 2023 1:36 am, edited 2 times in total.
User avatar
Shalmeneser
Veteran
Posts: 8109
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Material overhaul

Post by Shalmeneser »

@keithsloan52 : problem with your post above :mrgreen:
Post Reply