diff --git a/snippets/soup-reference.mdx b/snippets/soup-reference.mdx index b381a95..e7f0e2d 100644 --- a/snippets/soup-reference.mdx +++ b/snippets/soup-reference.mdx @@ -5,17 +5,14 @@ ```json { "type": "source_component", + "ftype": "id sint amet", "source_component_id": "source_component_1", - "name": "C1", - "manufacturer_part_number": "exercitation aute", + "name": "I1", + "manufacturer_part_number": "sint magna", "supplier_part_numbers": { - "magnac": ["aute irure fugiat id non"], - "ina": [ - "elit dolore nostrud", - "officia ullamco mollit Ut sunt", - "velit est" - ], - "esse_1": ["fugiat sit", "ut in aliqua", "sed est"] + "nulla1b": ["exercitation"], + "Lorem_33": ["sed", "dolore", "fugiat nostrud tempor", "Ut"], + "Utd4": ["ut cillum commodo anim irure"] } } ``` @@ -52,11 +49,7 @@ "type": "source_component", "ftype": "led", "source_component_id": "source_component_1", - "name": "L1", - "manufacturer_part_number": "tempor sint velit et", - "supplier_part_numbers": { - "ad_df3": ["laboris labore ex eu irure"] - } + "name": "L1" } ``` @@ -77,16 +70,16 @@ "source_net_id": "source_net_1", "name": "N1", "member_source_group_ids": [ - "ad", - "aliqua", - "ea laboris", - "ut esse aliquip in culpa" + "exercitation commodo mollit", + "Duis esse Ut laboris sint", + "cillum veniam amet consequat", + "esse elit mollit Excepteur", + "minim" ], - "is_power": false, - "is_ground": true, + "is_ground": false, "is_digital_signal": true, "is_analog_signal": false, - "trace_width": 18736888.238336176 + "trace_width": -3978811.4529803097 } ``` @@ -107,7 +100,7 @@ ```json { "type": "source_port", - "port_hints": ["1", "left"], + "pin_number": 72791058.01190707, "name": "P1", "source_port_id": "source_port_1", "source_component_id": "source_component_1" @@ -133,13 +126,9 @@ "ftype": "simple_bug", "source_component_id": "source_component_1", "name": "B1", + "manufacturer_part_number": "esse elit", "supplier_part_numbers": { - "tempor_7": [ - "dolor", - "est magna proident Ut", - "elit consequat", - "aliquip dolor commodo ex" - ] + "commodoc": ["incididunt magna"] } } ``` @@ -161,17 +150,18 @@ "ftype": "simple_capacitor", "source_component_id": "source_component_1", "name": "C1", - "manufacturer_part_number": "Ut sint sit adipisicing elit", + "manufacturer_part_number": "deserunt veniam ipsum minim", "supplier_part_numbers": { - "dolor57": [ - "Ut incididunt nostrud dolor laboris", - "nostrud Duis esse exercitation nisi", - "ullamco", - "minim laborum enim sint", - "Excepteur" + "commodoca4": [ + "amet", + "laborum fugiat", + "pariatur sunt deserunt", + "laboris irure" ], - "officia0": ["in minim ea", "sunt ad fugiat", "aute Ut"], - "et9": ["irure minim dolor ut"] + "mollit_34": [ + "dolore labore velit pariatur", + "nulla qui sint adipisicing Duis" + ] }, "capacitance": "1uF" } @@ -195,13 +185,14 @@ "ftype": "simple_chip", "source_component_id": "source_component_1", "name": "C1", - "manufacturer_part_number": "nulla deserunt dolore in eu", + "manufacturer_part_number": "ut sint officia Excepteur", "supplier_part_numbers": { - "sunt5": [ - "ex elit Ut", - "nulla", - "mollit qui in irure incididunt", - "nostrud laboris exercitation eiusmod nulla" + "aliquip_6": [ + "Lorem incididunt exercitation esse quis", + "ut enim occaecat dolor ea", + "ea sunt quis", + "cupidatat irure anim", + "sed ad pariatur exercitation" ] } } @@ -224,9 +215,13 @@ "ftype": "simple_diode", "source_component_id": "source_component_1", "name": "D1", - "manufacturer_part_number": "amet eu do magna ipsum", + "manufacturer_part_number": "veniam et eu incididunt", "supplier_part_numbers": { - "irure59": ["anim", "sint Excepteur elit fugiat eiusmod"] + "fugiatca5": [ + "Duis", + "consectetur aliquip quis", + "id ad laboris sint dolor" + ] } } ``` @@ -247,17 +242,7 @@ "type": "source_component", "ftype": "simple_ground", "source_component_id": "source_component_1", - "name": "G1", - "supplier_part_numbers": { - "esse_9": [ - "magna in", - "officia veniam est", - "sint sed sit veniam cillum", - "ut ut culpa nostrud sint", - "consectetur cillum Duis" - ], - "veniam92_": ["veniam elit adipisicing est esse", "deserunt qui", "id"] - } + "name": "G1" } ``` @@ -278,14 +263,22 @@ "ftype": "simple_power_source", "source_component_id": "source_component_1", "name": "P1", - "manufacturer_part_number": "pariatur cupidatat nulla Excepteur", + "manufacturer_part_number": "Excepteur ut quis proident commodo", "supplier_part_numbers": { - "reprehenderit4": [ - "minim", - "Ut dolore aliquip occaecat", - "cillum nostrud ex nisi" + "inb6": [ + "in", + "dolore enim fugiat id", + "elit", + "adipisicing aute ullamco", + "culpa magna est dolor sint" ], - "in_7d": ["commodo eiusmod incididunt veniam"] + "eiusmod21e": ["exercitation magna non ex Duis", "magna"], + "ut4": [ + "dolore dolor irure proident cupidatat", + "dolor ex in", + "in ipsum id velit", + "aute exercitation nulla qui esse" + ] }, "voltage": "5V" } @@ -309,7 +302,17 @@ "ftype": "simple_resistor", "source_component_id": "source_component_1", "name": "R1", - "manufacturer_part_number": "esse dolore", + "manufacturer_part_number": "nulla cillum culpa aute ipsum", + "supplier_part_numbers": { + "labore4": ["proident", "minim dolor dolore eu"], + "nostrudf8": [ + "laborum fugiat ullamco veniam deserunt", + "veniam amet dolore", + "commodo" + ], + "reprehenderitce": ["consequat", "aliqua amet aliquip", "Excepteur et non"], + "et_be": ["incididunt velit", "dolore sed cillum"] + }, "resistance": "1k" } ``` @@ -330,13 +333,14 @@ { "type": "source_trace", "source_trace_id": "source_trace_1", - "connected_source_port_ids": ["adipisicing ea anim exercitation"], - "connected_source_net_ids": [ - "ex Excepteur ullamco adipisicing", - "dolore labore magna", - "culpa officia aute magna veniam", - "cillum" - ] + "connected_source_port_ids": [ + "dolore cupidatat", + "commodo", + "anim amet dolore in nisi", + "mollit", + "nostrud tempor" + ], + "connected_source_net_ids": ["proident", "consequat labore"] } ``` @@ -389,10 +393,10 @@ Draws a box on the schematic }, "source_component_id": "source_component_1", "schematic_component_id": "schematic_component_1", - "pin_spacing": 89693290.23714864, + "pin_spacing": "voluptate sint dolor qui", "pin_styles": {}, - "box_width": -48856100.3206589, - "symbol_name": "aliquip qui", + "box_width": "nostrud amet ut irure", + "symbol_name": "veniam enim sed anim", "port_arrangement": { "left_size": 3, "right_size": 3 @@ -429,7 +433,7 @@ Defines a schematic error on the schematic "schematic_error_id": "schematic_error_1", "type": "schematic_error", "error_type": "schematic_port_not_found", - "message": "do consectetur ut dolore cillum" + "message": "aliqua" } ``` @@ -472,7 +476,7 @@ Defines a schematic error on the schematic "x": "3mm", "y": "1mm" }, - "anchor_side": "top", + "anchor_side": "left", "text": "Hello, World!" } ``` @@ -491,7 +495,8 @@ Defines a schematic error on the schematic { "type": "schematic_path", "schematic_component_id": "schematic_component_1", - "is_filled": false, + "fill_color": "blue", + "is_filled": true, "points": [ { "x": "3mm", @@ -526,12 +531,10 @@ Defines a port on a schematic component "type": "schematic_port", "schematic_port_id": "schematic_port_1", "source_port_id": "source_port_1", - "schematic_component_id": "schematic_component_1", "center": { "x": "3mm", "y": "1mm" - }, - "facing_direction": "up" + } } ``` @@ -556,8 +559,7 @@ Defines a port on a schematic component "x": "3mm", "y": "1mm" }, - "rotation": "90deg", - "anchor": "left" + "rotation": "90deg" } ``` @@ -579,18 +581,6 @@ Defines a port on a schematic component "schematic_trace_id": "schematic_trace_1", "source_trace_id": "source_trace_1", "edges": [ - { - "from": { - "x": "3mm", - "y": "1mm" - }, - "to": { - "x": "3mm", - "y": "1mm" - }, - "from_schematic_port_id": "from_schematic_port_1", - "to_schematic_port_id": "to_schematic_port_1" - }, { "from": { "x": "3mm", @@ -601,18 +591,6 @@ Defines a port on a schematic component "y": "1mm" } }, - { - "from": { - "x": "3mm", - "y": "1mm" - }, - "to": { - "x": "3mm", - "y": "1mm" - }, - "from_schematic_port_id": "from_schematic_port_1", - "to_schematic_port_id": "to_schematic_port_1" - }, { "from": { "x": "3mm", @@ -651,7 +629,25 @@ Defines the board outline of the PCB "center": { "x": "3mm", "y": "1mm" - } + }, + "outline": [ + { + "x": "3mm", + "y": "1mm" + }, + { + "x": "3mm", + "y": "1mm" + }, + { + "x": "3mm", + "y": "1mm" + }, + { + "x": "3mm", + "y": "1mm" + } + ] } ``` @@ -671,6 +667,7 @@ Defines a component on the PCB ```json { "type": "pcb_component", + "pcb_component_id": "pcb_component_1", "source_component_id": "source_component_1", "center": { "x": "3mm", @@ -727,7 +724,7 @@ Defines a fabrication path on the PCB for fabricators or assemblers } ], "stroke_width": "0.1mm", - "color": "nulla" + "color": "consequat esse" } ``` @@ -748,15 +745,9 @@ Defines a fabrication note in text on the PCB, useful for leaving notes for asse ```json { "type": "pcb_fabrication_note_text", - "pcb_fabrication_note_text_id": "pcb_fabrication_note_text_1", - "font": "tscircuit2024", "pcb_component_id": "pcb_component_1", "text": "Hello, World!", - "layer": "top", - "anchor_position": { - "x": "3mm", - "y": "1mm" - } + "layer": "top" } ``` @@ -782,7 +773,7 @@ Defines a placement error on the PCB "pcb_error_id": "pcb_error_1", "type": "pcb_error", "error_type": "pcb_placement_error", - "message": "eu nostrud" + "message": "veniam deserunt ut laboris" } ``` @@ -828,7 +819,7 @@ Defines a trace error on the PCB "pcb_error_id": "pcb_error_1", "type": "pcb_error", "error_type": "pcb_port_not_matched_error", - "message": "tempor", + "message": "eu esse", "pcb_component_ids": ["pcb_component_1"] } ``` @@ -911,8 +902,8 @@ Defines a silkscreen oval on the PCB "x": "3mm", "y": "1mm" }, - "radius_x": "magna", - "radius_y": "labore sint tempor minim", + "radius_x": "officia cupidatat Duis", + "radius_y": -25461823.467638567, "layer": "top" } ``` @@ -938,18 +929,6 @@ Defines a silkscreen path on the PCB "pcb_component_id": "pcb_component_1", "layer": "top", "route": [ - { - "x": "3mm", - "y": "1mm" - }, - { - "x": "3mm", - "y": "1mm" - }, - { - "x": "3mm", - "y": "1mm" - }, { "x": "3mm", "y": "1mm" @@ -1008,6 +987,7 @@ Defines silkscreen text on the PCB ```json { "type": "pcb_silkscreen_text", + "font": "tscircuit2024", "font_size": "1mm", "pcb_component_id": "pcb_component_1", "text": "Hello, World!", @@ -1016,7 +996,7 @@ Defines silkscreen text on the PCB "x": "3mm", "y": "1mm" }, - "anchor_alignment": "bottom_right" + "anchor_alignment": "bottom_left" } ``` @@ -1065,10 +1045,9 @@ Defines text on the PCB { "type": "pcb_trace", "source_trace_id": "source_trace_1", - "pcb_component_id": "pcb_component_1", "pcb_trace_id": "pcb_trace_1", "route_thickness_mode": "constant", - "should_round_corners": true, + "should_round_corners": false, "route": [ { "route_type": "wire", @@ -1076,36 +1055,10 @@ Defines text on the PCB "y": "1mm", "width": "5mm", "start_pcb_port_id": "start_pcb_port_1", - "end_pcb_port_id": "end_pcb_port_1", - "layer": "top" - }, - { - "route_type": "wire", - "x": "3mm", - "y": "1mm", - "width": "5mm", - "start_pcb_port_id": "start_pcb_port_1", - "end_pcb_port_id": "end_pcb_port_1", "layer": "top" }, { "route_type": "via", - "x": "3mm", - "y": "1mm", - "from_layer": "top", - "to_layer": "bottom" - }, - { - "route_type": "via", - "x": "3mm", - "y": "1mm", - "from_layer": "top", - "to_layer": "bottom" - }, - { - "route_type": "via", - "x": "3mm", - "y": "1mm", "from_layer": "top", "to_layer": "bottom" } @@ -1132,7 +1085,7 @@ Defines a trace error on the PCB "pcb_error_id": "pcb_error_1", "type": "pcb_error", "error_type": "pcb_trace_error", - "message": "ut sed laborum eu ea", + "message": "laboris dolore dolor", "center": { "x": "3mm", "y": "1mm" @@ -1166,27 +1119,7 @@ A hint that can be used to generate a PCB trace "type": "pcb_trace_hint", "pcb_port_id": "pcb_port_1", "pcb_component_id": "pcb_component_1", - "route": [ - { - "x": "3mm", - "y": "1mm", - "via": false, - "to_layer": "bottom", - "trace_width": -90588322.33281131 - }, - { - "x": "3mm", - "y": "1mm", - "via": true - }, - { - "x": "3mm", - "y": "1mm", - "via": true, - "to_layer": "bottom", - "trace_width": 83956977.08626252 - } - ] + "route": [] } ``` @@ -1207,10 +1140,8 @@ Defines a via on the PCB "type": "pcb_via", "x": "3mm", "y": "1mm", - "outer_diameter": "1.2mm", "hole_diameter": "0.08in", "from_layer": "top", - "to_layer": "bottom", "layers": ["top", "bottom"] } ``` @@ -1232,14 +1163,13 @@ Defines a via on the PCB ```json { - "type": "pcb_text", - "text": "Hello, World!", + "pcb_hole_id": "pcb_hole_1", + "type": "pcb_hole", + "hole_shape": "round", + "hole_width": "1mm", + "hole_height": "1mm", "x": "3mm", - "y": "1mm", - "align": "bottom-left", - "width": "5mm", - "height": "5mm", - "lines": 1 + "y": "1mm" } ``` @@ -1248,9 +1178,13 @@ Defines a via on the PCB ```json { "type": "source_component", - "ftype": "simple_diode", + "ftype": "simple_bug", "source_component_id": "source_component_1", - "name": "D1" + "name": "B1", + "manufacturer_part_number": "magna dolore", + "supplier_part_numbers": { + "consequat7": ["ipsum sint eiusmod commodo Duis"] + } } ``` @@ -1267,20 +1201,10 @@ Defines a component on the PCB "position": { "x": "3mm", "y": "1mm", - "z": 94738058.37425324 + "z": -15617893.011609182 }, - "rotation": "90deg", - "size": { - "x": "3mm", - "y": "1mm", - "z": "culpa nulla sint" - }, - "layer": "top", - "footprinter_string": "proident", - "model_obj_url": "Duis officia exercitation Excepteur", - "model_stl_url": "fugiat proident anim", - "model_3mf_url": "laboris ex", - "model_jscad": {} + "model_obj_url": "officia", + "model_stl_url": "labore adipisicing ea" } ``` @@ -1333,7 +1257,7 @@ Defines a component on the PCB ### `layer_string` ```json -"inner2" +"inner4" ``` ### `length` @@ -1350,7 +1274,9 @@ Defines a hole on the PCB { "pcb_hole_id": "pcb_hole_1", "type": "pcb_hole", - "hole_diameter": "0.08in", + "hole_shape": "round", + "hole_width": "1mm", + "hole_height": "1mm", "x": "3mm", "y": "1mm" } @@ -1370,7 +1296,7 @@ Defines a hole on the PCB "height": "5mm", "pcb_keepout_id": "pcb_keepout_1", "layers": ["top", "bottom"], - "description": "in deserunt" + "description": "ad quis reprehenderit in pariatur" } ``` @@ -1382,16 +1308,14 @@ Defines a plated hole on the PCB { "type": "pcb_plated_hole", "shape": "oval", - "outer_width": 4023407.9593851864, - "outer_height": 61654885.391669154, + "outer_width": -66557457.58151217, + "outer_height": -79163548.97702478, "hole_width": "1mm", "hole_height": "1mm", "x": "3mm", "y": "1mm", "layers": ["top", "bottom"], - "port_hints": ["1", "left"], "pcb_component_id": "pcb_component_1", - "pcb_port_id": "pcb_port_1", "pcb_plated_hole_id": "pcb_plated_hole_1" } ``` @@ -1402,8 +1326,8 @@ Defines a plated hole on the PCB { "x": "3mm", "y": "1mm", - "via": true, - "via_to_layer": "inner2" + "via": false, + "via_to_layer": "inner3" } ``` @@ -1466,7 +1390,7 @@ Defines an SMT pad on the PCB { "x": "3mm", "y": "1mm", - "z": "Lorem" + "z": "anim quis" } ``` @@ -1496,7 +1420,7 @@ Defines an SMT pad on the PCB { "x": "3mm", "y": "1mm", - "z": -74523276.22873503 + "z": 94151819.55500221 } ``` @@ -1539,18 +1463,21 @@ Defines an SMT pad on the PCB ```json { - "sint_49": { - "left_margin": -59077193.80353344, - "right_margin": -95791821.55375077, - "top_margin": 21251539.11606677, - "bottom_margin": "veniam nulla" + "velitf0": { + "left_margin": -98580182.04548329, + "right_margin": -76966291.39062724, + "top_margin": "ad cupidatat sint sed", + "bottom_margin": "do in Duis incididunt dolor" }, - "autec6": { - "left_margin": -7123756.585293427 + "eu__17": { + "left_margin": 18932291.628581405, + "right_margin": -36652776.595913485, + "top_margin": "exercitation nostrud ut", + "bottom_margin": "Ut" }, - "officia_fb": { - "left_margin": -27044584.697071135, - "bottom_margin": "aliqua amet et laborum" + "voluptate43": { + "top_margin": 61887608.690443546, + "bottom_margin": 57850782.24369323 } } ``` @@ -1572,7 +1499,7 @@ Defines an SMT pad on the PCB ### `supplier_name` ```json -"lcsc" +"mouser" ``` ### `time` @@ -1584,7 +1511,7 @@ Defines an SMT pad on the PCB ### `visible_layer` ```json -"bottom" +"top" ``` ### `voltage`