set global link scope of surface features

This commit is contained in:
wmayer
2017-11-27 22:11:13 +01:00
parent 3e921cbda5
commit 58a55aeebf
4 changed files with 10 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ PROPERTY_SOURCE(Surface::Cut, Part::Feature)
Cut::Cut()
{
ADD_PROPERTY(ShapeList,(0,"TopoDS_Shape"));
ShapeList.setScope(App::LinkScope::Global);
}
//Check if any components of the surface have been modified

View File

@@ -71,6 +71,12 @@ Filling::Filling()
ADD_PROPERTY_TYPE(MaximumDegree,(8), "Filling", App::Prop_None, "Maximum curve degree");
ADD_PROPERTY_TYPE(MaximumSegments,(9), "Filling", App::Prop_None, "Maximum number of segments");
BoundaryEdges.setScope(App::LinkScope::Global);
UnboundEdges.setScope(App::LinkScope::Global);
FreeFaces.setScope(App::LinkScope::Global);
Points.setScope(App::LinkScope::Global);
InitialFace.setScope(App::LinkScope::Global);
BoundaryEdges.setSize(0);
BoundaryFaces.setSize(0);
BoundaryOrder.setSize(0);

View File

@@ -131,6 +131,7 @@ GeomFillSurface::GeomFillSurface(): Spline()
ADD_PROPERTY(FillType, ((long)0));
ADD_PROPERTY(BoundaryList, (0, "Dummy"));
FillType.setEnums(FillTypeEnums);
BoundaryList.setScope(App::LinkScope::Global);
}

View File

@@ -49,6 +49,8 @@ Sewing::Sewing()
ADD_PROPERTY_TYPE(DegenerateShape,(true), "Sewing", App::Prop_None, "Analysis of degenerated shapes");
ADD_PROPERTY_TYPE(CutFreeEdges,(true), "Sewing", App::Prop_None, "Cutting of free edges");
ADD_PROPERTY_TYPE(Nonmanifold,(false), "Sewing", App::Prop_None, "Non-manifold processing");
ShapeList.setScope(App::LinkScope::Global);
}
short Sewing::mustExecute() const