Skip to content

Instantly share code, notes, and snippets.

@gonuke
Last active August 29, 2015 13:56
Show Gist options
  • Save gonuke/9215449 to your computer and use it in GitHub Desktop.
Save gonuke/9215449 to your computer and use it in GitHub Desktop.
mat_lib = MaterialLibrary(
{
'Water': Material(
density=1.0,
comp={1000: 11.11, 8000: 88.89}
)
})
{'Water' :
{
density: 1.0,
comp: {1000: 11.11, 8000:88.89}
}
'Steel' :
{
density: 7.8,
comp: {26000: 80, 8000: 2}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment