Skip to content

Commit 90dab7c

Browse files
NikolausKurczhiaselhans
authored andcommitted
change rib polygon_group_name
1 parent bc11447 commit 90dab7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openglider/glider/rib/rib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def get_mesh(self, hole_num: int=10, filled: bool=False, max_area: float=None) -
240240
points = self.align_all(euklid.vector.PolyLine2D(mesh.points))
241241
boundaries = {self.name: list(range(len(mesh.points)))}
242242

243-
rib_mesh = Mesh.from_indexed(points.nodes, polygons={"ribs": [(tri, {}) for tri in mesh.elements]} , boundaries=boundaries)
243+
rib_mesh = Mesh.from_indexed(points.nodes, polygons={self.name: [(tri, {}) for tri in mesh.elements]} , boundaries=boundaries)
244244

245245
for hole in self.holes:
246246
if hole_mesh := hole.get_mesh(self):

0 commit comments

Comments
 (0)