Change some default parameter values

This commit is contained in:
Daniel Rojas 2020-05-29 19:20:10 +02:00
parent 5461cb016d
commit 2dd21ae6aa
2 changed files with 7 additions and 3 deletions

View File

@ -30,16 +30,20 @@ nodes:
wires:
W1:
<<: *wire_i2c
show_name: false
W2:
<<: *wire_i2c
show_name: false
W3:
mm2: 0.14
length: 0.2
colors: [BK, BU, OG, VT]
show_name: false
W4:
mm2: 0.5
length: 0.35
colors: [BK, RD]
show_name: false
connections:
-

View File

@ -184,8 +184,8 @@ class Node:
gender: str = None
num_pins: int = None
pinout: List[Any] = field(default_factory=list)
show_name: bool = False
show_num_pins: bool = False
show_name: bool = True
show_num_pins: bool = True
def __post_init__(self):
self.ports_left = False
@ -214,7 +214,7 @@ class Cable:
shield: bool = False
colors: List[Any] = field(default_factory=list)
color_code: str = None
show_name: bool = False
show_name: bool = True
show_pinout: bool = False
show_num_wires: bool = True