Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Inbuilt method for EllipticCylinder (Python API)

More
4 years 4 months ago #2150 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 ?
More
4 years 4 months ago #2151 by bhaveshshrimali
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
More
4 years 4 months ago #2154 by christopher
I think you can use an elliptic cone with ratio r=1 instead.
Best
Christopher
Time to create page: 0.147 seconds