forked from 1b-agent/opencadstudio-upstream
Retain planar measurement validation in the division branch
This commit is contained in:
1 parent
8979fa46c2
commit
2b2f4be5cf
1 file changed
+1
@@ -219,6 +219,7 @@ pub fn measure_entity(entity: &EntityType, segment_length: f64) -> Vec<EntityTyp
|
||||
return vec![];
|
||||
};
|
||||
let total = curve.length();
|
||||
if !total.is_finite() || total <= 1e-10 { return vec![]; }
|
||||
let mut pts = Vec::new();
|
||||
let mut walked = segment_length;
|
||||
while walked < total - 1e-6 {
|
||||
|
||||
Reference in new issue
Block a user