Material: Material handling enhancements

Rework of the material handling system.

This first part concntrates on a rework of the material cards.
Rather than use a fixed list of possible properties, properties can
be defined separately in their own files and mixed to provide a
complete list of possible properties. Properties can be inherited.

The cards then provide values for the properties. These can also
be inherited allowing for small changes in cards as required.

The new property definitions are more extensive than previously.
2 and 3 dimensional arrays of properties can be defined. Values
are obtained by calling an API instead of reading from a dictionary.

For compatibility, a Python dictionary of values can be obtained
similar to how it was done previously, but this is considered a
deprecated API and won't support the newer advanced features.

The editor is completely reworked. It will be able to edit older format
material cards, but can only save them in the new format.

For testing during the development phase, a system preference can
specifiy wether the old or new material editors are to be used. This
option will be removed before release.
This commit is contained in:
David Carter
2023-09-14 22:52:48 -04:00
parent 6b0c054023
commit 902af79514
397 changed files with 19222 additions and 4312 deletions

View File

@@ -0,0 +1,69 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: "Architectural"
UUID: '32439c3b-262f-4b7b-99a8-f7f44e5894c8'
URL: ''
Description: "default architectural model"
DOI: ""
Color:
Type: 'String'
Units: ''
URL: ''
Description: " "
EnvironmentalEfficiencyClass:
Type: 'String'
Units: ''
URL: ''
Description: " "
ExecutionInstructions:
Type: 'String'
Units: ''
URL: ''
Description: " "
Finish:
Type: 'String'
Units: ''
URL: ''
Description: " "
FireResistanceClass:
Type: 'String'
Units: ''
URL: ''
Description: " "
Model:
Type: 'String'
Units: ''
URL: ''
Description: " "
SoundTransmissionClass:
Type: 'String'
Units: ''
URL: ''
Description: " "
UnitsPerQuantity:
Type: 'Float'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,47 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: "Costs"
UUID: '881df808-8726-4c2e-be38-688bb6cce466'
URL: ''
Description: "default cost model"
DOI: ""
ProductURL:
Type: 'URL'
Units: ''
URL: 'https://de.wikipedia.org/wiki/Hyperlink'
Description: "Product URL, recommended are wikipedia links"
SpecificPrice:
Type: 'Float'
Units: ''
URL: ''
Description: >
Specific price in currency / mass. A currency is not supported by
FreeCAD unit system. Will be empty in all FreeCAD cards. Means the
user needs to put in himself.
Vendor:
Type: 'String'
Units: ''
URL: ''
Description: "Vendor of the material"

View File

@@ -0,0 +1,45 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: "Electromagnetic"
UUID: 'b2eb5f48-74b3-4193-9fbb-948674f427f3'
URL: ''
Description: "default electromagnetic model"
DOI: ""
RelativePermittivity:
Type: 'Float'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Relative_permittivity'
Description: "The ratio to the permittivity of the vacuum"
ElectricalConductivity:
Type: 'Quantity'
Units: 'S/m'
URL: 'https://en.wikipedia.org/wiki/Electrical_resistivity_and_conductivity'
Description: >
The electrical conductivity in [FreeCAD ElectricalConductivity unit]
RelativePermeability:
Type: 'Float'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Permeability_(electromagnetism)'
Description: "The ratio to the permeability of the vacuum"

View File

@@ -0,0 +1,51 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: "Fluid"
UUID: '1ae66d8c-1ba1-4211-ad12-b9917573b202'
URL: ''
Description: "default fluid model"
DOI: ""
Inherits:
- Density:
UUID: '454661e5-265b-4320-8e6f-fcf6223ac3af'
DynamicViscosity:
Type: 'Quantity'
Units: 'Pa*s'
URL: 'https://en.wikipedia.org/wiki/Viscosity'
Description: >
Dynamic viscosity is defined as the ability of a material to resist
flow and deform during mechanical oscillation as a function of
temperature, frequency, time, or both
KinematicViscosity:
Type: 'Quantity'
Units: 'm^2/s'
URL: 'https://en.wikipedia.org/wiki/Viscosity'
Description: "Kinematic Viscosity = Dynamic Viscosity / Density"
PrandtlNumber:
Type: 'Float'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Prandtl_number'
Description: >
The Prandtl number is a dimensionless number defined as the ratio
of momentum diffusivity to thermal diffusivity

