diff --git a/example/raytrace/example_RayTraceOutput.py b/example/raytrace/example_RayTraceOutput.py index 5829344d7..2ed3ba84d 100644 --- a/example/raytrace/example_RayTraceOutput.py +++ b/example/raytrace/example_RayTraceOutput.py @@ -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) diff --git a/example/solarfield/example_SolarFieldOutput.py b/example/solarfield/example_SolarFieldOutput.py index 516dbb08f..b1139389c 100644 --- a/example/solarfield/example_SolarFieldOutput.py +++ b/example/solarfield/example_SolarFieldOutput.py @@ -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) diff --git a/opencsp/common/lib/test/test_FluxMaps.py b/opencsp/common/lib/test/test_FluxMaps.py index f0c661b9e..543ff00a9 100644 --- a/opencsp/common/lib/test/test_FluxMaps.py +++ b/opencsp/common/lib/test/test_FluxMaps.py @@ -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 diff --git a/opencsp/common/lib/test/test_RayTraceOutput.py b/opencsp/common/lib/test/test_RayTraceOutput.py index bfd8f66c7..7217018c3 100644 --- a/opencsp/common/lib/test/test_RayTraceOutput.py +++ b/opencsp/common/lib/test/test_RayTraceOutput.py @@ -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) diff --git a/opencsp/common/lib/test/test_SolarFieldOutput.py b/opencsp/common/lib/test/test_SolarFieldOutput.py index d323f3bb0..87ab43cb9 100644 --- a/opencsp/common/lib/test/test_SolarFieldOutput.py +++ b/opencsp/common/lib/test/test_SolarFieldOutput.py @@ -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)