Skip to content

v2021.0.6

Compare
Choose a tag to compare
@marcomusy marcomusy released this 05 Oct 19:20
· 1212 commits to master since this release

Main changes

  • various fixes

base.py

  • introduced new sintax to set/retrieve a mesh point data array: myobj.pointdata["arrayname"]
    same for cell/face data: myobj.celldata["arrayname"]

addons.py

  • added kword LegendBox(markers=...)
  • added kword Slider2D(delayed=True) to act upon mouse release

colors.py

  • fixed small bug in colorMap (only affecting systems without matplotlib)

mesh.py

  • fixed problem in geodesic().
  • added tolerance keyword in intersectWithLine(). Also, now returnIds returns [[pt,cellid]]
  • added kword flag to function merge(..., flag=True) to optionally keep track of the original meshes ids

picture.py

  • added .enhance() method.
  • method .tonumpy() reshape to [nx,ny,nchannels] to match matplotlib standard
  • added .append() to stitch images the current to the left or to the top.
  • added .extent() to specify physical extention of an image.

pointcloud.py

  • cluster() renamed to pointcloud.addClustering()
  • added voronoi() function

New/Revised examples:

vedo -r optics_main1
vedo -r optics_main2
vedo -r optics_main3
vedo -r warp4
vedo -r voronoi
vedo -r drag_chain
vedo -r morphomatics_tube