View File

@@ -0,0 +1,36 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: 'Father'
UUID: '9cdda8b6-b606-4778-8f13-3934d8668e67'
URL: ''
Description: "Used to define a class of materials"
DOI: ""
Father:
Type: 'String'
Units: ''
URL: ''
Description: >
Father of the material, ex. the father of PLA is Thermoplast, the
father of Steel is Metal

View File

@@ -0,0 +1,46 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: 'Material Standard'
UUID: '1e2c0088-904a-4537-925f-64064c07d700'
URL: ''
Description: "Describes the norm or standards referenced by this material"
DOI: ""
KindOfMaterial:
Type: 'String'
Units: ''
URL: ''
Description: " "
MaterialNumber:
Type: 'String'
Units: ''
URL: ''
Description: " "
StandardCode:
Type: 'String'
Units: ''
URL: ''
Description: >
This is a reference to a norm or standards system where this material
is referenced by a precise ID or number

View File

@@ -0,0 +1,34 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: 'Density'
UUID: '454661e5-265b-4320-8e6f-fcf6223ac3af'
URL: ''
Description: 'Density is the most basic physical model'
DOI: ''
Density:
Type: 'Quantity'
Units: 'kg/m^3'
URL: 'https://en.wikipedia.org/wiki/Density'
Description: "Density in [FreeCAD Density unit]"

View File

@@ -0,0 +1,41 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: 'Hypothetical Example'
UUID: 'a401af74-e4a2-4bad-8dd5-0f3d1748c462'
URL: 'https://en.wikipedia.org/wiki/Linear_elasticity'
Description: >
This is not a real physical model. It is intended as an example of a new
physical model
DOI: ""
GigaWatts:
Type: 'Quantity'
Units: ''
URL: ''
Description: ""
TimeFluxDensity:
Type: 'Quantity'
Units: ''
URL: ''
Description: ""

View File

@@ -0,0 +1,51 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: 'Isotropic Linear Elastic'
UUID: 'f6f9e48c-b116-4e82-ad7f-3659a9219c50'
URL: 'https://en.wikipedia.org/wiki/Linear_elasticity'
Description: >
Materials that are linearly elastic obey Hooke's law i.e. the stress
and strain relationship is linear
DOI: "10.1016/j.ijplas.2004.06.004"
BulkModulus:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Bulk_modulus'
Description: "Bulk modulus in [FreeCAD Pressure unit]"
PoissonRatio:
Type: 'Float'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Poisson%27s_ratio'
Description: "Poisson's ratio [unitless]"
ShearModulus:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Shear_modulus'
Description: "Shear modulus in [FreeCAD Pressure unit]"
YoungsModulus:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Young%27s_modulus'
Description: "Young's modulus (or E-Module) in [FreeCAD Pressure unit]"

View File

