From 2633d6aeaec13b1c2b28477814c73e57706e01f0 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Mon, 25 Jan 2016 15:08:30 +0300 Subject: [PATCH] ShapeInfo: remove some duplicate information --- lattice2ShapeInfoFeature.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lattice2ShapeInfoFeature.py b/lattice2ShapeInfoFeature.py index 3514166..b859f3a 100644 --- a/lattice2ShapeInfoFeature.py +++ b/lattice2ShapeInfoFeature.py @@ -84,8 +84,6 @@ class ShapeInfoFeature: self.transplant_all_attributes(selfobj,sh,"Shape", withdraw_set= set(["ShapeType", "Content", "Module", "TypeId"])) if sh.ShapeType == "Face": - self.assignProp(selfobj,"App::PropertyFloat","Area",sh.Area) - typelist = ["BSplineSurface", "BezierSurface", "Cone", @@ -108,8 +106,6 @@ class ShapeInfoFeature: self.transplant_all_attributes(selfobj,surf,"Face") elif sh.ShapeType == "Edge": - self.assignProp(selfobj,"App::PropertyFloat","Length",sh.Length) - typelist = ["Arc", "ArcOfCircle", "ArcOfEllipse",