//------------------------------------------------------- // Initial positions AnyFolder &Dim = .EnvironmentModel.Seg.ChairDimensions; RefPM.Seg.BackRest.r0 = {0, -1/2*Dim.BackRestHeight, 0}; RefPM.Seg.BackRest.Axes0 = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}; RefPM.Seg.Seat.r0 = {1/2*Dim.SeatLength, -Dim.BackRestHeight, 0}; RefPM.Seg.Seat.Axes0 = {{0, -1, 0}, {1, 0, 0}, {0, 0, 1}}; RefPM.Seg.HeadRest.r0 = {0, 1/2*Dim.HeadRestHeight, 0}; RefPM.Seg.HeadRest.Axes0 = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}; RefPM.Seg.LegRest.r0 = {Dim.SeatLength, -(Dim.BackRestHeight+1/2*Dim.LegRestLength), 0}; RefPM.Seg.LegRest.Axes0 = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}; RefPM.Seg.FootRest.r0 = {Dim.SeatLength+1/2*Dim.FootRestLength, -(Dim.BackRestHeight+Dim.LegRestLength), 0}; RefPM.Seg.FootRest.Axes0 = {{0, -1, 0}, {1, 0, 0}, {0, 0, 1}}; RefPM.Seg.Right.ArmRest.r0 = {0.2392231, -0.5553173, 1/2*Dim.SeatWidth}; RefPM.Seg.Right.ArmRest.Axes0 = {{0, -1, 0}, {1, 0, 0}, {0, 0, 1}}; RefPM.Seg.Left.ArmRest.r0 = {0.2392231, -0.5553173, -1/2*Dim.SeatWidth}; RefPM.Seg.Left.ArmRest.Axes0 = {{0, -1, 0}, {1, 0, 0}, {0, 0, 1}};