@@ -0,0 +1,81 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: 'Linear Elastic'
UUID: '7b561d1d-fb9b-44f6-9da9-56a4f74d7536'
URL: 'https://en.wikipedia.org/wiki/Linear_elasticity'
Description: >
Materials that are linearly elastic obey Hooke's law i.e. the stress and
strain relationship is linear
DOI: "10.1016/j.ijplas.2004.06.004"
Inherits:
- Density:
UUID: '454661e5-265b-4320-8e6f-fcf6223ac3af'
- IsotropicLinearElastic:
UUID: 'f6f9e48c-b116-4e82-ad7f-3659a9219c50'
AngleOfFriction:
Type: 'Quantity'
Units: 'deg'
URL: 'https://en.wikipedia.org/wiki/Friction#Angle_of_friction'
Description: >
Further information can be found at
https://en.wikipedia.org/wiki/Mohr%E2%80%93Coulomb_theory
CompressiveStrength:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Compressive_strength'
Description: "Compressive strength in [FreeCAD Pressure unit]"
FractureToughness:
Type: 'Float'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Fracture_toughness'
Description: >
Unit MPa * m^0.5 is not possible ATM in FreeCAD thus String. Keep in mind
the unit is fixed MPa * m^0.5.
https://github.com/FreeCAD/FreeCAD/pull/2156
UltimateStrain:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Deformation_(mechanics)'
Description: " "
UltimateTensileStrength:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Ultimate_tensile_strength'
Description: "Ultimate tensile strength in [FreeCAD Pressure unit]"
YieldStrength:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Yield_Strength'
Description: "Yield strength in [FreeCAD Pressure unit]"
Stiffness:
Type: 'Quantity'
Units: 'N/m'
URL: 'https://en.wikipedia.org/wiki/Stiffness'
Description: "Stiffness (or Spring Stiffness) in [FreeCAD Stiffness unit]"
Hardness:
Type: 'Quantity'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Mohs_scale'
Description: "Hardness. FreeCAD does not currently support hardness units"

View File

@@ -0,0 +1,65 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: 'OgdenYld2004p18'
UUID: '3ef9e427-cc25-43f7-817f-79ff0d49625f'
URL: 'https://en.wikipedia.org/wiki/Linear_elasticity'
Description: >
Materials that are linearly elastic obey Hooke's law i.e. the stress and
strain relationship is linear
DOI: "10.1016/j.ijplas.2004.06.004"
OgdenModuli:
Type: 'List'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Ogden_hyperelastic_model'
Description: "Elastic moduli μ for Ogden [FreeCAD Pressure unit]"
OgdenExponent:
Type: 'Integer'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Ogden_hyperelastic_model'
Description: "Exponent ɑ for Ogden [unitless]"
InitialYieldStress:
Type: 'Quantity'
Units: 'kPa'
URL: ''
Description: >
Saturation stress for Voce isotropic hardening [FreeCAD Pressure unit]
VoceSaturationStress:
Type: 'Quantity'
Units: 'kPa'
URL: ''
Description: >
Saturation stress for Voce isotropic hardening [FreeCAD Pressure unit]
VoceStrainScale:
Type: 'Float'
Units: ''
URL: ''
Description: "Strain scale in Voce isotropic hardening [unitless]"
Yld2004p18Coefficients:
Type: 'List'
Units: ''
URL: ''
Description: >
Coefficients (c_12, c_13, c_21, c_23, c_31, c_32, c_44, c_55, c_66)
in Yld2004-18p yield surface [unitless]

View File

@@ -0,0 +1,76 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: 'Orthotropic Linear Elastic'
UUID: 'b19ccc6b-a431-418e-91c2-0ac8c649d146'
URL: 'https://en.wikipedia.org/wiki/Linear_elasticity'
Description: >
Materials that are linearly elastic obey Hooke's law i.e. the stress and
strain relationship is linear
DOI: ""
PoissonRatioXY:
Type: 'Float'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Poisson%27s_ratio'
Description: "Poisson's ratio [unitless]"
PoissonRatioXZ:
Type: 'Float'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Poisson%27s_ratio'
Description: "Poisson's ratio [unitless]"
PoissonRatioYZ:
Type: 'Float'
Units: 'Pressure'
URL: 'https://en.wikipedia.org/wiki/Poisson%27s_ratio'
Description: "Poisson's ratio [unitless]"
ShearModulusXY:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Shear_modulus'
Description: "Shear modulus in [FreeCAD Pressure unit]"
ShearModulusXZ:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Shear_modulus'
Description: "Shear modulus in [FreeCAD Pressure unit]"
ShearModulusYZ:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Shear_modulus'
Description: "Shear modulus in [FreeCAD Pressure unit]"
YoungsModulusX:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Young%27s_modulus'
Description: "Young's modulus (or E-Module) in [FreeCAD Pressure unit]"
YoungsModulusY:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Young%27s_modulus'
Description: "Young's modulus (or E-Module) in [FreeCAD Pressure unit]"
YoungsModulusZ:
Type: 'Quantity'
Units: 'kPa'
URL: 'https://en.wikipedia.org/wiki/Young%27s_modulus'
Description: "Young's modulus (or E-Module) in [FreeCAD Pressure unit]"

