{
  "format": "industrial-cad-project",
  "project": {
    "analysis": {
      "end_s": 10.7,
      "gravity_world_m_s2": {
        "x": 0.6,
        "y": -9.0
      },
      "start_s": 4.3,
      "step_s": 0.04
    },
    "bodies": [
      {
        "com_local_m": {
          "x": 0.0,
          "y": 0.0
        },
        "id": "ground",
        "inertia_kg_m2": 0.0,
        "initial_angle_rad": 0.29,
        "initial_position_m": {
          "x": 0.4,
          "y": -0.2
        },
        "mass_kg": 0.0,
        "name": "Ground",
        "points": [
          {
            "id": "ground_c",
            "position_m": {
              "x": 0.0,
              "y": 0.0
            }
          },
          {
            "id": "ground_s",
            "position_m": {
              "x": 0.0,
              "y": 0.0
            }
          },
          {
            "id": "ground_r",
            "position_m": {
              "x": 0.0,
              "y": 0.0
            }
          }
        ]
      },
      {
        "com_local_m": {
          "x": 0.02,
          "y": 0.01
        },
        "id": "carrier",
        "inertia_kg_m2": 0.08,
        "initial_angle_rad": 0.12999999999999998,
        "initial_position_m": {
          "x": 0.4,
          "y": -0.2
        },
        "mass_kg": 2.0,
        "name": "Carrier",
        "points": [
          {
            "id": "carrier_center",
            "position_m": {
              "x": 0.0,
              "y": 0.0
            }
          },
          {
            "id": "carrier_planet",
            "position_m": {
              "x": 0.08,
              "y": 0.0
            }
          }
        ]
      },
      {
        "com_local_m": {
          "x": 0.008,
          "y": -0.006
        },
        "id": "sun",
        "inertia_kg_m2": 0.015,
        "initial_angle_rad": 0.41,
        "initial_position_m": {
          "x": 0.4,
          "y": -0.2
        },
        "mass_kg": 0.8,
        "name": "Sun",
        "points": [
          {
            "id": "sun_center",
            "position_m": {
              "x": 0.0,
              "y": 0.0
            }
          }
        ]
      },
      {
        "com_local_m": {
          "x": -0.006,
          "y": 0.004
        },
        "id": "planet",
        "inertia_kg_m2": 0.007,
        "initial_angle_rad": 0.76,
        "initial_position_m": {
          "x": 0.47932495149718307,
          "y": -0.18962926859042442
        },
        "mass_kg": 0.6,
        "name": "Planet",
        "points": [
          {
            "id": "planet_center",
            "position_m": {
              "x": 0.0,
              "y": 0.0
            }
          }
        ]
      },
      {
        "com_local_m": {
          "x": 0.009,
          "y": 0.007
        },
        "id": "ring",
        "inertia_kg_m2": 0.05,
        "initial_angle_rad": 0.06999999999999998,
        "initial_position_m": {
          "x": 0.4,
          "y": -0.2
        },
        "mass_kg": 1.4,
        "name": "Internal ring",
        "points": [
          {
            "id": "ring_center",
            "position_m": {
              "x": 0.0,
              "y": 0.0
            }
          }
        ]
      }
    ],
    "drives": [
      {
        "axis_local_a": {
          "x": 1.0,
          "y": 0.0
        },
        "body_a": "",
        "body_b": "",
        "id": "sun_drive",
        "initial_value": 0.12,
        "joint_id": "sun_bearing",
        "kind": "revolute",
        "law": "segmented",
        "motion": {
          "out_of_range": "error",
          "segments": [
            {
              "acceleration_fraction": 0.25,
              "amplitude": 0.0,
              "cycles": 1.0,
              "delta": 25.132741228718345,
              "duration_s": 6.4,
              "end_acceleration": 0.0,
              "end_velocity": 0.0,
              "knots": [],
              "law": "quintic",
              "phase_rad": 0.0,
              "start_acceleration": 0.0,
              "start_velocity": 0.0
            }
          ],
          "timebase": "analysis_elapsed_s"
        },
        "point_a": "",
        "point_b": "",
        "rate": 0.0,
        "reference_length_m": 0.0,
        "target": "joint"
      },
      {
        "axis_local_a": {
          "x": 1.0,
          "y": 0.0
        },
        "body_a": "",
        "body_b": "",
        "id": "carrier_drive",
        "initial_value": -0.16,
        "joint_id": "carrier_bearing",
        "kind": "revolute",
        "law": "segmented",
        "motion": {
          "out_of_range": "error",
          "segments": [
            {
              "acceleration_fraction": 0.25,
              "amplitude": 0.0,
              "cycles": 1.0,
              "delta": 6.283185307179586,
              "duration_s": 6.4,
              "end_acceleration": 0.0,
              "end_velocity": 0.0,
              "knots": [],
              "law": "quintic",
              "phase_rad": 0.0,
              "start_acceleration": 0.0,
              "start_velocity": 0.0
            }
          ],
          "timebase": "analysis_elapsed_s"
        },
        "point_a": "",
        "point_b": "",
        "rate": 0.0,
        "reference_length_m": 0.0,
        "target": "joint"
      }
    ],
    "force_elements": [],
    "id": "planetary_reference",
    "joints": [
      {
        "axis_local_a": {
          "x": 1.0,
          "y": 0.0
        },
        "body_a": "ground",
        "body_b": "carrier",
        "id": "carrier_bearing",
        "kind": "revolute",
        "point_a": "ground_c",
        "point_b": "carrier_center",
        "reference_angle_rad": 0.0
      },
      {
        "axis_local_a": {
          "x": 1.0,
          "y": 0.0
        },
        "body_a": "ground",
        "body_b": "sun",
        "id": "sun_bearing",
        "kind": "revolute",
        "point_a": "ground_s",
        "point_b": "sun_center",
        "reference_angle_rad": 0.0
      },
      {
        "axis_local_a": {
          "x": 1.0,
          "y": 0.0
        },
        "body_a": "carrier",
        "body_b": "planet",
        "id": "planet_bearing",
        "kind": "revolute",
        "point_a": "carrier_planet",
        "point_b": "planet_center",
        "reference_angle_rad": 0.0
      },
      {
        "axis_local_a": {
          "x": 1.0,
          "y": 0.0
        },
        "body_a": "ground",
        "body_b": "ring",
        "id": "ring_bearing",
        "kind": "revolute",
        "point_a": "ground_r",
        "point_b": "ring_center",
        "reference_angle_rad": 0.0
      }
    ],
    "loads": [
      {
        "application_local_m": {
          "x": 0.02,
          "y": 0.01
        },
        "body_id": "sun",
        "force_world_n": {
          "x": 0.3,
          "y": -0.4
        },
        "id": "sun_load",
        "initial_multiplier": 1.0,
        "multiplier": {
          "out_of_range": "error",
          "segments": [],
          "timebase": "analysis_elapsed_s"
        },
        "torque_nm": 0.025
      },
      {
        "application_local_m": {
          "x": 0.01,
          "y": -0.015
        },
        "body_id": "planet",
        "force_world_n": {
          "x": -0.2,
          "y": 0.3
        },
        "id": "planet_load",
        "initial_multiplier": 1.0,
        "multiplier": {
          "out_of_range": "error",
          "segments": [],
          "timebase": "analysis_elapsed_s"
        },
        "torque_nm": -0.018
      },
      {
        "application_local_m": {
          "x": 0.04,
          "y": 0.03
        },
        "body_id": "ring",
        "force_world_n": {
          "x": 0.4,
          "y": -0.2
        },
        "id": "ring_load",
        "initial_multiplier": 1.0,
        "multiplier": {
          "out_of_range": "error",
          "segments": [],
          "timebase": "analysis_elapsed_s"
        },
        "torque_nm": 0.04
      },
      {
        "application_local_m": {
          "x": 0.05,
          "y": -0.01
        },
        "body_id": "carrier",
        "force_world_n": {
          "x": 0.2,
          "y": 0.1
        },
        "id": "carrier_load",
        "initial_multiplier": 1.0,
        "multiplier": {
          "out_of_range": "error",
          "segments": [],
          "timebase": "analysis_elapsed_s"
        },
        "torque_nm": -0.03
      }
    ],
    "name": "Planetary gear showcase: one carrier revolution",
    "supports": [
      {
        "body_id": "ground",
        "id": "support",
        "kind": "fixed"
      }
    ],
    "transmissions": [
      {
        "belt_minimum_tension_n": 0.0,
        "body_a": "sun",
        "body_b": "planet",
        "carrier_body": "carrier",
        "id": "sun_planet",
        "kind": "external_gear",
        "mesh_side": 1,
        "phase_m": 0.0,
        "point_a": "sun_center",
        "point_b": "planet_center",
        "pressure_angle_rad": 0.3490658503988659,
        "rack_axis_local_carrier": {
          "x": 1.0,
          "y": 0.0
        },
        "radius_a_m": 0.04,
        "radius_b_m": 0.04
      },
      {
        "belt_minimum_tension_n": 0.0,
        "body_a": "planet",
        "body_b": "ring",
        "carrier_body": "carrier",
        "id": "planet_ring",
        "kind": "internal_gear",
        "mesh_side": 1,
        "phase_m": 0.0,
        "point_a": "planet_center",
        "point_b": "ring_center",
        "pressure_angle_rad": 0.3490658503988659,
        "rack_axis_local_carrier": {
          "x": 1.0,
          "y": 0.0
        },
        "radius_a_m": 0.04,
        "radius_b_m": 0.12
      }
    ]
  },
  "schema_version": 4,
  "units": "SI"
}
