+ # Creates sub-mesh of the mesh, created by constructor.
+ # This sub-mesh will be created on edge <edge> and propagate the hypothesis on all correspondant edges.
+ # Set algorithm and hypothesis for 1D discretization of the <edge> and all other propagate edges:
+ # - algorithm "Regular_1D"
+ # - hypothesis "NumberOfSegments" with number of segments <n>
+ # - hypothesis "Propagation" with number of segments <n>
+ # Note: the <edge> will be automatically published in study under the shape, given in constructor.
+ # --------------------
+
+ def Propagate(self, edge, n):
+ geompy.addToStudyInFather(self.piece, edge, geompy.SubShapeName(edge, self.piece))
+ submesh = self.mesh.GetSubMesh(edge, self.name+"/SubMeshEdge/"+str(self.cpt))
+ self.Mesh1D(edge, n, 1)
+