You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A dangerous bug in mesh.closestPoint(returnIds=True) has been fixed
Added interfaces and examples to libraries iminuit
and pymeshlab
variable datadir changed to dataurl
added ipyvtk_simple option for notebooks rendering
base.py
method addPos() (obsolete but still valid) renamed to shift()
added shortcut to input the opacity with syntax mesh.color("blue", 0.5)
arrays with name "Normals" are set as active normals automatically ( @theponpon )
added keyword invert in getTransform() ( @Tai-Hsien )
added deleteCells() method
addons.py
added mesh cutter with planes and spheres in addition to boxes ( @nantille )
major revision of the Axes class. with new added feature like axes inversion, free rotations
keyword xFlipText disappeared as is now substituted by xLabelRotation
Added xyShift to shift the whole cartesian plane along one axis ( @JGarrett7 )
Axes can be flipped with their range with xInverted (caveat: this does not at all affect the world coordinate system!)
new class LegendBox to show a legend with icons
colors.py
vedo is now independent of matplotlib for colormaps
added new bootstrap5 color scheme
(e.g. c='red1', 'red2', ..., 'red9', or in short: c='r1', 'r2', ..., 'r9')
Lower index means darker.
added rgb2hex() and hex2rgb() functions
fixed bug on printc() and added settings.enablePrintColor. #337
mesh.py
fixed bug in splitByConnectivity() ( @jsanchez679 )
added method addConnectivity() to add a connectivity array to mesh points
added method isClosed() ti return if mesh is watertight (no holes)
plotter.py
improved resetcam behaviour
passing camera no more empties the passed dictionary (thanks @icemtel )
verbose keyword has been removed (as hard to maintain)
mouse clicking can now pick Picture not only Mesh
revised and improved callback functionality with plotter.addCallback()
(see examples mousehighlight, mousehover)
new way of creating a callback loop with a timer (thanks @nantille - see examples timer_callback)
picture.py
attribute picture.shape holds the shape of the picture in pixels
added gif file reader to return a list of Picture objs.
added clone() method.
pointcloud.py
added fitCircle() to fit a circle to a line in 3D.
added a revision of self.densify(). Removed densifyCloud(). #338
pyplot.py
a brand new function fit() to perform polynomial fitting to data with error bars in both x and y with correct estimation of error bands via bootstrap method (there are out there soo many wrong scripts in matplotlib!)
added pyplot.matrix() to plot numpy matrices (eg. correlation/covariance matrix)
various minor fixes
shapes.py
Spline can control the easing, the density of points along the line.
support for closed splines.
Text2D completely rewritten. Can now update it after creation (e.g. mytxt.text("test").color("g"))
volume.py
added volume.shade() which can be True or False. Disable by default (was previously enabled)
to be used in conjunction with volume.lighting() to create a mesh-like rendering of the volume.
(thanks to @nantille for debugging)
fixed example interpolateVolume (thanks @rafaelmarch3 )