mohan-bee/tscircuit-robot-vacuum

A tscircuit package created by mohan-bee.

Version
1.0.0
License
unset
Stars
0

capability-audit/native-pinheader.circuit.json

PCBPCB preview for capability-audit/native-pinheader.circuit.json
SchematicSchematic preview for capability-audit/native-pinheader.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",
    "name": "B",
    "is_subcircuit": true,
    "was_automatically_named": false,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "source_port",
    "source_port_id": "source_port_0",
    "name": "pin1",
    "pin_number": 1,
    "port_hints": [
      "pin1",
      "1"
    ],
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "source_port",
    "source_port_id": "source_port_1",
    "name": "pin2",
    "pin_number": 2,
    "port_hints": [
      "pin2",
      "2"
    ],
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "source_component",
    "source_component_id": "source_component_0",
    "ftype": "simple_pin_header",
    "name": "J1",
    "pin_count": 2,
    "gender": "male",
    "are_pins_interchangeable": true,
    "source_group_id": "source_group_0"
  },
  {
    "type": "source_board",
    "source_board_id": "source_board_0",
    "source_group_id": "source_group_0",
    "title": "B"
  },
  {
    "type": "source_component",
    "source_component_id": "source_component_1",
    "ftype": "printedpart",
    "name": "COVER"
  },
  {
    "type": "source_pin_missing_trace_warning",
    "source_pin_missing_trace_warning_id": "source_pin_missing_trace_warning_0",
    "message": "Port pin1 on J1 is missing a trace",
    "source_component_id": "source_component_0",
    "source_port_id": "source_port_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "warning_type": "source_pin_missing_trace_warning"
  },
  {
    "type": "source_pin_missing_trace_warning",
    "source_pin_missing_trace_warning_id": "source_pin_missing_trace_warning_1",
    "message": "Port pin2 on J1 is missing a trace",
    "source_component_id": "source_component_0",
    "source_port_id": "source_port_1",
    "subcircuit_id": "subcircuit_source_group_0",
    "warning_type": "source_pin_missing_trace_warning"
  },
  {
    "type": "schematic_component",
    "schematic_component_id": "schematic_component_0",
    "center": {
      "x": 0,
      "y": 0
    },
    "rotation": 0,
    "size": {
      "width": 0.4,
      "height": 0.6000000000000001
    },
    "port_arrangement": {
      "right_side": {
        "direction": "top-to-bottom",
        "pins": [
          "pin1",
          "pin2"
        ]
      }
    },
    "pin_spacing": 0.2,
    "port_labels": {},
    "source_component_id": "source_component_0",
    "schematic_group_id": "schematic_group_0"
  },
  {
    "type": "schematic_text",
    "schematic_text_id": "schematic_text_0",
    "text": "",
    "schematic_component_id": "schematic_component_0",
    "anchor": "left",
    "rotation": 0,
    "position": {
      "x": -0.2,
      "y": -0.43000000000000005
    },
    "color": "#006464",
    "font_size": 0.18
  },
  {
    "type": "schematic_text",
    "schematic_text_id": "schematic_text_1",
    "text": "J1",
    "schematic_component_id": "schematic_component_0",
    "anchor": "left",
    "rotation": 0,
    "position": {
      "x": -0.2,
      "y": 0.43000000000000005
    },
    "color": "#006464",
    "font_size": 0.18
  },
  {
    "type": "schematic_group",
    "schematic_group_id": "schematic_group_0",
    "is_subcircuit": true,
    "subcircuit_id": "subcircuit_source_group_0",
    "name": "B",
    "center": {
      "x": 0,
      "y": 0
    },
    "width": 0,
    "height": 0,
    "schematic_component_ids": [],
    "source_group_id": "source_group_0",
    "show_as_schematic_box": false
  },
  {
    "type": "schematic_port",
    "schematic_port_id": "schematic_port_0",
    "schematic_component_id": "schematic_component_0",
    "center": {
      "x": 0.6000000000000001,
      "y": 0.1
    },
    "source_port_id": "source_port_0",
    "facing_direction": "right",
    "distance_from_component_edge": 0.4,
    "side_of_component": "right",
    "pin_number": 1,
    "true_ccw_index": 0,
    "is_connected": false
  },
  {
    "type": "schematic_port",
    "schematic_port_id": "schematic_port_1",
    "schematic_component_id": "schematic_component_0",
    "center": {
      "x": 0.6000000000000001,
      "y": -0.1
    },
    "source_port_id": "source_port_1",
    "facing_direction": "right",
    "distance_from_component_edge": 0.4,
    "side_of_component": "right",
    "pin_number": 2,
    "true_ccw_index": 1,
    "is_connected": false
  },
  {
    "type": "schematic_missing_sheet_warning",
    "schematic_missing_sheet_warning_id": "schematic_missing_sheet_warning_0",
    "warning_type": "schematic_missing_sheet_warning",
    "message": "No <schematicsheet> was found. Add a <schematicsheet> to define the schematic drawing area."
  },
  {
    "type": "pcb_component",
    "pcb_component_id": "pcb_component_0",
    "center": {
      "x": 0,
      "y": 0
    },
    "footprint_origin": {
      "x": 0,
      "y": 0
    },
    "width": 4.04,
    "height": 1.5,
    "layer": "top",
    "rotation": 0,
    "insertion_direction": "from_above",
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "do_not_place": false,
    "obstructs_within_bounds": true,
    "is_allowed_to_be_off_board": false,
    "position_mode": "relative_to_group_anchor",
    "positioned_relative_to_pcb_board_id": "pcb_board_0",
    "display_offset_x": 0,
    "display_offset_y": 0,
    "pin1_location": "topside_left"
  },
  {
    "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": "pcb_plated_hole",
    "pcb_plated_hole_id": "pcb_plated_hole_0",
    "pcb_component_id": "pcb_component_0",
    "pcb_port_id": "pcb_port_0",
    "hole_diameter": 1,
    "rect_pad_width": 1.5,
    "rect_pad_height": 1.5,
    "shape": "circular_hole_with_rect_pad",
    "port_hints": [
      "unnamed_platedhole1",
      "1"
    ],
    "x": -1.27,
    "y": 0,
    "layers": [
      "top",
      "bottom"
    ],
    "is_covered_with_solder_mask": false,
    "subcircuit_id": "subcircuit_source_group_0",
    "hole_offset_x": 0,
    "hole_offset_y": 0,
    "rect_border_radius": 0,
    "rect_ccw_rotation": 0
  },
  {
    "type": "pcb_silkscreen_text",
    "pcb_silkscreen_text_id": "pcb_silkscreen_text_0",
    "anchor_alignment": "center",
    "anchor_position": {
      "x": -1.27,
      "y": 1.35
    },
    "font": "tscircuit2024",
    "font_size": 0.5,
    "layer": "top",
    "text": "pin1",
    "ccw_rotation": 0,
    "pcb_component_id": "pcb_component_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_plated_hole",
    "pcb_plated_hole_id": "pcb_plated_hole_1",
    "pcb_component_id": "pcb_component_0",
    "pcb_port_id": "pcb_port_1",
    "outer_diameter": 1.5,
    "hole_diameter": 1,
    "shape": "circle",
    "port_hints": [
      "unnamed_platedhole2",
      "2"
    ],
    "x": 1.27,
    "y": 0,
    "layers": [
      "top",
      "bottom"
    ],
    "is_covered_with_solder_mask": false,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_text",
    "pcb_silkscreen_text_id": "pcb_silkscreen_text_1",
    "anchor_alignment": "center",
    "anchor_position": {
      "x": 1.27,
      "y": 1.35
    },
    "font": "tscircuit2024",
    "font_size": 0.5,
    "layer": "top",
    "text": "pin2",
    "ccw_rotation": 0,
    "pcb_component_id": "pcb_component_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_silkscreen_text",
    "pcb_silkscreen_text_id": "pcb_silkscreen_text_2",
    "anchor_alignment": "center",
    "anchor_position": {
      "x": 0,
      "y": 2.54
    },
    "font": "tscircuit2024",
    "font_size": 0.7,
    "layer": "top",
    "text": "J1",
    "ccw_rotation": 0,
    "pcb_component_id": "pcb_component_0",
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_courtyard_rect",
    "pcb_courtyard_rect_id": "pcb_courtyard_rect_0",
    "pcb_component_id": "pcb_component_0",
    "layer": "top",
    "center": {
      "x": 0,
      "y": 0
    },
    "width": 6.08,
    "height": 3.54,
    "subcircuit_id": "subcircuit_source_group_0"
  },
  {
    "type": "pcb_port",
    "pcb_port_id": "pcb_port_0",
    "pcb_component_id": "pcb_component_0",
    "layers": [
      "top",
      "bottom"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "x": -1.27,
    "y": 0,
    "source_port_id": "source_port_0"
  },
  {
    "type": "pcb_port",
    "pcb_port_id": "pcb_port_1",
    "pcb_component_id": "pcb_component_0",
    "layers": [
      "top",
      "bottom"
    ],
    "subcircuit_id": "subcircuit_source_group_0",
    "x": 1.27,
    "y": 0,
    "source_port_id": "source_port_1"
  },
  {
    "type": "cad_component",
    "cad_component_id": "cad_component_0",
    "position": {
      "x": 0,
      "y": 0,
      "z": 0.7
    },
    "rotation": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "pcb_component_id": "pcb_component_0",
    "source_component_id": "source_component_0",
    "model_origin_alignment": "center_of_component_on_board_surface",
    "anchor_alignment": "center_of_component_on_board_surface",
    "footprinter_string": "pinrow2"
  },
  {
    "type": "cad_component",
    "cad_component_id": "cad_component_1",
    "model_jscad": {
      "type": "rotate",
      "angles": [
        0,
        0,
        0
      ],
      "shape": {
        "type": "translate",
        "vector": [
          0,
          0,
          10
        ],
        "shape": {
          "type": "cuboid",
          "size": [
            18,
            18,
            2
          ]
        }
      }
    },
    "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": "hole-check.lift",
    "order": 0,
    "cad_component_ids": [
      "cad_component_1"
    ],
    "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_1"
      }
    ],
    "translation": {
      "x": 0,
      "y": 0,
      "z": 10
    }
  },
  {
    "type": "source_missing_manufacturer_part_number_warning",
    "source_missing_manufacturer_part_number_warning_id": "source_missing_manufacturer_part_number_warning_0",
    "source_component_id": "source_component_0",
    "subcircuit_id": "subcircuit_source_group_0",
    "warning_type": "source_missing_manufacturer_part_number_warning",
    "message": "<pinheader#11(.B>.J1) /> is missing a manufacturer part number and could not be resolved to a supplier part. Specify mpn, manufacturerPartNumber, or mfn, provide supplierPartNumbers, or configure a parts engine to select a part. If this part will not be assembled, mark it doNotPlace."
  },
  {
    "type": "cad_explosion_collision_check_warning",
    "cad_explosion_collision_check_warning_id": "cad_explosion_collision_check_warning_qnbvDPoaxq",
    "error_type": "cad_explosion_collision_check_warning",
    "message": "Explosion collision checking is incomplete: unsupported geometry for \"PCB\"",
    "is_fatal": false,
    "cad_explosion_stage_ids": [
      "cad_explosion_stage_0"
    ],
    "cad_component_ids": [],
    "pcb_board_ids": [
      "pcb_board_0"
    ],
    "reason": "unsupported_geometry"
  }
]