ShapeInfo: remove some duplicate information

This commit is contained in:
DeepSOIC 2016-01-25 15:08:30 +03:00
parent 93e4827198
commit 2633d6aeae

View File

@ -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",