Changes and Fixes
- add
settings.force_single_precision_points = False
in #1137 by @JeffreyWardman and @sean-d-zydex - fix Volume masking in #1146 by @ivishalanand
- fix
LegendBox
in #1153 by @GerritFischer - add
mesh.laplacian_diffusion()
- fix
DistanceTool
in #1158 - fix
shapes.Plane.normal
in #1159 by @smoothumut - add
Arrow.top_point()
andArrow.base_point()
to extract current arrow position #1163 @smoothumut - fix
Arrow.top_index
to produce the correct index value - add
assembly.Group.objects
by @smoothumut - add
addons.DrawingWidget
class for tracing on planar props - add
Video(..., scale=1)
keyword in #1168 by @YongcaiHuang - modify
legosurface(boundary=True)
default in #1166 - make load functions compatible with pathlib #1176 by @Louis-Pujol
- fixed broken link to example #1175 by @jo-mueller
- add documentation to
Mesh.boolean()
#1173 by @jkunimune - raise an error when calling cell_normals before compute_normals() #1172 by @jkunimune
- add documentation warning as computing normals can affect appearence of the mesh #1174 by @jkunimune
- add documentation about
Cube
andBox
having duplicated vertices to allow defining normals #1171 - add documentation do address the behaviour of
mesh.volume()
andmesh.is_closed()
wrt duplicated vertices. - add
plotter.reset_clipping_range()
to reset the camera clipping range based on the bounds of the visible actors #1170 - fix issue with find_cell() in #1095
- improvements to
volume.isosurface_discrete()
in #1180 by @snownontrace - fix bug on video frame by resetting camera clipping range in #1180 by @snownontrace
- changes in the scalarbar2d object.
- fix purging of nan in pyplot.plot()
- fix line trace to skip first point
- adjust volume transfer function for transparency @Poisoned
- fixing axes type 10 by @Poisoned
- improvements to input/output functionality for Assembly @ttsesm
- added
mesh.remove_all_lines()
method - added keyword
Plane(edge_direction=...)
by @smoothumut - added
isolines(..., n=list())
option to pass specific values. - in
file_io.screenshot()
add fourth channel representing trasparency @miek0tube - remove obsolete class
CellCenters
which is now functionobject.cell_centers()
Changes from PR:
- Prevent merging close vertices when converting to Trimesh by @Linus-Foley in #1160
- Update assembly.py by @smoothumut in #1162
- Update assembly.py by @smoothumut in #1165
- raise an error when calling cell_normals before compute_normals() by @jkunimune in #1172
- add documentation to Mesh.boolean() by @jkunimune in #1173
- fixed broken link to example by @jo-mueller in #1175
- make load functions compatible with pathlib by @Louis-Pujol in #1176
- Update volume.py by @Poisoned in #1205
- Update plotter.py by @Poisoned in #1209
Soft-breaking Changes
Changes that may break existing code whose fixing is trivial:
- change
object.points()
toobject.points
everywhere. - change
object.cell_centers
toobject.cell_centers().points
everywhere. - change
Picture()
toImage()
everywhere.
Hard-breaking Changes
Changes that will break existing code and need active thinking and some work to adapt
- None
New/Revised Examples
examples/advanced/spline_draw2.py
examples/volumetric/isosurfaces2.py
examples/pyplot/fit_curve2.py
tests/issues/issue_1146.py
tests/issues/discussion_1190.py
tests/issues/test_sph_harm2.py
tests/issues/issue_1218.py
tests/snippets/test_interactive_plotxy1.py
tests/snippets/test_interactive_plotxy2.py
tests/snippets/test_elastic_pendulum.py
New Contributors
- @Linus-Foley made their first contribution in #1160
- @smoothumut made their first contribution in #1162
- @jkunimune made their first contribution in #1172
- @Poisoned made their first contribution in #1205
Full Changelog: v2024.5.2...v2025.5.3