circuit-json-to-step 0.0.21 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,10 @@
5
5
  "width": 16,
6
6
  "height": 32,
7
7
  "thickness": 1.6,
8
- "center": { "x": 10, "y": 20 }
8
+ "center": {
9
+ "x": 10,
10
+ "y": 20
11
+ }
9
12
  },
10
13
  {
11
14
  "type": "source_component",
@@ -18,7 +21,10 @@
18
21
  "type": "pcb_component",
19
22
  "pcb_component_id": "pcb_component_resistor",
20
23
  "source_component_id": "source_component_resistor",
21
- "center": { "x": 6, "y": 26 },
24
+ "center": {
25
+ "x": 6,
26
+ "y": 26
27
+ },
22
28
  "width": 3,
23
29
  "height": 1.5,
24
30
  "rotation": 0,
@@ -28,7 +34,10 @@
28
34
  "type": "pcb_component",
29
35
  "pcb_component_id": "pcb_component_resistor_2",
30
36
  "source_component_id": "source_component_resistor",
31
- "center": { "x": 6, "y": 20 },
37
+ "center": {
38
+ "x": 6,
39
+ "y": 20
40
+ },
32
41
  "width": 3,
33
42
  "height": 1.5,
34
43
  "rotation": 0,
@@ -38,7 +47,10 @@
38
47
  "type": "pcb_component",
39
48
  "pcb_component_id": "pcb_component_resistor_3",
40
49
  "source_component_id": "source_component_resistor",
41
- "center": { "x": 6, "y": 14 },
50
+ "center": {
51
+ "x": 6,
52
+ "y": 14
53
+ },
42
54
  "width": 3,
43
55
  "height": 1.5,
44
56
  "rotation": 0,
@@ -62,7 +74,10 @@
62
74
  "type": "pcb_component",
63
75
  "pcb_component_id": "pcb_component_switch",
64
76
  "source_component_id": "source_component_switch",
65
- "center": { "x": 14, "y": 26 },
77
+ "center": {
78
+ "x": 14,
79
+ "y": 26
80
+ },
66
81
  "width": 6,
67
82
  "height": 6,
68
83
  "rotation": 0,
@@ -72,7 +87,10 @@
72
87
  "type": "pcb_component",
73
88
  "pcb_component_id": "pcb_component_switch_2",
74
89
  "source_component_id": "source_component_switch",
75
- "center": { "x": 14, "y": 20 },
90
+ "center": {
91
+ "x": 14,
92
+ "y": 20
93
+ },
76
94
  "width": 6,
77
95
  "height": 6,
78
96
  "rotation": 0,
@@ -82,7 +100,10 @@
82
100
  "type": "pcb_component",
83
101
  "pcb_component_id": "pcb_component_switch_3",
84
102
  "source_component_id": "source_component_switch",
85
- "center": { "x": 14, "y": 14 },
103
+ "center": {
104
+ "x": 14,
105
+ "y": 14
106
+ },
86
107
  "width": 6,
87
108
  "height": 6,
88
109
  "rotation": 0,
@@ -92,7 +113,10 @@
92
113
  "type": "pcb_component",
93
114
  "pcb_component_id": "pcb_component_pushbutton",
94
115
  "source_component_id": "source_component_pushbutton",
95
- "center": { "x": 10, "y": 32 },
116
+ "center": {
117
+ "x": 10,
118
+ "y": 32
119
+ },
96
120
  "width": 6,
97
121
  "height": 6,
98
122
  "rotation": 0,
@@ -103,8 +127,16 @@
103
127
  "cad_component_id": "cad_component_resistor",
104
128
  "pcb_component_id": "pcb_component_resistor",
105
129
  "source_component_id": "source_component_resistor",
106
- "position": { "x": 6, "y": 26, "z": 0.8 },
107
- "rotation": { "x": 0, "y": 0, "z": 0 },
130
+ "position": {
131
+ "x": 6,
132
+ "y": 26,
133
+ "z": 0
134
+ },
135
+ "rotation": {
136
+ "x": 0,
137
+ "y": 0,
138
+ "z": 0
139
+ },
108
140
  "model_step_url": "test/fixtures/kicad-models/R_0603_1608Metric.step"
109
141
  },
