Tools to create FFD operator from point cloud.
Project description
PyFFD
PyFFD is an open-source Free Form Deformation (FFD) library.
Code
Quick start
(1) Define a FEM mesh :
n = np.array([[x0, y0], [x1, y1], ...])
(2) Define the elements size and degree for the B-Spline box in each direction :
# Element size per directions
size = [size_x, size_y]
# global setting
size = 0.1 # example
# Element degree per directions
deg = [deg_x, deg_y]
# global setting
deg = 3 # example
(3) Create the B-Spline box python object :
sbox = pf.FFD(n, size, deg)
(4) Compute the FFD opperator $R_s$ :
Rs = sbox.OperatorFFD()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyFFD-0.1.5.tar.gz
(9.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
PyFFD-0.1.5-py3-none-any.whl
(9.9 kB
view details)
File details
Details for the file PyFFD-0.1.5.tar.gz.
File metadata
- Download URL: PyFFD-0.1.5.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
307aba62451dba6e76b0e21a0f3495a14a750f3380fcc0dd00efd69f0e799f94
|
|
| MD5 |
b7dc9696f1727089472b575455633d26
|
|
| BLAKE2b-256 |
f06e4e5f60405c11088acb206c947fbf498f0d352a495288839210b7f7025fca
|
File details
Details for the file PyFFD-0.1.5-py3-none-any.whl.
File metadata
- Download URL: PyFFD-0.1.5-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3858b1791b395522867fd318d05c12b1a9e254f6f958612cc77b0316a64993c1
|
|
| MD5 |
c9358fff1a0329945104f459c8c6ea34
|
|
| BLAKE2b-256 |
d2fb5fa7e271ae829ac4ac7b7e0086127c5fa07b5e8efe24a43a4aea5c64ab04
|