Skip to content

Commit

Permalink
Aligning pull with push for shear modulus for timber
Browse files Browse the repository at this point in the history
  • Loading branch information
IsakNaslundBh committed May 25, 2020
1 parent 56fd1a0 commit bcc6010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Robot_Adapter/Convert/FromRobot/Properties/Material.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static IMaterialFragment FromRobot(this IRobotLabel robotLabel, IRobotMat
material = Engine.Structure.Create.Aluminium(name, robotLabelData.E, robotLabelData.NU, robotLabelData.LX, robotLabelData.RO / Engine.Robot.Query.RobotGravityConstant, robotLabelData.DumpCoef);
break;
case IRobotMaterialType.I_MT_TIMBER:
material = Engine.Structure.Create.Timber(name, Create.Vector(robotLabelData.E, robotLabelData.E_Trans, robotLabelData.E_Trans), Create.Vector(robotLabelData.NU, robotLabelData.NU, robotLabelData.NU), Create.Vector(robotLabelData.Kirchoff, robotLabelData.Kirchoff, robotLabelData.Kirchoff), Create.Vector(robotLabelData.LX, robotLabelData.LX, robotLabelData.LX), robotLabelData.RO / Engine.Robot.Query.RobotGravityConstant, robotLabelData.DumpCoef);
material = Engine.Structure.Create.Timber(name, Create.Vector(robotLabelData.E, robotLabelData.E_Trans, robotLabelData.E_Trans), Create.Vector(robotLabelData.NU, robotLabelData.NU, robotLabelData.NU), Create.Vector(robotLabelData.GMean, robotLabelData.GMean, robotLabelData.GMean), Create.Vector(robotLabelData.LX, robotLabelData.LX, robotLabelData.LX), robotLabelData.RO / Engine.Robot.Query.RobotGravityConstant, robotLabelData.DumpCoef);
break;
case IRobotMaterialType.I_MT_OTHER:
case IRobotMaterialType.I_MT_ALL:
Expand Down

0 comments on commit bcc6010

Please sign in to comment.