Skip to content

Commit bca41ad

Browse files
committed
type ignore
1 parent 1815970 commit bca41ad

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

commands/RV_form.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def RunCommand():
5454

5555
pattern.show = False
5656

57-
session.scene.add(formdiagram, name=formdiagram.name)
58-
session.scene.add(thrustdiagram, name=thrustdiagram.name, show=False)
57+
session.scene.add(formdiagram, name=formdiagram.name) # type: ignore
58+
session.scene.add(thrustdiagram, name=thrustdiagram.name, show=False) # type: ignore
5959
session.scene.redraw()
6060
rs.Redraw()
6161

commands/RV_form_modify.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def RunCommand():
4343
return
4444

4545
if thrust:
46-
thrust.show_vertices = False
46+
thrust.show_vertices = False # type: ignore
4747
thrust.redraw_vertices()
4848

4949
if action == "Add":
@@ -74,7 +74,7 @@ def RunCommand():
7474

7575
elif option == "BoundarySupports":
7676
if thrust:
77-
thrust.show_vertices = False
77+
thrust.show_vertices = False # type: ignore
7878
thrust.redraw_vertices()
7979

8080
form.show_vertices = list(form.diagram.vertices_where(is_support=True, is_vertex_internal=False))
@@ -161,7 +161,7 @@ def RunCommand():
161161
forcediagram.update_angle_deviations()
162162
# forcediagram.solve_fd() # this is very experimental
163163

164-
force.diagram = forcediagram
164+
force.diagram = forcediagram # type: ignore
165165

166166
# =============================================================================
167167
# Update scene
@@ -177,9 +177,9 @@ def RunCommand():
177177
form.show_faces = False
178178

179179
if RECREATE_FORCE:
180-
force.show_edges = True
181-
force.show_faces = False
182-
force.show_vertices = True
180+
force.show_edges = True # type: ignore
181+
force.show_faces = False # type: ignore
182+
force.show_vertices = True # type: ignore
183183

184184
session.scene.redraw()
185185

0 commit comments

Comments
 (0)