From 3c00d05a3bd207b164f5f0bdd8c586963960472a Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Tue, 27 Oct 2020 12:00:38 -0400 Subject: [PATCH] Add custom stats dumping support, skis and minor tweaks --- Pixi/Audio/MidiImporter.cs | 8 ++-- Pixi/Common/CommandRoot.cs | 52 +++++++++++++++++++++++ Pixi/Common/VoxelObjectNotationUtility.cs | 33 +++++++++++++- Pixi/blueprints.json | 6 +++ 4 files changed, 93 insertions(+), 6 deletions(-) diff --git a/Pixi/Audio/MidiImporter.cs b/Pixi/Audio/MidiImporter.cs index 7c4d4c8..541edf4 100644 --- a/Pixi/Audio/MidiImporter.cs +++ b/Pixi/Audio/MidiImporter.cs @@ -31,6 +31,8 @@ namespace Pixi.Audio public static byte Key = 0; + public static float VolumeMultiplier = 1f; + public MidiImporter() { AudioTools.GenerateProgramMap(); @@ -49,10 +51,6 @@ namespace Pixi.Audio Logging.MetaLog($"Found {midi.GetNotes().Count()} notes over {midi.GetDuration().TimeSpan} time units"); BlockJsonInfo[] blocks = new BlockJsonInfo[(midi.GetNotes().Count() * 2) + 3]; List blocksToBuild = new List(); -#if DEBUG - // test (for faster, but incomplete, imports) - if (blocks.Length > 103) blocks = new BlockJsonInfo[103]; -#endif // convert Midi notes to sfx blocks Dictionary breadthCache = new Dictionary(); Dictionary depthCache = new Dictionary(); @@ -194,7 +192,7 @@ namespace Pixi.Audio sfx.Pitch = n.NoteNumber - 60 + Key; // In MIDI, 60 is middle C, but GC uses 0 for middle C sfx.TrackIndex = channelPrograms[n.Channel]; sfx.Is3D = ThreeDee; - sfx.Volume = AudioTools.VelocityToVolume(n.Velocity); + sfx.Volume = AudioTools.VelocityToVolume(n.Velocity) * VolumeMultiplier; count++; // connect wires if (t == null) continue; // this should never happen diff --git a/Pixi/Common/CommandRoot.cs b/Pixi/Common/CommandRoot.cs index 9ff6804..ae51a17 100644 --- a/Pixi/Common/CommandRoot.cs +++ b/Pixi/Common/CommandRoot.cs @@ -564,6 +564,58 @@ namespace Pixi.Common } } break; + case BlockIDs.DampedSpring: + string[] springSplit = pVONs[i].metadata.Split('\t'); + if (springSplit.Length > 1 && float.TryParse(springSplit[1], out float stiffness)) + { + DampedSpring d = blocks[i].Specialise(); + d.Stiffness = stiffness; + if (springSplit.Length > 2 && float.TryParse(springSplit[2], out float damping)) + { + d.Damping = damping; + } + } + break; + case BlockIDs.ServoAxle: + case BlockIDs.ServoHinge: + case BlockIDs.PneumaticAxle: + case BlockIDs.PneumaticHinge: + string[] servoSplit = pVONs[i].metadata.Split('\t'); + if (servoSplit.Length > 1 && float.TryParse(servoSplit[1], out float minAngle)) + { + Servo s = blocks[i].Specialise(); + s.MinimumAngle = minAngle; + if (servoSplit.Length > 2 && float.TryParse(servoSplit[2], out float maxAngle)) + { + s.MaximumAngle = maxAngle; + if (servoSplit.Length > 3 && float.TryParse(servoSplit[3], out float maxForce)) + { + s.MaximumForce = maxForce; + if (servoSplit.Length > 4 && bool.TryParse(servoSplit[4], out bool reverse)) + { + s.Reverse = reverse; + } + } + } + } + break; + case BlockIDs.MotorM: + case BlockIDs.MotorS: + string[] motorSplit = pVONs[i].metadata.Split('\t'); + if (motorSplit.Length > 1 && float.TryParse(motorSplit[1], out float topSpeed)) + { + Motor m = blocks[i].Specialise(); + m.TopSpeed = topSpeed; + if (motorSplit.Length > 2 && float.TryParse(motorSplit[2], out float torque)) + { + m.Torque = torque; + if (motorSplit.Length > 3 && bool.TryParse(motorSplit[3], out bool reverse)) + { + m.Reverse = reverse; + } + } + } + break; default: break; // do nothing } } diff --git a/Pixi/Common/VoxelObjectNotationUtility.cs b/Pixi/Common/VoxelObjectNotationUtility.cs index 00b4f0c..7a26511 100644 --- a/Pixi/Common/VoxelObjectNotationUtility.cs +++ b/Pixi/Common/VoxelObjectNotationUtility.cs @@ -42,7 +42,7 @@ namespace Pixi.Common public static BlockJsonInfo JsonObject(Block block, float[] origin = null) { if (origin == null) origin = origin_base; - return new BlockJsonInfo + BlockJsonInfo jsonInfo = new BlockJsonInfo { name = block.Type.ToString(), position = new float[3] { block.Position.x - origin[0], block.Position.y - origin[1], block.Position.z - origin[2]}, @@ -50,6 +50,37 @@ namespace Pixi.Common color = ColorSpaceUtility.UnquantizeToArray(block.Color), scale = new float[3] {block.Scale.x, block.Scale.y, block.Scale.z}, }; + // custom stats for special blocks + switch (block.Type) + { + case BlockIDs.TextBlock: + TextBlock t = block.Specialise(); + jsonInfo.name += "\t" + t.Text + "\t" + t.TextBlockId; + break; + case BlockIDs.ConsoleBlock: + ConsoleBlock c = block.Specialise(); + jsonInfo.name += "\t" + c.Command + "\t" + c.Arg1 + "\t" + c.Arg2 + "\t" + c.Arg3; + break; + case BlockIDs.DampedSpring: + DampedSpring d = block.Specialise(); + jsonInfo.name += "\t" + d.Stiffness + "\t" + d.Damping; + break; + case BlockIDs.ServoAxle: + case BlockIDs.ServoHinge: + case BlockIDs.PneumaticAxle: + case BlockIDs.PneumaticHinge: + Servo s = block.Specialise(); + jsonInfo.name += "\t" + s.MinimumAngle + "\t" + s.MaximumAngle + "\t" + s.MaximumForce + "\t" + + s.Reverse; + break; + case BlockIDs.MotorM: + case BlockIDs.MotorS: + Motor m = block.Specialise(); + jsonInfo.name += "\t" + m.TopSpeed + "\t" + m.Torque + "\t" + m.Reverse; + break; + default: break; + } + return jsonInfo; } public static BlockIDs NameToEnum(BlockJsonInfo block) diff --git a/Pixi/blueprints.json b/Pixi/blueprints.json index 3d22b50..965d285 100644 --- a/Pixi/blueprints.json +++ b/Pixi/blueprints.json @@ -272,5 +272,11 @@ "182":[{"name":"t4 rotors"}], "1802864184":[{"name":"AluminiumCube","position":[0.0,0.0,0.0],"rotation":[1.36603867E-05,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[0.0,0.299999952,0.0],"rotation":[1.36603867E-05,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[3.0,2.0,3.0]},{"name":"AluminiumCube","position":[0.0,0.0,0.200000763],"rotation":[1.36603867E-05,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[0.200000763,0.0,0.0],"rotation":[1.36603867E-05,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[3.0,1.0,1.0]},{"name":"AluminiumCube","position":[0.0,0.0,-0.200000763],"rotation":[1.36603867E-05,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[-0.200000763,0.0,0.0],"rotation":[1.36603867E-05,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[3.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.0,0.5999994,0.199996948],"rotation":[1.36603849E-05,270.0,-8.142219E-13],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[-0.200000763,0.5999994,0.199998856],"rotation":[1.36603849E-05,270.0,-8.142219E-13],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.200000763,0.5999994,1.90734863E-06],"rotation":[1.22133315E-12,180.0,-1.36603785E-05],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[-0.200000763,0.5999994,-0.20000267],"rotation":[1.22133315E-12,180.0,-1.36603785E-05],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.0,0.5999994,-0.200004578],"rotation":[-1.36603867E-05,90.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[0.200000763,0.599999666,-0.200000763],"rotation":[-1.36603867E-05,90.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.200000763,0.599999666,3.81469727E-06],"rotation":[-2.849777E-12,1.02452832E-05,1.366038E-05],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[0.0,0.5999994,0.0],"rotation":[-1.36603867E-05,90.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"MotorM","position":[0.0,0.7999997,0.0],"rotation":[-2.849777E-12,1.02452832E-05,1.366038E-05],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[2.670288E-05,0.9999995,1.335144E-05],"rotation":[90.0,270.0,0.0],"color":[0.581,0.643,0.745],"scale":[5.0,5.0,1.0]},{"name":"AluminiumSlicedCube","position":[-0.299976349,0.9999995,-0.5999851],"rotation":[5.23633E-06,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,2.0]},{"name":"AluminiumCorner","position":[-0.5999756,0.9999995,-0.59998703],"rotation":[5.23633E-06,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlicedCube","position":[-0.5999756,0.9999995,-0.2999916],"rotation":[5.23633E-06,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[2.0,1.0,1.0]},{"name":"AluminiumCube","position":[-0.5999756,0.9999995,3.81469727E-06],"rotation":[89.98022,180.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[2.670288E-05,1.19999981,5.722046E-06],"rotation":[89.98022,180.0,0.0],"color":[0.581,0.643,0.745],"scale":[9.0,1.0,1.0]},{"name":"AluminiumHemisphere","position":[2.670288E-05,1.49999952,9.536743E-06],"rotation":[7.531693E-13,180.0,-1.52542443E-05],"color":[1.0,1.0,1.0],"scale":[9.0,2.0,9.0]},{"name":"AluminiumRoundedSlope","position":[0.5000229,1.19999933,-0.499988556],"rotation":[270.0,-5.415614E-06,0.0],"color":[0.581,0.643,0.745],"scale":[4.0,4.0,1.0]},{"name":"AluminiumCorner","position":[0.6000252,0.9999995,-0.59998703],"rotation":[-9.160001E-13,180.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlicedCube","position":[0.6000252,0.9999995,-0.2999916],"rotation":[-9.160001E-13,180.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,2.0]},{"name":"AluminiumCube","position":[0.6000252,0.9999995,3.81469727E-06],"rotation":[90.0,180.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlicedCube","position":[0.6000252,0.9999995,0.300003052],"rotation":[-1.5254247E-05,90.0,180.0],"color":[0.581,0.643,0.745],"scale":[2.0,1.0,1.0]},{"name":"AluminiumCorner","position":[0.6000252,0.9999995,0.6000061],"rotation":[-1.5254247E-05,90.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlicedCube","position":[0.300022125,0.9999995,0.6000061],"rotation":[-1.5254247E-05,90.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,2.0]},{"name":"AluminiumCube","position":[2.28881836E-05,0.9999995,0.6000061],"rotation":[90.0,270.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlicedCube","position":[-0.299976349,0.9999995,0.6000061],"rotation":[4.25433733E-12,-1.02452841E-05,180.000015],"color":[0.581,0.643,0.745],"scale":[2.0,1.0,1.0]},{"name":"AluminiumCorner","position":[-0.299976349,1.0,0.800004959],"rotation":[-3.5946737E-21,2.03284384E-14,180.000015],"color":[0.581,0.643,0.745],"scale":[2.0,1.0,1.0]},{"name":"AluminiumSlope","position":[2.670288E-05,0.9999995,0.800004959],"rotation":[-1.1952834E-05,90.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[2.670288E-05,1.19999933,0.5000057],"rotation":[90.0,270.0,0.0],"color":[0.581,0.643,0.745],"scale":[4.0,1.0,1.0]},{"name":"AluminiumSlope","position":[2.670288E-05,1.19999933,1.00000572],"rotation":[2.39056626E-05,270.0,270.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"͡
","position":[2.670288E-05,1.39999962,1.00000572],"rotation":[1.15747733E-12,180.0,-2.04905809E-05],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumRoundedSlope","position":[0.5000229,1.19999981,0.5000038],"rotation":[90.0,-4.243734E-06,0.0],"color":[0.581,0.643,0.745],"scale":[4.0,4.0,1.0]},{"name":"AluminiumCorner","position":[0.300022125,0.9999995,0.800004959],"rotation":[-1.5254247E-05,90.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,2.0]},{"name":"AluminiumCorner","position":[0.8000221,0.9999995,0.300003052],"rotation":[-1.5254247E-05,90.0,180.0],"color":[0.581,0.643,0.745],"scale":[2.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.8000221,0.9999995,7.62939453E-06],"rotation":[5.088889E-13,180.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCorner","position":[0.8000221,0.9999995,-0.2999916],"rotation":[-9.160001E-13,180.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,2.0]},{"name":"AluminiumRoundedSlope","position":[-0.4999771,1.19999933,0.5000038],"rotation":[270.019775,180.0,0.0],"color":[0.581,0.643,0.745],"scale":[4.0,4.0,1.0]},{"name":"AluminiumCorner","position":[-0.5999756,0.9999995,0.6000061],"rotation":[-3.5946737E-21,2.03284384E-14,180.000015],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlicedCube","position":[-0.5999756,0.9999995,0.300003052],"rotation":[4.25433733E-12,-1.02452841E-05,180.000015],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,2.0]},{"name":"AluminiumCorner","position":[-0.799976349,0.9999995,0.300003052],"rotation":[-3.5946737E-21,2.03284384E-14,180.000015],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,2.0]},{"name":"AluminiumSlope","position":[-0.799976349,0.9999995,5.722046E-06],"rotation":[-2.70780515E-06,179.999985,270.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCorner","position":[-0.799976349,0.9999995,-0.2999878],"rotation":[5.23633E-06,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[2.0,1.0,1.0]},{"name":"AluminiumRoundedSlope","position":[-0.4999771,1.20000029,-0.499988556],"rotation":[89.98022,180.0,0.0],"color":[0.581,0.643,0.745],"scale":[4.0,4.0,1.0]},{"name":"AluminiumCorner","position":[-0.299976349,0.9999995,-0.7999859],"rotation":[5.23633E-06,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,2.0]},{"name":"AluminiumSlope","position":[2.670288E-05,0.9999995,-0.7999859],"rotation":[1.19528377E-05,270.0,180.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCorner","position":[0.30002594,0.9999995,-0.7999878],"rotation":[-9.160001E-13,180.0,180.0],"color":[0.581,0.643,0.745],"scale":[2.0,1.0,1.0]},{"name":"AluminiumSlicedCube","position":[0.300022125,0.9999995,-0.5999851],"rotation":[-9.160001E-13,180.0,180.0],"color":[0.581,0.643,0.745],"scale":[2.0,1.0,1.0]},{"name":"AluminiumCube","position":[2.28881836E-05,0.9999995,-0.59998703],"rotation":[90.0,270.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[2.670288E-05,1.19999981,-0.499986649],"rotation":[90.0,270.0,0.0],"color":[0.581,0.643,0.745],"scale":[4.0,1.0,1.0]},{"name":"AluminiumSlope","position":[2.670288E-05,1.19999933,-0.999986649],"rotation":[-1.70754738E-05,90.00001,270.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"͡
","position":[2.670288E-05,1.39999962,-0.999986649],"rotation":[8.14222E-13,-4.21078553E-20,2.049057E-05],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.9999771,1.19999933,9.536743E-06],"rotation":[-2.70780515E-06,179.999985,270.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"͡
","position":[-0.9999771,1.39999962,9.536743E-06],"rotation":[-3.41509417E-06,90.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[1.00002289,1.19999933,9.536743E-06],"rotation":[1.01777751E-13,-5.85940541E-07,270.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"͡
","position":[1.00002289,1.39999962,9.536743E-06],"rotation":[3.41509076E-06,270.0,0.0],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[0.200000763,0.5999994,0.200000763],"rotation":[-2.849777E-12,1.02452832E-05,1.366038E-05],"color":[0.581,0.643,0.745],"scale":[1.0,1.0,1.0]}], + "184":[{"name":"t2 ski"}], + "347391203":[{"name":"AluminiumCube","position":[0.0,0.0,0.0],"rotation":[-4.577745E-13,180.0,180.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[0.0,0.0,0.200000763],"rotation":[-4.577745E-13,180.0,180.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[0.200000763,0.0,0.100000381],"rotation":[-4.577745E-13,180.0,180.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,2.0]},{"name":"AluminiumCube","position":[0.0,0.199999809,0.100000381],"rotation":[90.0,180.0,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[3.0,2.0,1.0]},{"name":"AluminiumCube","position":[-0.200000763,0.0,0.100000381],"rotation":[-4.577745E-13,180.0,180.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,2.0]},{"name":"AluminiumSlope","position":[0.0,0.09999943,-0.200001717],"rotation":[-4.09811546E-05,90.00001,1.02452832E-05],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,3.0]},{"name":"AluminiumSlope","position":[0.0,0.0999999046,0.400001526],"rotation":[3.927359E-05,270.0,270.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[2.0,1.0,3.0]},{"name":"DampedSpring\t200\t50","position":[0.0,0.399999619,0.400000572],"rotation":[-3.415084E-06,180.0,-4.09811546E-05],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]},{"name":"HingeS","position":[0.0,0.5999999,0.400000572],"rotation":[-4.09811473E-05,90.00001,3.4150894E-06],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[3.81469727E-06,0.799999952,0.200004578],"rotation":[-1.6903854E-05,180.0,89.9999542],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,17.0]},{"name":"AluminiumPyramidSegment","position":[-0.199993134,0.7999995,1.70000267],"rotation":[4.09811546E-05,270.0,-6.830179E-06],"color":[1.0,1.0,1.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.199993134,0.799999952,0.200004578],"rotation":[8.805567E-06,8.98486E-06,90.00005],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,13.000001]},{"name":"AluminiumSlope","position":[-0.200000763,0.5999999,-0.1999979],"rotation":[-3.927359E-05,90.0,270.0],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[-0.200000763,0.5999999,0.200000763],"rotation":[-4.098115E-05,90.00001,180.0],"color":[1.0,1.0,1.0],"scale":[3.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.200000763,0.5999994,0.6000023],"rotation":[3.927359E-05,270.0,270.0],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[-0.199989319,0.799999952,-1.29999924],"rotation":[-6.8301797E-06,180.0,-4.098115E-05],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,2.0]},{"name":"OiledSlope","position":[3.81469727E-06,0.7999997,-1.70000458],"rotation":[4.439623E-05,270.000031,90.00001],"color":[0.7411765,0.7411765,0.7411765],"scale":[1.0,2.0,1.0]},{"name":"OiledPyramidSegment","position":[-0.199989319,0.799999952,-1.70000172],"rotation":[5.4641514E-05,270.0,89.99999],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"AluminiumHalfPyramidLeft","position":[-0.199989319,0.5999999,-1.70000267],"rotation":[1.79134257E-12,180.0,179.999924],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,2.0]},{"name":"AluminiumSlope","position":[3.81469727E-06,0.5999999,-1.70000458],"rotation":[-4.09811546E-05,90.00001,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumHalfPyramidRight","position":[0.200004578,0.5999999,-1.70000076],"rotation":[-4.350295E-12,180.0,179.999969],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,2.0]},{"name":"OiledPyramidSegment","position":[0.200004578,0.799999952,-1.69999981],"rotation":[270.019775,-2.85560491E-05,0.0],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[0.200004578,0.799999952,-1.29999733],"rotation":[-4.09811546E-05,90.0,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"OiledSlope","position":[0.200000763,1.0,-1.29999733],"rotation":[4.95188724E-05,270.0,89.9999847],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledCube","position":[0.200000763,0.999999762,0.20000267],"rotation":[-9.659341E-06,180.0,89.99998],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,13.000001]},{"name":"AluminiumSlope","position":[0.200004578,0.799999952,0.20000267],"rotation":[1.70754683E-05,1.52542507E-05,180.000031],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,13.000001]},{"name":"AluminiumHalfPyramidLeft","position":[0.200004578,0.7999995,1.70000362],"rotation":[90.0,3.89325432E-05,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,1.0]},{"name":"AluminiumHalfPyramidRight","position":[0.200004578,0.8000004,-1.29999828],"rotation":[90.0,180.0,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,1.0]},{"name":"OiledCube","position":[3.81469727E-06,0.9999995,0.200000763],"rotation":[-9.659341E-06,180.0,89.99998],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,13.000001]},{"name":"OiledSlope","position":[3.81469727E-06,1.0,-1.29999924],"rotation":[4.95188724E-05,270.0,89.9999847],"color":[0.7411765,0.7411765,0.7411765],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[-0.199993134,0.999999762,-1.29999924],"rotation":[4.95188724E-05,270.0,89.9999847],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[-0.199989319,0.799999952,-1.29999924],"rotation":[-4.09811546E-05,90.0,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"OiledCube","position":[-0.199993134,0.999999762,0.200000763],"rotation":[6.3907305E-06,1.13996939E-05,90.00002],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,13.000001]},{"name":"OiledSlope","position":[-0.199993134,0.9999995,1.70000648],"rotation":[-4.439623E-05,90.00002,89.99999],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[-0.199993134,0.7999995,1.70000648],"rotation":[4.09811546E-05,270.0,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"OiledPyramidSegment","position":[-0.199993134,0.7999997,2.100006],"rotation":[270.0,180.000046,0.0],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"AluminiumHalfPyramidRight","position":[-0.199993134,0.5999994,2.100006],"rotation":[2.68261823E-12,1.43789168E-18,180.000046],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,2.0]},{"name":"AluminiumSlope","position":[3.81469727E-06,0.5999994,2.100006],"rotation":[4.09811546E-05,270.0,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumHalfPyramidLeft","position":[0.200004578,0.5999994,2.100007],"rotation":[5.672581E-12,4.73356835E-18,180.000092],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,2.0]},{"name":"OiledPyramidSegment","position":[0.200004578,0.7999997,2.100006],"rotation":[-5.29339668E-05,90.0,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[3.81469727E-06,0.7999997,2.100006],"rotation":[-4.78113252E-05,90.00001,90.0000153],"color":[1.0,1.0,1.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[0.200004578,0.7999997,1.70000648],"rotation":[4.09811546E-05,270.0,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"OiledSlope","position":[0.200000763,0.999999762,1.70000648],"rotation":[-4.78113252E-05,90.00001,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[3.81469727E-06,0.9999995,1.70000648],"rotation":[-4.78113252E-05,90.00001,90.0000153],"color":[1.0,1.0,1.0],"scale":[1.0,2.0,1.0]},{"name":"AluminiumSlope","position":[3.81469727E-06,0.5999994,2.40000725],"rotation":[-5.29339668E-05,90.0,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.199993134,0.7999995,0.200000763],"rotation":[-1.70754647E-05,180.0,179.999969],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,13.000001]},{"name":"AluminiumHalfPyramidLeft","position":[-0.199993134,0.799999952,-1.30000019],"rotation":[90.0,180.0,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,1.0]},{"name":"AluminiumHalfPyramidRight","position":[-0.199993134,0.799999,1.70000172],"rotation":[90.0,3.89325432E-05,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,1.0]},{"name":"AluminiumPyramidSegment","position":[0.200004578,0.799999952,-1.30000114],"rotation":[-4.09811473E-05,90.00001,6.830185E-06],"color":[1.0,1.0,1.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.200004578,0.799999952,0.200006485],"rotation":[-1.6903854E-05,180.0,89.9999542],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,13.000001]},{"name":"AluminiumCube","position":[0.200004578,0.5999999,0.200001717],"rotation":[-4.098115E-05,90.00001,180.0],"color":[1.0,1.0,1.0],"scale":[3.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.200004578,0.600000143,-0.199996],"rotation":[-3.927359E-05,90.0,270.0],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.200004578,0.5999999,0.600003242],"rotation":[3.927359E-05,270.0,270.0],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[0.200004578,0.799999237,1.70000267],"rotation":[1.70754683E-05,1.52542507E-05,4.098115E-05],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,2.0]},{"name":"HingeS","position":[0.0,0.5999999,-9.536743E-07],"rotation":[-4.098115E-05,90.00001,180.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]},{"name":"DampedSpring\t200\t50","position":[0.0,0.399999619,-9.536743E-07],"rotation":[-3.415084E-06,180.0,-4.09811546E-05],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]}], + + "186":[{"name":"t2 steering ski"}], + "3080624795":[{"name":"AluminiumCube","position":[0.0,0.0,0.0],"rotation":[2.04905718E-05,270.0,-1.02452805E-05],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumRoundedSlope","position":[0.0,0.0,0.200000763],"rotation":[2.04905718E-05,270.0,-1.02452805E-05],"color":[0.08235294,0.9254902,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[-0.200000763,-4.76837158E-07,0.200000763],"rotation":[2.04905718E-05,270.0,-1.02452805E-05],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.199996948,-4.76837158E-07,0.0],"rotation":[3.97589065E-06,2.34738764E-05,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[-0.200000763,-4.76837158E-07,-0.200000763],"rotation":[-1.02452805E-05,180.0,-2.04905737E-05],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.0,0.0,-0.200000763],"rotation":[3.07358532E-05,270.0,89.99999],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[0.200000763,0.0,-0.200000763],"rotation":[-2.04905718E-05,90.0000153,1.02452777E-05],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.199996948,0.0,0.0],"rotation":[-1.20741788E-05,180.0,89.9999847],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[0.200000763,0.0,0.200000763],"rotation":[1.02452814E-05,1.52542443E-05,2.049057E-05],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"PneumaticAxle\t-45\t45\t750\tFalse","position":[0.0,0.199999809,0.0],"rotation":[-2.04905718E-05,90.00001,1.02452841E-05],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]},{"name":"DampedSpring\t200\t50","position":[0.0,0.399999619,0.0],"rotation":[-1.02452823E-05,180.0,-2.04905737E-05],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]},{"name":"HingeS","position":[7.62939453E-06,0.6000004,-3.81469727E-06],"rotation":[2.049057E-05,270.0,179.999985],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[7.62939453E-06,0.800000668,0.09999466],"rotation":[-1.69038576E-05,180.0,89.9999847],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,12.0]},{"name":"OiledSlope","position":[7.62939453E-06,0.9999995,-0.900005341],"rotation":[3.07358532E-05,270.0,89.99999],"color":[0.7411765,0.7411765,0.7411765],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[-0.199989319,0.9999995,-0.900005341],"rotation":[3.07358532E-05,270.0,89.99999],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledCube","position":[-0.199989319,0.9999995,0.09999466],"rotation":[1.36352446E-05,4.155186E-06,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,8.0]},{"name":"AluminiumSlope","position":[-0.199989319,0.7999997,0.09999466],"rotation":[-1.70754683E-05,180.0,179.999985],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,8.0]},{"name":"AluminiumHalfPyramidLeft","position":[-0.199989319,0.7999997,-0.900005341],"rotation":[90.0,180.0,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,1.0]},{"name":"AluminiumHalfPyramidRight","position":[-0.199989319,0.799999237,1.09999466],"rotation":[90.0,3.8932536E-05,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,1.0]},{"name":"OiledCube","position":[7.62939453E-06,0.9999995,0.09999466],"rotation":[270.0,270.0,0.0],"color":[1.0,1.0,1.0],"scale":[8.0,1.0,1.0]},{"name":"OiledSlope","position":[7.62939453E-06,0.9999995,1.09999466],"rotation":[-3.24434E-05,90.00001,90.0000153],"color":[1.0,1.0,1.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[-0.199989319,0.9999995,1.09999466],"rotation":[-3.24434E-05,90.00001,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[-0.199989319,0.799999237,1.09999466],"rotation":[2.04905718E-05,270.0,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"OiledPyramidSegment","position":[-0.199989319,0.7999997,1.49999619],"rotation":[270.019775,180.000015,0.0],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"AluminiumHalfPyramidRight","position":[-0.199989319,0.5999994,1.49999619],"rotation":[-2.72944753E-13,-6.577291E-20,180.000015],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,2.0]},{"name":"AluminiumSlope","position":[7.62939453E-06,0.6000004,1.49999619],"rotation":[2.04905718E-05,270.0,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumHalfPyramidLeft","position":[0.200004578,0.5999994,1.49999619],"rotation":[2.68701272E-12,1.44142581E-18,180.000046],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,2.0]},{"name":"OiledPyramidSegment","position":[0.200004578,0.799999237,1.49999619],"rotation":[-3.24434E-05,90.00001,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[0.200004578,0.799999237,1.09999466],"rotation":[2.04905718E-05,270.0,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"OiledSlope","position":[0.200004578,0.9999995,1.09999466],"rotation":[-3.24434E-05,90.00001,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledCube","position":[0.200004578,0.9999995,0.09999466],"rotation":[2.04905718E-05,270.0,-1.02452805E-05],"color":[0.0,0.0,0.0],"scale":[8.0,1.0,1.0]},{"name":"OiledSlope","position":[0.200004578,0.9999995,-0.900005341],"rotation":[3.07358532E-05,270.0,89.99999],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[0.200004578,0.7999997,-0.900005341],"rotation":[-2.04905718E-05,90.00001,180.0],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"OiledPyramidSegment","position":[0.200004578,0.7999997,-1.30000687],"rotation":[270.0,2.45703432E-05,0.0],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"AluminiumHalfPyramidRight","position":[0.200004578,0.5999994,-1.30000734],"rotation":[4.094171E-12,180.0,180.0],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,2.0]},{"name":"AluminiumSlope","position":[7.62939453E-06,0.6000004,-1.300003],"rotation":[-2.04905718E-05,90.00001,180.000015],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumHalfPyramidLeft","position":[-0.199989319,0.5999999,-1.30000687],"rotation":[1.79134181E-12,180.0,179.999924],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,2.0]},{"name":"OiledPyramidSegment","position":[-0.199989319,0.8000002,-1.30000687],"rotation":[3.07358532E-05,270.0,89.99999],"color":[0.0,0.0,0.0],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[7.62939453E-06,0.7999997,-1.30000687],"rotation":[3.07358532E-05,270.0,89.99999],"color":[0.7411765,0.7411765,0.7411765],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[-0.199989319,0.7999997,-0.900005341],"rotation":[-2.04905718E-05,90.00001,180.000015],"color":[0.0,0.0,0.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.200004578,0.7999997,0.09999466],"rotation":[1.02452786E-05,1.52542425E-05,180.000015],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,1.0,8.0]},{"name":"AluminiumHalfPyramidLeft","position":[0.200004578,0.7999997,1.09999466],"rotation":[90.0,3.8932536E-05,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,1.0]},{"name":"AluminiumHalfPyramidRight","position":[0.200004578,0.7999997,-0.900005341],"rotation":[90.0,180.0,0.0],"color":[0.4392157,0.4392157,0.4392157],"scale":[1.0,2.0,1.0]},{"name":"OiledSlope","position":[7.62939453E-06,0.800000668,1.49999619],"rotation":[-2.7320757E-05,90.0,90.0000153],"color":[1.0,1.0,1.0],"scale":[1.0,2.0,1.0]},{"name":"AluminiumSlope","position":[7.62939453E-06,0.6000004,1.7999959],"rotation":[-3.24434E-05,90.00001,90.0000153],"color":[0.0,0.0,0.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[7.62939453E-06,0.4000001,1.699997],"rotation":[1.70754738E-05,270.0,270.0],"color":[0.08235294,0.9254902,1.0],"scale":[1.0,2.0,1.0]},{"name":"AluminiumSlope","position":[7.62939453E-06,0.4000001,1.29999542],"rotation":[2.04905718E-05,270.0,180.0],"color":[0.08235294,0.9254902,1.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumSlope","position":[7.62939453E-06,0.5999999,1.29999542],"rotation":[-3.24434E-05,90.00001,90.0000153],"color":[0.08235294,0.9254902,1.0],"scale":[1.0,2.0,1.0]},{"name":"AluminiumSlope","position":[7.62939453E-06,0.6000004,0.8999939],"rotation":[2.04905718E-05,270.0,179.999985],"color":[0.08235294,0.9254902,1.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[0.200004578,0.8000002,1.09999847],"rotation":[1.7075472E-05,1.5254247E-05,2.049057E-05],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,2.0]},{"name":"AluminiumSlope","position":[0.200004578,0.800000668,0.09999466],"rotation":[-1.69038576E-05,180.0,89.9999847],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,8.0]},{"name":"AluminiumSlope","position":[0.200004578,0.5999999,-0.400005341],"rotation":[-1.8783021E-05,90.0,270.0],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumCube","position":[0.200004578,0.5999994,-3.81469727E-06],"rotation":[-2.04905718E-05,90.00001,180.0],"color":[1.0,1.0,1.0],"scale":[3.0,1.0,1.0]},{"name":"AluminiumSlope","position":[0.200004578,0.5999999,0.3999939],"rotation":[1.70754738E-05,270.0,270.0],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[0.200004578,0.800000668,-0.900005341],"rotation":[-2.04905718E-05,90.0000153,1.70754683E-05],"color":[1.0,1.0,1.0],"scale":[2.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.199989319,0.800000668,0.09999466],"rotation":[1.36352446E-05,4.155186E-06,90.0000153],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,8.0]},{"name":"AluminiumCube","position":[-0.199996948,0.5999994,-3.81469727E-06],"rotation":[-2.04905718E-05,90.00001,180.0],"color":[1.0,1.0,1.0],"scale":[3.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.199996948,0.5999999,-0.400005341],"rotation":[-1.8783021E-05,90.0,270.0],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumSlope","position":[-0.199996948,0.5999994,0.3999939],"rotation":[1.70754738E-05,270.0,270.0],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,1.0]},{"name":"AluminiumPyramidSegment","position":[-0.199989319,0.800000668,-0.900009155],"rotation":[-1.707547E-05,180.0,-2.049057E-05],"color":[1.0,1.0,1.0],"scale":[1.0,1.0,2.0]},{"name":"AluminiumPyramidSegment","position":[-0.199989319,0.8000002,1.09999847],"rotation":[2.04905737E-05,270.0,-1.70754683E-05],"color":[1.0,1.0,1.0],"scale":[2.0,1.0,1.0]}], + "666":[] }