# cst-modeling
Surface and curve modeling via CST (class shape transformation) method
The curves, e.g., foil’s upper and lower surface, are constructed via CST method.
The multi-section surface is interpolated from several control sections.
## Modules
### foil
Section class:
This is a class for control sections.
The section stores unit 2D curves of upper and lower surface (xx, yu, yl) and CST coefficients (cst_u, cst_l). The 3D curve (x, y, z) is generated from the 2D curves. It starts from the lower surface trailing edge and ends at the upper surface trailing edge. The 3D curve is still a plane curve, the leading edge location (xLE, yLE, zLE), chord length, twist angle (deg), maximum relative thickness, relative tail thickness are defined by user.
Supportive functions:
There are several functions dealing with curves.
[curve_curvature] get curvature of a curve [transform] 2D curve’s translation, scale, rotation in z-axis [rotate] 3D curve’s rotation defined by given origin, angle and axis [stretch_fixed_point] linearly stretch a curve with certain fixed point [output_foil] output the airfoil/curve in tecplot format
### surface
Surface class:
This is a class for multi-section surface.
[__init__] number of control sections, cst parameters of each curve must be specified immediately [read_setting] layout and cst parameters can be read in from a control file [geo] the function of generating curves and surfaces [add_sec] add sections to the surface, the new sections are interpolated from current ones [flip] mirror the surface by certain plane, or rotate 90 deg by certain axis [bend] bend the surface in x-axis and y-axis, also can rotate sections in x-axis [smooth] smooth the surface [toCylinder] convert the plane curves to curves on cylinders (for turbomachinery) [fromCylinder] convert curves on cylinder to plane curves [plot] show the surface [output_tecplot] output surface in tecplot format [output_plot3d] output surface in plot3d format
Metadata
Release files for cst-modeling3d 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cst_modeling3d-0.1.tar.gz | 14.5 kB | Without provenance | Details for cst_modeling3d-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cst_modeling3d-0.1-py3-none-any.whl | Python 3 | none | any | Details for cst_modeling3d-0.1-py3-none-any.whl |
Total release size: 30.1 kB
Release files / cst_modeling3d-0.1.tar.gz
| Download URL | cst_modeling3d-0.1.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07ed136eea0d082b0bca9847db85730a333e6471631c425f6916844b1a6c49c9
|
|
BLAKE2b-256 checksum How to use checksums |
b6fd64c83d9a78aa183299604225fa22cc8d6ca08ca3e3a47650e4bdbfdf0a14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / cst_modeling3d-0.1-py3-none-any.whl
| Download URL | cst_modeling3d-0.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0cbebf1f6ed79e5be3a77cc37dcd89d4a11375f3573f2e35a8230d45dd708db
|
|
BLAKE2b-256 checksum How to use checksums |
3930055b0e4cce9f050f39ace87bb2eb578da9ee93a532c0c45a6df0aa6b3ed7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for cst-modeling3d 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.