mohan-bee/tscircuit-robot-vacuum

A tscircuit package created by mohan-bee.

Version
1.0.0
License
unset
Stars
0

capability-audit/collision-probe.circuit.json

PCBPCB preview for capability-audit/collision-probe.circuit.json
SchematicSchematic preview for capability-audit/collision-probe.circuit.json
[
  {
    "type": "source_project_metadata",
    "source_project_metadata_id": "source_project_metadata_0",
    "software_used_string": "@tscircuit/core@0.0.2254"
  },
  {
    "type": "source_group",
    "source_group_id": "source_group_0",
    "is_subcircuit": true,
    "was_automatically_named": true,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "source_board",
    "source_board_id": "source_board_0",
    "source_group_id": "source_group_0"
  },
  {
    "type": "source_component",
    "source_component_id": "source_component_0",
    "ftype": "printedpart",
    "name": "MOVING"
  },
  {
    "type": "source_component",
    "source_component_id": "source_component_1",
    "ftype": "printedpart",
    "name": "OBSTACLE"
  },
  {
    "type": "schematic_group",
    "schematic_group_id": "schematic_group_0",
    "is_subcircuit": true,
    "subcircuit_id": "subcircuit_source_group_0",
    "name": "unnamed_board1",
    "center": {
      "x": 0,
      "y": 0
    },
    "width": 0,
    "height": 0,
    "schematic_component_ids": [],
    "source_group_id": "source_group_0",
    "show_as_schematic_box": false
  },
  {
    "type": "pcb_board",
    "pcb_board_id": "pcb_board_0",
    "source_board_id": "source_board_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "center": {
      "x": 0,
      "y": 0
    },
    "thickness": 1.4,
    "num_layers": 2,
    "width": 20,
    "height": 20,
    "material": "fr4",
    "min_trace_width": 0.1,
    "min_via_hole_diameter": 0.2,
    "min_via_pad_diameter": 0.3,
    "min_via_hole_edge_to_via_hole_edge_clearance": 0.1,
    "min_trace_to_hole_edge_clearance": 0.2,
    "min_trace_to_pad_edge_clearance": 0.1,
    "min_pad_edge_to_pad_edge_clearance": 0.1,
    "min_plated_hole_drill_edge_to_drill_edge_clearance": 0.15,
    "min_board_edge_clearance": 0.2
  },
  {
    "type": "cad_component",
    "cad_component_id": "cad_component_0",
    "model_jscad": {
      "type": "rotate",
      "angles": [
        0,
        0,
        0
      ],
      "shape": {
        "type": "translate",
        "vector": [
          0,
          0,
          -15
        ],
        "shape": {
          "type": "cuboid",
          "size": [
            10,
            10,
            10
          ]
        }
      }
    },
    "position": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "rotation": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "layer": "top",
    "source_component_id": "source_component_0",
    "model_origin_position": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "model_unit_to_mm_scale_factor": 1,
    "model_object_fit": "contain_within_bounds",
    "anchor_alignment": "center",
    "show_as_translucent_model": false
  },
  {
    "type": "cad_component",
    "cad_component_id": "cad_component_1",
    "model_jscad": {
      "type": "rotate",
      "angles": [
        0,
        0,
        0
      ],
      "shape": {
        "type": "translate",
        "vector": [
          15,
          0,
          -15
        ],
        "shape": {
          "type": "cuboid",
          "size": [
            10,
            10,
            10
          ]
        }
      }
    },
    "position": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "rotation": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "layer": "top",
    "source_component_id": "source_component_1",
    "model_origin_position": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "model_unit_to_mm_scale_factor": 1,
    "model_object_fit": "contain_within_bounds",
    "anchor_alignment": "center",
    "show_as_translucent_model": false
  },
  {
    "type": "cad_explosion_stage",
    "cad_explosion_stage_id": "cad_explosion_stage_0",
    "name": "sweep.cross-obstacle",
    "order": 0,
    "cad_component_ids": [
      "cad_component_0"
    ],
    "cad_reference_surface_ids": []
  },
  {
    "type": "cad_explosion_move",
    "cad_explosion_move_id": "cad_explosion_move_0",
    "cad_explosion_stage_id": "cad_explosion_stage_0",
    "order": 0,
    "targets": [
      {
        "type": "cad_component",
        "cad_component_id": "cad_component_0"
      }
    ],
    "translation": {
      "x": 30,
      "y": 0,
      "z": 0
    }
  },
  {
    "type": "cad_explosion_collision_error",
    "cad_explosion_collision_error_id": "cad_explosion_collision_error_NmGspz1BLE",
    "error_type": "cad_explosion_collision_error",
    "message": "Explosion stage \"sweep.cross-obstacle\" moves \"MOVING\" through \"OBSTACLE\" (new swept intersection: 1000 mm³)",
    "is_fatal": false,
    "cad_explosion_stage_id": "cad_explosion_stage_0",
    "cad_explosion_move_id": "cad_explosion_move_0",
    "moving_cad_component_id": "cad_component_0",
    "obstacle": {
      "type": "cad_component",
      "cad_component_id": "cad_component_1"
    },
    "source_component_ids": [
      "source_component_0",
      "source_component_1"
    ],
    "swept_intersection_volume_mm3": 999.9999999999999
  }
]