Merge pull request #13529 from davesrocketshop/hardness_units_pr

Materials: Update Material Models
This commit is contained in:
sliptonic
2024-05-06 10:43:32 -05:00
committed by GitHub
9 changed files with 258 additions and 6 deletions

View File

@@ -20,7 +20,10 @@ Models:
UltimateTensileStrength: "975.5 MPa"
YieldStrength: "910 MPa"
YoungsModulus: "114 GPa"
Hardness: "35 HRC"
Hardness:
UUID: '3d1a6141-d032-4d82-8bb5-a8f339fff8ad'
Hardness: "35"
HardnessUnits: "HRC"
Thermal:
UUID: '9959d007-a970-4ea7-bae4-3eb1b8b883c7'
SpecificHeat: "553.0 J/kg/K"

View File

@@ -0,0 +1,43 @@
---
# ***************************************************************************
# * *
# * 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: 'Hardness'
UUID: '3d1a6141-d032-4d82-8bb5-a8f339fff8ad'
URL: 'https://en.wikipedia.org/wiki/Mohs_scale'
Description: >
Measure of the hardness of the material. FreeCAD does not define any
hardness units so it is up to the module to interpret the units as
appropriate.
DOI: ''
Hardness:
Type: 'Float'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Mohs_scale'
Description: "Hardness. FreeCAD does not currently support hardness units"
HardnessUnits:
DisplayName: "Hardness Units"
Type: 'String'
Units: ''
URL: 'https://en.wikipedia.org/wiki/Mohs_scale'
Description: "Hardness units. FreeCAD does not currently support hardness units"

View File

@@ -80,8 +80,3 @@ Model:
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"