To begin our conversation, I am using SolidWorks 2005 SP3.
I'm writing a software tool to manage SolidWorks materials a little more easily that the included tools and I'm flummoxed. The material data is kept in data files ending in .sldmat. These are basically XML files which makes them fairly easy to parse and manipulate.
What I don't understand is the units. Lets take the ultimate and yield strengths as an example.
In the solidworks materials.sldmat file, lets look at AISI 304.
Just for grins, set your units to IPS.
Pull up AISI 304 in the edit material gizmo
The Tensile Strength is 74,987.0 lb/in^2 The Yield Strength is 29994.8 lb/in^2
Now open up solidworks materials.sldmat in a text editor.
Find AISI 304 and if you look further, it contains the two lines:
Okay, doing some simple proportioning (to get an idea of what the conversion factor might be)4.20507E+8/74987 =5607.7...
and3.51571E+8/29994.8 = 11721.1...
Now, assuming that the units in the solidworks materials.sldmat file for stress would be kilopascals (for a well behaved metric unit), to convert from psi to kilopascals to psi you would multiply by 6.894, so that's not it.
Okay, assuming the units are in N/mm^2, converting from psi to N/mm^2 you multiply by 6894.757
Now my head really hurts.
Does anyone have a clue what in the world is going on?
Thanks =========================================================================== Chris