View File

@@ -0,0 +1,42 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Advanced Rendering"
UUID: 'c880f092-cdae-43d6-a24b-55e884aacbbf'
URL: ''
Description: "default rendering model"
DOI: ""
Inherits:
- BasicRendering:
UUID: 'f006c7e4-35b7-43d5-bbf9-c5d572309e6e'
FragmentShader:
Type: 'String'
Units: ''
URL: ''
Description: " "
VertexShader:
Type: 'String'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,59 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Basic Rendering"
UUID: 'f006c7e4-35b7-43d5-bbf9-c5d572309e6e'
URL: ''
Description: "default rendering model"
DOI: ""
AmbientColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
DiffuseColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
EmissiveColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Shininess:
Type: 'Float'
Units: ''
URL: ''
Description: " "
SpecularColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
Transparency:
Type: 'Float'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,42 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Texture Rendering"
UUID: 'bbdcc65b-67ca-489c-bd5c-a36e33d1c160'
URL: ''
Description: "default rendering model"
DOI: ""
Inherits:
- BasicRendering:
UUID: 'f006c7e4-35b7-43d5-bbf9-c5d572309e6e'
TexturePath:
Type: 'File'
Units: ''
URL: ''
Description: " "
TextureScaling:
Type: 'Float'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,59 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
AppearanceModel:
Name: "Vector Rendering"
UUID: 'fdf5a80e-de50-4157-b2e5-b6e5f88b680e'
URL: ''
Description: "default vector rendering model"
DOI: ""
SectionFillPattern:
Type: 'File'
Units: ''
URL: ''
Description: " "
SectionLinewidth:
Type: 'Float'
Units: ''
URL: ''
Description: " "
SectionColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
ViewColor:
Type: 'Color'
Units: ''
URL: ''
Description: " "
ViewFillPattern:
Type: 'Boolean'
Units: ''
URL: ''
Description: " "
ViewLinewidth:
Type: 'Float'
Units: ''
URL: ''
Description: " "

View File

@@ -0,0 +1,47 @@
---
# ***************************************************************************
# * *
# * Copyright (c) 2023 David Carter <dcarter@davidcarter.ca> *
# * *
# * This program is free software; you can redistribute it and/or modify *
# * it under the terms of the GNU Lesser General Public License (LGPL) *
# * as published by the Free Software Foundation; either version 2 of *
# * the License, or (at your option) any later version. *
# * for detail see the LICENCE text file. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU Library General Public License for more details. *
# * *
# * You should have received a copy of the GNU Library General Public *
# * License along with this program; if not, write to the Free Software *
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# ***************************************************************************
Model:
Name: "Thermal"
UUID: '9959d007-a970-4ea7-bae4-3eb1b8b883c7'
URL: ''
Description: "default thermal model"
DOI: ""
SpecificHeat:
Type: 'Quantity'
Units: 'J/kg/K'
URL: 'https://en.wikipedia.org/wiki/Heat_capacity'
Description: "Specific capacity in [FreeCAD SpecificHeat unit]"
ThermalConductivity:
Type: 'Quantity'
Units: 'W/m/K'
URL: 'https://en.wikipedia.org/wiki/Thermal_conductivity'
Description: "Thermal conductivity in [FreeCAD ThermalConductivity unit]"
ThermalExpansionCoefficient:
Type: 'Quantity'
Units: 'm/m/K'
URL:
'https://en.wikipedia.org/wiki/Volumetric_thermal_expansion_coefficient'
Description: >
Thermal expansion coefficient (linear) in [FreeCAD
ThermalExpansionCoefficient unit]