ShapeInfo: remove some duplicate information
This commit is contained in:
parent
93e4827198
commit
2633d6aeae
|
@ -84,8 +84,6 @@ class ShapeInfoFeature:
|
||||||
self.transplant_all_attributes(selfobj,sh,"Shape", withdraw_set= set(["ShapeType", "Content", "Module", "TypeId"]))
|
self.transplant_all_attributes(selfobj,sh,"Shape", withdraw_set= set(["ShapeType", "Content", "Module", "TypeId"]))
|
||||||
|
|
||||||
if sh.ShapeType == "Face":
|
if sh.ShapeType == "Face":
|
||||||
self.assignProp(selfobj,"App::PropertyFloat","Area",sh.Area)
|
|
||||||
|
|
||||||
typelist = ["BSplineSurface",
|
typelist = ["BSplineSurface",
|
||||||
"BezierSurface",
|
"BezierSurface",
|
||||||
"Cone",
|
"Cone",
|
||||||
|
@ -108,8 +106,6 @@ class ShapeInfoFeature:
|
||||||
|
|
||||||
self.transplant_all_attributes(selfobj,surf,"Face")
|
self.transplant_all_attributes(selfobj,surf,"Face")
|
||||||
elif sh.ShapeType == "Edge":
|
elif sh.ShapeType == "Edge":
|
||||||
self.assignProp(selfobj,"App::PropertyFloat","Length",sh.Length)
|
|
||||||
|
|
||||||
typelist = ["Arc",
|
typelist = ["Arc",
|
||||||
"ArcOfCircle",
|
"ArcOfCircle",
|
||||||
"ArcOfEllipse",
|
"ArcOfEllipse",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user