110
142
  {
@@ -112,8 +144,16 @@
112
144
  "cad_component_id": "cad_component_resistor_2",
113
145
  "pcb_component_id": "pcb_component_resistor_2",
114
146
  "source_component_id": "source_component_resistor",
115
- "position": { "x": 6, "y": 20, "z": 0.8 },
116
- "rotation": { "x": 0, "y": 0, "z": 0 },
147
+ "position": {
148
+ "x": 6,
149
+ "y": 20,
150
+ "z": 0
151
+ },
152
+ "rotation": {
153
+ "x": 0,
154
+ "y": 0,
155
+ "z": 0
156
+ },
117
157
  "model_step_url": "test/fixtures/kicad-models/R_0603_1608Metric.step"
118
158
  },
119
159
  {
@@ -121,8 +161,16 @@
121
161
  "cad_component_id": "cad_component_resistor_3",
122
162
  "pcb_component_id": "pcb_component_resistor_3",
123
163
  "source_component_id": "source_component_resistor",
124
- "position": { "x": 6, "y": 14, "z": 0.8 },
125
- "rotation": { "x": 0, "y": 0, "z": 0 },
164
+ "position": {
165
+ "x": 6,
166
+ "y": 14,
167
+ "z": 0
168
+ },
169
+ "rotation": {
170
+ "x": 0,
171
+ "y": 0,
172
+ "z": 0
173
+ },
126
174
  "model_step_url": "test/fixtures/kicad-models/R_0603_1608Metric.step"
127
175
  },
128
176
  {
@@ -130,8 +178,16 @@
130
178
  "cad_component_id": "cad_component_switch",
131
179
  "pcb_component_id": "pcb_component_switch",
132
180
  "source_component_id": "source_component_switch",
133
- "position": { "x": 14, "y": 26, "z": 0.8 },
134
- "rotation": { "x": 0, "y": 0, "z": 0 },
181
+ "position": {
182
+ "x": 14,
183
+ "y": 26,
184
+ "z": 0
185
+ },
186
+ "rotation": {
187
+ "x": 0,
188
+ "y": 0,
189
+ "z": 0
190
+ },
135
191
  "model_step_url": "test/fixtures/kicad-models/Panasonic_EVQPUJ_EVQPUA.step"
136
192
  },
137
193
  {
@@ -139,8 +195,16 @@
139
195
  "cad_component_id": "cad_component_switch_2",
140
196
  "pcb_component_id": "pcb_component_switch_2",
141
197
  "source_component_id": "source_component_switch",
142
- "position": { "x": 14, "y": 20, "z": 0.8 },
143
- "rotation": { "x": 0, "y": 0, "z": 0 },
198
+ "position": {
199
+ "x": 14,
200
+ "y": 20,
201
+ "z": 0
202
+ },
203
+ "rotation": {
204
+ "x": 0,
205
+ "y": 0,
206
+ "z": 0
207
+ },
144
208
  "model_step_url": "test/fixtures/kicad-models/Panasonic_EVQPUJ_EVQPUA.step"
145
209
  },
146
210
  {
@@ -148,16 +212,32 @@
148
212
  "cad_component_id": "cad_component_pushbutton",
149
213
  "pcb_component_id": "pcb_component_pushbutton",
150
214
  "source_component_id": "source_component_pushbutton",
151
- "position": { "x": 10, "y": 32, "z": 0.8 },
152
- "rotation": { "x": 0, "y": 0, "z": 0 },
215
+ "position": {
216
+ "x": 10,
217
+ "y": 32,
218
+ "z": 0
219
+ },
220
+ "rotation": {
221
+ "x": 0,
222
+ "y": 0,
223
+ "z": 0
224
+ },
153
225
  "model_step_url": "test/fixtures/kicad-models/SW_Push_1P1T_NO_CK_KMR2.step"
154
226
  },
155
227
  {
156
228
  "type": "cad_component",
157
229
  "cad_component_id": "cad_component_switch_3",
158
230
  "pcb_component_id": "pcb_component_switch_3",
159
- "position": { "x": 14, "y": 14, "z": 0.8 },
160
- "rotation": { "x": 0, "y": 0, "z": 0 },
231
+ "position": {
232
+ "x": 14,
233
+ "y": 14,
234
+ "z": 0
235
+ },
236
+ "rotation": {
237
+ "x": 0,
238
+ "y": 0,
239
+ "z": 0
240
+ },
161
241
  "model_step_url": "test/fixtures/kicad-models/Panasonic_EVQPUJ_EVQPUA.step"
162
242
  }
163
243
  ]