From 45e46d430e376270f3830b498e4f7683e06172b6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 9 Nov 2024 00:25:43 +0000 Subject: [PATCH] Update Soup Reference --- snippets/soup-reference.mdx | 440 ++++++++++++++++++++++++------------ 1 file changed, 293 insertions(+), 147 deletions(-) diff --git a/snippets/soup-reference.mdx b/snippets/soup-reference.mdx index c1867a6..0b8ef93 100644 --- a/snippets/soup-reference.mdx +++ b/snippets/soup-reference.mdx @@ -5,10 +5,13 @@ ```json { "type": "source_component", - "ftype": "nisi", + "ftype": "adipisicing fugiat in qui dolore", "source_component_id": "source_component_1", - "name": "N1", - "manufacturer_part_number": "occaecat irure sunt id" + "name": "A1", + "manufacturer_part_number": "non in in exercitation", + "supplier_part_numbers": { + "sint4f": ["fugiat", "Ut Excepteur", "consectetur aliqua minim", "laborum"] + } } ``` @@ -45,8 +48,10 @@ "ftype": "led", "source_component_id": "source_component_1", "name": "L1", + "manufacturer_part_number": "aliqua ullamco in veniam tempor", "supplier_part_numbers": { - "commodo_1": ["non sunt mollit exercitation id"] + "veniam_c9": ["Duis aliqua velit", "Lorem id culpa"], + "exercitation_4": ["anim irure aute"] } } ``` @@ -68,16 +73,16 @@ "source_net_id": "source_net_1", "name": "N1", "member_source_group_ids": [ - "et Ut veniam", - "ullamco reprehenderit", - "ullamco minim esse officia", - "labore quis laborum sit veniam" + "adipisicing sint laborum ipsum veniam", + "ipsum laborum commodo occaecat deserunt", + "sed in", + "laboris nisi" ], - "is_power": false, - "is_ground": true, + "is_power": true, + "is_ground": false, "is_digital_signal": false, - "is_analog_signal": false, - "trace_width": 32236164.617253408 + "is_analog_signal": true, + "trace_width": 72956234.33464909 } ``` @@ -98,6 +103,8 @@ ```json { "type": "source_port", + "pin_number": 27519233.96493195, + "port_hints": ["1", "left"], "name": "P1", "source_port_id": "source_port_1", "source_component_id": "source_component_1" @@ -123,10 +130,32 @@ "ftype": "simple_bug", "source_component_id": "source_component_1", "name": "B1", - "manufacturer_part_number": "Excepteur qui magna", "supplier_part_numbers": { - "sit_2": ["reprehenderit magna incididunt sint eu"], - "voluptate_313": ["id consectetur sit"] + "eu42": [ + "occaecat", + "adipisicing laboris dolore", + "in sunt magna ipsum", + "voluptate dolor in culpa", + "ad Excepteur elit" + ], + "deserunt3": [ + "anim", + "proident esse", + "aute elit voluptate do adipisicing" + ], + "dolore_e3c": [ + "consequat", + "dolore laborum fugiat minim anim", + "reprehenderit cupidatat officia exercitation qui", + "in eiusmod", + "consequat" + ], + "est_74": [ + "qui enim esse reprehenderit id", + "et sunt ullamco commodo officia", + "consequat" + ], + "Utb8": ["est labore dolore in"] } } ``` @@ -148,15 +177,23 @@ "ftype": "simple_capacitor", "source_component_id": "source_component_1", "name": "C1", - "manufacturer_part_number": "adipisicing eu ad", + "manufacturer_part_number": "fugiat", "supplier_part_numbers": { - "laboris_85": [ - "Duis", - "sit dolor sint culpa mollit", - "voluptate", - "nisi commodo dolore minim irure", - "sunt" - ] + "veniam4": ["est sed id", "consectetur esse ipsum ad"], + "laborumbed": [ + "id culpa laborum in", + "nisi minim Duis ipsum", + "est", + "amet dolor Excepteur ut", + "id ullamco dolore ipsum" + ], + "proident_2": [ + "commodo magna pariatur voluptate", + "in est id dolore", + "incididunt culpa Duis sit", + "in ut ut" + ], + "ine": ["fugiat enim sunt", "Duis", "minim voluptate", "eu"] }, "capacitance": "1uF" } @@ -179,7 +216,20 @@ "type": "source_component", "ftype": "simple_chip", "source_component_id": "source_component_1", - "name": "C1" + "name": "C1", + "manufacturer_part_number": "commodo et", + "supplier_part_numbers": { + "proident_2": ["culpa", "magna officia pariatur mollit", "culpa"], + "consectetur6": ["amet esse"], + "esse_23": ["dolor", "anim cupidatat quis"], + "qui_007": ["laboris aliqua", "esse sint sed aliquip"], + "enim39": [ + "Lorem magna in ea irure", + "incididunt et", + "esse", + "qui cillum ipsum" + ] + } } ``` @@ -200,16 +250,12 @@ "ftype": "simple_diode", "source_component_id": "source_component_1", "name": "D1", - "manufacturer_part_number": "aliquip enim Ut", + "manufacturer_part_number": "id proident voluptate cillum", "supplier_part_numbers": { - "elit_16a": [ - "ex sint adipisicing", - "Lorem ut culpa reprehenderit", - "est deserunt nisi esse aliqua", - "nostrud est voluptate ipsum", - "cupidatat exercitation do dolor" - ], - "sint729": ["labore voluptate", "mollit enim"] + "anim_35": ["aliqua irure velit id"], + "culpa5d3": ["pariatur ut reprehenderit non anim", "in amet do"], + "esse87a": ["incididunt Duis anim ullamco", "sint", "sit", "elit magna"], + "tempor9de": ["sit pariatur", "dolore ullamco elit exercitation", "in"] } } ``` @@ -231,15 +277,23 @@ "ftype": "simple_ground", "source_component_id": "source_component_1", "name": "G1", - "manufacturer_part_number": "eiusmod deserunt proident fugiat in", + "manufacturer_part_number": "elit proident ut", "supplier_part_numbers": { - "dolor8": [ - "tempor sunt aliquip mollit", - "aliqua occaecat reprehenderit est", - "cupidatat proident", - "deserunt ullamco", - "quis ea eu incididunt dolor" - ] + "in_a4": [ + "culpa", + "in labore in magna", + "mollit nostrud reprehenderit", + "consectetur ad et", + "aliqua enim laborum labore et" + ], + "exercitation2": ["quis", "in"], + "consequat_3": [ + "in", + "dolor voluptate consectetur", + "anim enim velit", + "mollit id occaecat" + ], + "mollit_4": ["nulla ad id culpa aliquip", "cillum amet"] } } ``` @@ -261,24 +315,13 @@ "ftype": "simple_power_source", "source_component_id": "source_component_1", "name": "P1", - "manufacturer_part_number": "ullamco laboris cillum aute", + "manufacturer_part_number": "Ut esse", "supplier_part_numbers": { - "deserunt_474": [ - "proident nisi consectetur fugiat eu", - "in commodo et", - "cupidatat dolore nisi", - "in dolore laboris", - "voluptate Lorem" - ], - "Ut23": [ - "Lorem veniam sit officia velit", - "fugiat sit magna consectetur ex" - ], - "aute1": [ - "laboris Excepteur consequat reprehenderit", - "cupidatat consequat dolore officia", - "laboris non", - "eu aute nostrud occaecat non" + "ut_16e": [ + "non anim consequat minim sunt", + "proident", + "dolore Lorem consectetur in adipisicing", + "occaecat laborum" ] }, "voltage": "5V" @@ -303,6 +346,19 @@ "ftype": "simple_resistor", "source_component_id": "source_component_1", "name": "R1", + "manufacturer_part_number": "dolore dolore cillum cupidatat laboris", + "supplier_part_numbers": { + "non226": ["velit deserunt", "est aliquip", "in est dolore sint"], + "consecteturb": ["proident eu officia", "proident aliquip irure"], + "non3": ["anim", "in ullamco", "enim proident Duis minim nostrud", "eu"], + "occaecat42": [ + "aliquip ullamco in reprehenderit", + "elit culpa", + "magna aute", + "ut sed irure labore", + "anim amet nulla pariatur mollit" + ] + }, "resistance": "1k" } ``` @@ -324,13 +380,19 @@ "type": "source_trace", "source_trace_id": "source_trace_1", "connected_source_port_ids": [ - "sed", - "elit", - "dolor in deserunt dolore", - "deserunt sed veniam dolor", - "reprehenderit" + "est elit", + "ullamco tempor Lorem", + "cupidatat", + "irure incididunt", + "aute commodo" ], - "connected_source_net_ids": ["cillum", "qui irure", "nulla"] + "connected_source_net_ids": [ + "consectetur", + "Lorem ad", + "minim consequat cupidatat do cillum", + "tempor dolore", + "Lorem dolor veniam" + ] } ``` @@ -372,6 +434,7 @@ Draws a box on the schematic ```json { "type": "schematic_component", + "rotation": "90deg", "size": { "width": "5mm", "height": "5mm" @@ -381,7 +444,20 @@ Draws a box on the schematic "y": "1mm" }, "source_component_id": "source_component_1", - "schematic_component_id": "schematic_component_1" + "schematic_component_id": "schematic_component_1", + "pin_spacing": "nisi", + "pin_styles": {}, + "box_width": 73935591.59280461, + "symbol_name": "Excepteur consequat commodo", + "port_arrangement": { + "left_size": 3, + "right_size": 3 + }, + "port_labels": { + "1": "VCC", + "2": "GND", + "3": "OUT" + } } ``` @@ -409,7 +485,7 @@ Defines a schematic error on the schematic "schematic_error_id": "schematic_error_1", "type": "schematic_error", "error_type": "schematic_port_not_found", - "message": "exercitation reprehenderit do ipsum" + "message": "sed magna ullamco sint" } ``` @@ -474,6 +550,10 @@ Defines a schematic error on the schematic "fill_color": "blue", "is_filled": true, "points": [ + { + "x": "3mm", + "y": "1mm" + }, { "x": "3mm", "y": "1mm" @@ -504,7 +584,7 @@ Defines a port on a schematic component "x": "3mm", "y": "1mm" }, - "facing_direction": "left" + "facing_direction": "down" } ``` @@ -528,7 +608,9 @@ Defines a port on a schematic component "position": { "x": "3mm", "y": "1mm" - } + }, + "rotation": "90deg", + "anchor": "right" } ``` @@ -550,6 +632,27 @@ 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" + }, + { + "from": { + "x": "3mm", + "y": "1mm" + }, + "to": { + "x": "3mm", + "y": "1mm" + } + }, { "from": { "x": "3mm", @@ -560,6 +663,29 @@ Defines a port on a schematic component "y": "1mm" }, "to_schematic_port_id": "to_schematic_port_1" + }, + { + "from": { + "x": "3mm", + "y": "1mm" + }, + "to": { + "x": "3mm", + "y": "1mm" + }, + "from_schematic_port_id": "from_schematic_port_1" + }, + { + "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" } ] } @@ -581,27 +707,12 @@ Defines the board outline of the PCB ```json { "type": "pcb_board", - "pcb_board_id": "pcb_board_1", "width": "5mm", "height": "5mm", "center": { "x": "3mm", "y": "1mm" - }, - "outline": [ - { - "x": "3mm", - "y": "1mm" - }, - { - "x": "3mm", - "y": "1mm" - }, - { - "x": "3mm", - "y": "1mm" - } - ] + } } ``` @@ -666,7 +777,7 @@ Defines a fabrication path on the PCB for fabricators or assemblers } ], "stroke_width": "0.1mm", - "color": "elit veniam incididunt eu" + "color": "eiusmod elit" } ``` @@ -697,8 +808,8 @@ Defines a fabrication note in text on the PCB, useful for leaving notes for asse "x": "3mm", "y": "1mm" }, - "anchor_alignment": "top_right", - "color": "Lorem est sed dolor pariatur" + "anchor_alignment": "top_left", + "color": "ullamco minim consequat proident" } ``` @@ -724,7 +835,7 @@ Defines a placement error on the PCB "pcb_error_id": "pcb_error_1", "type": "pcb_error", "error_type": "pcb_placement_error", - "message": "in nisi eiusmod" + "message": "elit est sit ad" } ``` @@ -770,7 +881,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": "in laborum et dolore nisi", + "message": "dolore cupidatat", "pcb_component_ids": ["pcb_component_1"] } ``` @@ -853,8 +964,8 @@ Defines a silkscreen oval on the PCB "x": "3mm", "y": "1mm" }, - "radius_x": -66630228.33060808, - "radius_y": "in et deserunt dolor pariatur", + "radius_x": 78702768.7837817, + "radius_y": "irure", "layer": "top" } ``` @@ -892,6 +1003,10 @@ Defines a silkscreen path on the PCB "x": "3mm", "y": "1mm" }, + { + "x": "3mm", + "y": "1mm" + }, { "x": "3mm", "y": "1mm" @@ -947,6 +1062,7 @@ Defines silkscreen text on the PCB { "type": "pcb_silkscreen_text", "font": "tscircuit2024", + "font_size": "1mm", "pcb_component_id": "pcb_component_1", "text": "Hello, World!", "layer": "top", @@ -954,7 +1070,7 @@ Defines silkscreen text on the PCB "x": "3mm", "y": "1mm" }, - "anchor_alignment": "bottom_right" + "anchor_alignment": "bottom_left" } ``` @@ -1003,7 +1119,7 @@ Defines text on the PCB { "type": "pcb_trace", "pcb_trace_id": "pcb_trace_1", - "should_round_corners": false, + "should_round_corners": true, "route": [ { "route_type": "wire", @@ -1020,8 +1136,26 @@ 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": "via", + "x": "3mm", + "y": "1mm", + "from_layer": "top", + "to_layer": "bottom" + }, + { + "route_type": "wire", + "x": "3mm", + "y": "1mm", + "width": "5mm", + "layer": "top" + }, + { + "route_type": "via", + "from_layer": "top", + "to_layer": "bottom" } ] } @@ -1046,7 +1180,7 @@ Defines a trace error on the PCB "pcb_error_id": "pcb_error_1", "type": "pcb_error", "error_type": "pcb_trace_error", - "message": "officia dolore", + "message": "do ipsum deserunt consequat ut", "center": { "x": "3mm", "y": "1mm" @@ -1080,7 +1214,22 @@ 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": [] + "route": [ + { + "x": "3mm", + "y": "1mm", + "via": false, + "to_layer": "bottom", + "trace_width": "nulla Ut ad" + }, + { + "x": "3mm", + "y": "1mm", + "via": false, + "to_layer": "bottom", + "trace_width": "sint dolor" + } + ] } ``` @@ -1101,6 +1250,10 @@ 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"] } ``` @@ -1122,16 +1275,12 @@ Defines a via on the PCB ```json { - "type": "pcb_component", - "source_component_id": "source_component_1", - "center": { - "x": "3mm", - "y": "1mm" - }, - "layer": "top", - "rotation": "90deg", + "type": "schematic_box", + "schematic_component_id": "schematic_component_1", "width": "5mm", - "height": "5mm" + "height": "5mm", + "x": "3mm", + "y": "1mm" } ``` @@ -1140,21 +1289,15 @@ Defines a via on the PCB ```json { "type": "source_component", - "ftype": "simple_resistor", + "ftype": "simple_chip", "source_component_id": "source_component_1", - "name": "R1", + "name": "C1", + "manufacturer_part_number": "elit id Excepteur dolore nulla", "supplier_part_numbers": { - "pariatur320": ["commodo", "reprehenderit occaecat"], - "cillum503": [ - "nisi ullamco sint voluptate", - "id culpa", - "tempor veniam sed dolor irure", - "consequat" - ], - "proident_7": ["ut enim cupidatat ea"], - "laborum_3f": ["sunt enim pariatur sed", "occaecat laboris velit"] - }, - "resistance": "1k" + "nisi_7ac": ["aute nulla adipisicing"], + "exercitation_916": ["anim consectetur qui"], + "dolorec": ["in sunt et velit", "culpa ad"] + } } ``` @@ -1171,19 +1314,19 @@ Defines a component on the PCB "position": { "x": "3mm", "y": "1mm", - "z": "quis id" + "z": -19651598.844090715 }, "rotation": "90deg", "size": { "x": "3mm", "y": "1mm", - "z": "ut amet aliquip id" + "z": -55326525.82910363 }, "layer": "top", - "footprinter_string": "dolor incididunt Ut irure fugiat", - "model_obj_url": "nulla ipsum anim cupidatat laborum", - "model_stl_url": "ipsum Ut deserunt magna", - "model_3mf_url": "deserunt", + "footprinter_string": "aliqua in", + "model_obj_url": "sint", + "model_stl_url": "nulla in tempor adipisicing dolor", + "model_3mf_url": "officia ut eu", "model_jscad": {} } ``` @@ -1237,7 +1380,7 @@ Defines a component on the PCB ### `layer_string` ```json -"inner4" +"inner6" ``` ### `length` @@ -1267,15 +1410,16 @@ Defines a hole on the PCB ```json { "type": "pcb_keepout", - "shape": "circle", + "shape": "rect", "center": { "x": "3mm", "y": "1mm" }, - "radius": "5mm", + "width": "5mm", + "height": "5mm", "pcb_keepout_id": "pcb_keepout_1", "layers": ["top", "bottom"], - "description": "voluptate qui" + "description": "in Duis laborum ad sed" } ``` @@ -1286,12 +1430,16 @@ Defines a plated hole on the PCB ```json { "type": "pcb_plated_hole", - "shape": "circle", - "outer_diameter": "1.2mm", - "hole_diameter": "0.08in", + "shape": "oval", + "outer_width": -43056713.71222877, + "outer_height": 27681489.19666156, + "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" } @@ -1302,7 +1450,11 @@ Defines a plated hole on the PCB ```json { "x": "3mm", - "y": "1mm" + "y": "1mm", + "via": false, + "via_to_layer": { + "name": "P1" + } } ``` @@ -1333,11 +1485,10 @@ Defines an SMT pad on the PCB { "pcb_smtpad_id": "pcb_smtpad_1", "type": "pcb_smtpad", - "shape": "rect", + "shape": "circle", "x": "3mm", "y": "1mm", - "width": "5mm", - "height": "5mm", + "radius": "5mm", "layer": "top", "port_hints": ["1", "left"], "pcb_component_id": "pcb_component_1", @@ -1365,7 +1516,7 @@ Defines an SMT pad on the PCB { "x": "3mm", "y": "1mm", - "z": "cupidatat" + "z": "Ut cillum" } ``` @@ -1395,7 +1546,7 @@ Defines an SMT pad on the PCB { "x": "3mm", "y": "1mm", - "z": 72339785.70369518 + "z": "in anim ut est reprehenderit" } ``` @@ -1423,8 +1574,7 @@ Defines an SMT pad on the PCB { "x": "3mm", "y": "1mm", - "via": false, - "to_layer": "bottom" + "trace_width": 59449228.08917129 } ``` @@ -1440,12 +1590,8 @@ Defines an SMT pad on the PCB ```json { - "aliquip_668": { - "right_margin": "ad" - }, - "ipsum_0": { - "left_margin": "sint tempor sunt nisi proident", - "right_margin": 63196529.993539095 + "dolore1": { + "right_margin": "magna fugiat sunt irure proident" } } ``` @@ -1467,7 +1613,7 @@ Defines an SMT pad on the PCB ### `supplier_name` ```json -"digikey" +"jlcpcb" ``` ### `time` @@ -1479,7 +1625,7 @@ Defines an SMT pad on the PCB ### `visible_layer` ```json -"top" +"bottom" ``` ### `voltage`