- Thank you received: 0
Inbuilt method for EllipticCylinder (Python API)
- bhaveshshrimali
- Topic Author
- Offline
- Junior Member
Less
More
5 years 1 day ago #2150
by bhaveshshrimali
Inbuilt method for EllipticCylinder (Python API) was created by bhaveshshrimali
Hi all,
Is there a way to access the `EllipticCylinder` function (I can see it here ) from the python interface? Something along the following lines
```
from netgen.csg import *
Cylinder()
```
I am able to a lot of the primitives, specifically both `OrthoBrick` and `Cylinder` but not `EllipticCylinder`. Am I missing anything ?
Is there a way to access the `EllipticCylinder` function (I can see it here ) from the python interface? Something along the following lines
```
from netgen.csg import *
Cylinder()
```
I am able to a lot of the primitives, specifically both `OrthoBrick` and `Cylinder` but not `EllipticCylinder`. Am I missing anything ?
- bhaveshshrimali
- Topic Author
- Offline
- Junior Member
Less
More
- Thank you received: 0
5 years 1 day ago #2151
by bhaveshshrimali
Replied by bhaveshshrimali on topic Inbuilt method for EllipticCylinder (Python API)
I just did a brief check and found out that a binding for `EllipticCylinder` is missing (in the file below). Am I missing something here? I can access all other functions (`Cone`, `EllipticCone` etc.)
github.com/NGSolve/netgen/blob/951067014...c/csg/python_csg.cpp
github.com/NGSolve/netgen/blob/951067014...c/csg/python_csg.cpp
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
4 years 11 months ago #2154
by christopher
Replied by christopher on topic Inbuilt method for EllipticCylinder (Python API)
I think you can use an elliptic cone with ratio r=1 instead.
Best
Christopher
Best
Christopher
Time to create page: 0.111 seconds