mirror of https://codeberg.org/topola/topola.git
dsn: don't divide widths and clearances by 100
This commit is contained in:
parent
7a02877eb4
commit
e5829d929a
|
|
@ -17,8 +17,8 @@ pub struct DsnRule {
|
||||||
impl DsnRule {
|
impl DsnRule {
|
||||||
fn from_dsn(rule: &super::structure::Rule) -> Self {
|
fn from_dsn(rule: &super::structure::Rule) -> Self {
|
||||||
Self {
|
Self {
|
||||||
width: rule.width as f64 / 100.0,
|
width: rule.width as f64,
|
||||||
clearance: rule.clearance_vec[0].value as f64 / 100.0, // picks the generic clearance only for now
|
clearance: rule.clearance_vec[0].value as f64, // picks the generic clearance only for now
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue