Skip to main content

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()

Metadata

Release files for PyFFD 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyFFD 0.1.5
File Size Uploaded
PyFFD-0.1.5.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyFFD 0.1.5
File Interpreter ABI Platform
PyFFD-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / PyFFD-0.1.5.tar.gz

Download URL PyFFD-0.1.5.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
307aba62451dba6e76b0e21a0f3495a14a750f3380fcc0dd00efd69f0e799f94
BLAKE2b-256 checksum
How to use checksums
f06e4e5f60405c11088acb206c947fbf498f0d352a495288839210b7f7025fca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / PyFFD-0.1.5-py3-none-any.whl

Download URL PyFFD-0.1.5-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3858b1791b395522867fd318d05c12b1a9e254f6f958612cc77b0316a64993c1
BLAKE2b-256 checksum
How to use checksums
d2fb5fa7e271ae829ac4ac7b7e0086127c5fa07b5e8efe24a43a4aea5c64ab04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page