From fb908f6f82fb61212eaaeafb3e1c3fbf06c47fc0 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Thu, 26 Feb 2015 21:25:59 +0100 Subject: [PATCH] make main material cards to work correctly with FemWB --- src/Mod/Material/CMakeLists.txt | 5 +- src/Mod/Material/StandardMaterial/ABS.FCMat | 10 ++-- .../Material/StandardMaterial/CalculiX.FCMat | 4 +- .../Material/StandardMaterial/Concrete.FCMat | 6 +- src/Mod/Material/StandardMaterial/PLA.FCMat | 12 ++-- src/Mod/Material/StandardMaterial/Steel.FCMat | 4 +- src/Mod/Material/StandardMaterial/Wood.FCMat | 55 +++++++++++++++++++ 7 files changed, 77 insertions(+), 19 deletions(-) create mode 100644 src/Mod/Material/StandardMaterial/Wood.FCMat diff --git a/src/Mod/Material/CMakeLists.txt b/src/Mod/Material/CMakeLists.txt index 76009d2bb..be74dca33 100644 --- a/src/Mod/Material/CMakeLists.txt +++ b/src/Mod/Material/CMakeLists.txt @@ -14,9 +14,12 @@ SOURCE_GROUP("Module" FILES ${Material_SRCS}) #FILE( GLOB MaterialLib_Files ./StandardMaterial/*.FCMat ./StandardMaterial/*.txt ) SET (MaterialLib_Files - StandardMaterial/Steel.FCMat StandardMaterial/ABS.FCMat + StandardMaterial/CalculiX.FCMat + StandardMaterial/Concrete.FCMat StandardMaterial/PLA.FCMat + StandardMaterial/Steel.FCMat + StandardMaterial/Wood.FCMat StandardMaterial/Readme.txt ) SOURCE_GROUP("MatLib" FILES ${MaterialLib_Files}) diff --git a/src/Mod/Material/StandardMaterial/ABS.FCMat b/src/Mod/Material/StandardMaterial/ABS.FCMat index 8797224b0..f6d6b3b22 100644 --- a/src/Mod/Material/StandardMaterial/ABS.FCMat +++ b/src/Mod/Material/StandardMaterial/ABS.FCMat @@ -6,7 +6,7 @@ [General] ; General name, need to be the same as the file name Name=ABS -; Father of steel is metal +; Father of ABS is Thermoplast Father=Thermoplast ; more elaborate description of this material card: Description: This is a blend ABS material card. The values are at the low end of the spectrum. If you need a more precise material definition use the more specialised ABS-blend cards. @@ -20,10 +20,10 @@ ProductURL=http://en.wikipedia.org/wiki/Acrylonitrile_butadiene_styrene SpecificPrice= 3 [Mechanical] -; youngs modulus (or E-Module or Modulus of Elasticty) in kPa (source: http://en.wikipedia.org/wiki/Young%27s_modulus) -YoungsModulus=2.32e+06 -; http://en.wikipedia.org/wiki/Ultimate_tensile_strength in kPa -UltimateTensileStrength= 38000 +; youngs modulus (or E-Module or Modulus of Elasticty) (source: http://en.wikipedia.org/wiki/Young%27s_modulus) +YoungsModulus=2.32e+03 MPa +; http://en.wikipedia.org/wiki/Ultimate_tensile_strength in +UltimateTensileStrength= 38 MPa [FEM] PoissonRatio = 0.35 \ No newline at end of file diff --git a/src/Mod/Material/StandardMaterial/CalculiX.FCMat b/src/Mod/Material/StandardMaterial/CalculiX.FCMat index e42ebf91d..a5b7b95ad 100644 --- a/src/Mod/Material/StandardMaterial/CalculiX.FCMat +++ b/src/Mod/Material/StandardMaterial/CalculiX.FCMat @@ -7,8 +7,8 @@ Name=CalculiX Father=Metal [Mechanical] -; youngs modulus (or E-Module) in kPa -YoungsModulus=2.1e+08 +; youngs modulus (or E-Module) +YoungsModulus=2.1e+05 MPa [FEM] PoissonRatio = 0.3 \ No newline at end of file diff --git a/src/Mod/Material/StandardMaterial/Concrete.FCMat b/src/Mod/Material/StandardMaterial/Concrete.FCMat index 753912494..ab4bc1e03 100644 --- a/src/Mod/Material/StandardMaterial/Concrete.FCMat +++ b/src/Mod/Material/StandardMaterial/Concrete.FCMat @@ -15,13 +15,13 @@ Description=A standard C-25 construction concrete [Mechanical] UltimateTensileStrength= -CompressiveStrength=25 Mpa -YoungsModulus= +CompressiveStrength=25 MPa +YoungsModulus=3.2e+4 MPa Elasticity= FractureToughness= [FEM] -PoissonRatio= +PoissonRatio=0.17 [Architectural] StandardCode=Masterformat 03 33 13 diff --git a/src/Mod/Material/StandardMaterial/PLA.FCMat b/src/Mod/Material/StandardMaterial/PLA.FCMat index bd5c72ba9..fffc56413 100644 --- a/src/Mod/Material/StandardMaterial/PLA.FCMat +++ b/src/Mod/Material/StandardMaterial/PLA.FCMat @@ -6,8 +6,8 @@ [General] ; General name, need to be the same as the file name Name=PLA -; Father of steel is metal -Father=Metal +; Father of PLA is Thermoplast +Father=Thermoplast ; more elaborate description of this material card: Description: This is a blend Steel material card. The values are at the low end of the spectrum. If you need a more precise material definition use the more specialised steel cards. ; Specific wight in kg/mm^3 @@ -20,10 +20,10 @@ ProductURL=http://en.wikipedia.org/wiki/Polylactic_acid SpecificPrice= 4 [Mechanical] -; youngs modulus (or E-Module) in kPa (source: http://en.wikipedia.org/wiki/Young%27s_modulus) -YoungsModulus=3.64e+06 -; http://en.wikipedia.org/wiki/Ultimate_tensile_strength in kPa -UltimateTensileStrength= 49600 +; youngs modulus (or E-Module) (source: http://en.wikipedia.org/wiki/Young%27s_modulus) +YoungsModulus=3.64e+03 MPa +; http://en.wikipedia.org/wiki/Ultimate_tensile_strength +UltimateTensileStrength= 49.6 MPa [FEM] diff --git a/src/Mod/Material/StandardMaterial/Steel.FCMat b/src/Mod/Material/StandardMaterial/Steel.FCMat index 984f4c2a2..98c3e1bdd 100644 --- a/src/Mod/Material/StandardMaterial/Steel.FCMat +++ b/src/Mod/Material/StandardMaterial/Steel.FCMat @@ -20,8 +20,8 @@ ProductURL=http://en.wikipedia.org/wiki/Steel SpecificPrice= 1,5 Euro/Kg [Mechanical] -; youngs modulus (or E-Module) in kPa (source: http://en.wikipedia.org/wiki/Young%27s_modulus) -YoungsModulus=2e+08 +; youngs modulus (or E-Module) (source: http://en.wikipedia.org/wiki/Young%27s_modulus) +YoungsModulus=2.0e+05 MPa ; http://en.wikipedia.org/wiki/Ultimate_tensile_strength UltimateTensileStrength= ; http://en.wikipedia.org/wiki/Compressive_strength diff --git a/src/Mod/Material/StandardMaterial/Wood.FCMat b/src/Mod/Material/StandardMaterial/Wood.FCMat new file mode 100644 index 000000000..688a28aa6 --- /dev/null +++ b/src/Mod/Material/StandardMaterial/Wood.FCMat @@ -0,0 +1,55 @@ +; Standard Wood Material +; (c) 2015 Bernd Hahnebach (CC-BY 3.0) +; information about the content of this card can be found here: +; http://www.freecadweb.org/wiki/index.php?title=Material + +[General] +Vendor= +Name=Wood +SpecificPrice= +Father=Aggregate +ProductURL=http://en.wikipedia.org/wiki/Wood +SpecificWeight=500 +Description=A standard construction wood + +[Mechanical] +UltimateTensileStrength= +CompressiveStrength= +YoungsModulus=1.2e+4 MPa +Elasticity= +FractureToughness= + +[FEM] +PoissonRatio=0.05 + +[Architectural] +StandardCode= +EnvironmentalEfficiencyClass= +FireResistanceClass= +Finish= +Color= +ExecutionInstructions= +SoundTransmissionClass= +UnitsPerQuantity= +ThermalConductivity= +Model= + +[Rendering] +TextureScaling= +FragmentShader= +AmbientColor= +EmissiveColor= +DiffuseColor= +Shininess= +SpecularColor= +Transparency= +VertexShader= +TexturePath= + +[Vector rendering] +ViewLinewidth= +ViewFillPattern= +SectionLinewidth= +SectionFillPattern= +ViewColor= +