Skip to content

Commit 9379d7c

Browse files
authored
Getting started: show fiber direction instead of reference direction (#816)
Plot the `fiber_direction` instead of `reference_direction` in the getting started, to match the text description.
1 parent d9106e3 commit 9379d7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/source/getting_started.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Or to show the thickness of a modeling ply or fiber directions:
170170

171171
modeling_ply.elemental_data.thickness.get_pyvista_mesh(mesh=plate_cdb_model.mesh).plot()
172172
plotter = pyacp.get_directions_plotter(
173-
model=plate_cdb_model, components=[modeling_ply.elemental_data.reference_direction]
173+
model=plate_cdb_model, components=[modeling_ply.elemental_data.fiber_direction]
174174
)
175175
plotter.show()
176176

examples/modeling_features/031-imported-solid-model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
# To avoid this, you can use the ``.extract_surface(nonlinear_subdivision=0)`` call
9696
# to extract a linearized surface.
9797
# Alternatively, you can use ``.separate_cells().extract_feature_edges()`` to
98-
# obtain the edges as a separate PyVista :py:class:`.PolyData` object.
98+
# obtain the edges as a separate :py:class:`pyvista.PolyData` object.
9999
#
100100
# For more information, see this PyVista discussion:
101101
# https://github.com/pyvista/pyvista/discussions/5777

0 commit comments

Comments
 (0)