Skip to content

Commit

Permalink
missed some references
Browse files Browse the repository at this point in the history
  • Loading branch information
bbean23 committed Aug 10, 2024
1 parent df38169 commit a228de3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example/raytrace/example_RayTraceOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def _draw_helper(view: View3d) -> None:
pointing_vector = st.tracking_surface_normal_xyz(
heliostat_origin, aimpoint_xyz, lln.NSTTF_ORIGIN, when_ymdhmsz
)
view.draw_Vxyz(Vxyz.merge([heliostat_origin, heliostat_origin + pointing_vector * 10]))
Vxyz.merge([heliostat_origin, heliostat_origin + pointing_vector * 10]).draw_list(view)
# debug

self.show_save_and_check_figure(fig_record)
Expand Down
2 changes: 1 addition & 1 deletion example/solarfield/example_SolarFieldOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def example_solar_field_h_outlines(self) -> None:
code_tag=self.code_tag,
)
solar_field.draw(fig_record.view, solar_field_style)
fig_record.view.draw_Vxyz(aimpoint_xyz, style=rcps.marker(color='tab:orange'), label='aimpoint_xyz')
aimpoint_xyz.draw_list(fig_record.view, style=rcps.marker(color='tab:orange'), label='aimpoint_xyz')

# Output.
self.show_save_and_check_figure(fig_record)
Expand Down
6 changes: 3 additions & 3 deletions opencsp/common/lib/test/test_FluxMaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ def square(z: float):
mirror.draw(fig_record.view, mirror_style)
trace_style = rcrt.init_current_lengths(current_len=6)
trace.draw(fig_record.view, trace_style)
fig_record.view.draw_Vxyz(square(4), close=True, style=rcps.RenderControlPointSeq(color='b', marker=','))
fig_record.view.draw_Vxyz(square(5), close=True, style=rcps.RenderControlPointSeq(color='g', marker=','))
fig_record.view.draw_Vxyz(square(6), close=True, style=rcps.RenderControlPointSeq(color='r', marker=','))
square(4).draw_list(fig_record.view, close=True, style=rcps.RenderControlPointSeq(color='b', marker=','))
square(5).draw_list(fig_record.view, close=True, style=rcps.RenderControlPointSeq(color='g', marker=','))
square(6).draw_list(fig_record.view, close=True, style=rcps.RenderControlPointSeq(color='r', marker=','))
self.show_save_and_check_figure(fig_record)

# Draw z=4
Expand Down
2 changes: 1 addition & 1 deletion opencsp/common/lib/test/test_RayTraceOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def _draw_helper(view: View3d) -> None:
pointing_vector = st.tracking_surface_normal_xyz(
heliostat_origin, aimpoint_xyz, lln.NSTTF_ORIGIN, when_ymdhmsz
)
view.draw_Vxyz(Vxyz.merge([heliostat_origin, heliostat_origin + pointing_vector * 10]))
Vxyz.merge([heliostat_origin, heliostat_origin + pointing_vector * 10]).draw_list(view)
# debug

self.show_save_and_check_figure(fig_record)
Expand Down
2 changes: 1 addition & 1 deletion opencsp/common/lib/test/test_SolarFieldOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def old_solar_field_h_outlines(self) -> None:
code_tag=self.code_tag,
)
solar_field.draw(fig_record.view, solar_field_style)
fig_record.view.draw_Vxyz(aimpoint_xyz, style=rcps.marker(color='tab:orange'), label='aimpoint_xyz')
aimpoint_xyz.draw_list(fig_record.view, style=rcps.marker(color='tab:orange'), label='aimpoint_xyz')

# Output.
self.show_save_and_check_figure(fig_record)
Expand Down

0 comments on commit a228de3

Please sign in to comment.