T
tscircuit3mo ago
Abse

sparkfun board

sparkfun board
12 Replies
Abse
AbseOP3mo ago
@Seve I have few questions about a board but first are we using the metric fp as default ?
return (v: any) => {
if (Object.keys(target).length === 0) {
if (`${prop}${v}` in FOOTPRINT_FN) {
target[`${prop}${v}`] = true
target.fn = `${prop}${v}`
} else {
target[prop] = true
target.fn = prop
if (prop === "res" || prop === "cap") {
if (v) {
target.imperial = v // res0402, cap0603 etc.
}
} else {
target.num_pins = Number.isNaN(Number.parseFloat(v))
? undefined
: Number.parseFloat(v)
}
}
return (v: any) => {
if (Object.keys(target).length === 0) {
if (`${prop}${v}` in FOOTPRINT_FN) {
target[`${prop}${v}`] = true
target.fn = `${prop}${v}`
} else {
target[prop] = true
target.fn = prop
if (prop === "res" || prop === "cap") {
if (v) {
target.imperial = v // res0402, cap0603 etc.
}
} else {
target.num_pins = Number.isNaN(Number.parseFloat(v))
? undefined
: Number.parseFloat(v)
}
}
as you see here we are making everything to use imperial , and if we are using metric as a default I can fix it but what should we do when we want to pick imperial
Abse
AbseOP3mo ago
in this board we have this hole which is connected to the vcc net on the schematic side it only shows the net , how can we use a hole and connect it to a net to route + it has no sch representation
No description
No description
Seve
Seve3mo ago
any of the 0402, 0603, 0805 etc. should refer to imperial by default where do you see that the hole is connected to a net? holes aren't generally conductive, so they can't be connected to a net. But if a hole is connected, it may be a plated hole
Abse
AbseOP3mo ago
yeah I mean a plated hole mb , the issue we don't have such a component right ? I can do this but it's a hack
<testpoint
name="VCC_P2"
footprint="pinrow1_od1.016_id0.508_nosquareplating"
cadModel={null}
pcbY={4.7}
symbolName="vcc"
schRotation={90}
/>
<testpoint
name="VCC_P2"
footprint="pinrow1_od1.016_id0.508_nosquareplating"
cadModel={null}
pcbY={4.7}
symbolName="vcc"
schRotation={90}
/>
Seve
Seve3mo ago
are you referring to these holes?
No description
Seve
Seve3mo ago
i would ignore those in the short term because they're supposed to be added as part of autorouting
Abse
AbseOP3mo ago
even this ?
No description
Seve
Seve3mo ago
yea, they're big because they carry power
Abse
AbseOP3mo ago
so ignore for now ?
Seve
Seve3mo ago
yep, blame the autorouter 😁
Abse
AbseOP3mo ago
how about metric , how should we do it like 0402_metric or smth?
Seve
Seve3mo ago
yea 0402_metric should work

Did you find this page helpful?