thinplatespline | Python library for thin plate spline calculations | Data Manipulation library
kandi X-RAY | thinplatespline Summary
kandi X-RAY | thinplatespline Summary
Python library for thin plate spline calculations
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of thinplatespline
thinplatespline Key Features
thinplatespline Examples and Code Snippets
Community Discussions
Trending Discussions on thinplatespline
QUESTION
I'm trying to use the thin plates morphing function from vedo to warp a volumetric mesh. But I have not been successful. I even tried using a surface mesh for debugging but that didn't work either. Below is the original example provided by vedo.
...ANSWER
Answered 2021-Jul-12 at 10:17There were two issues with my code. As expected, the problem was in the way the Sources and Targets were defined.
Both Sources and Targets had to be created using the
.tolist()
method.The Targets array that was imported from a ( .mat ) file had to be reshaped with a Fortran-like index order using
Targets = (Targets.reshape((length,3), order='F'))
Targets = Targets.tolist()
Another point is that I had to use a reduced number of Sources and Targets
for x in range(0, len(Targets), 50):
targets.append(Targets[x])
The result can be found through this link.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install thinplatespline
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page