PoreMS 0.3
  • API
  • Molecule
  • Pore
  • Workflow
  • Pore shape examples
  • Site
    • Page
        • PoreKit.shape_cylinder
          • PoreKit.shape_cylinder()
    • PoreKit.shape_cylinder
      • PoreKit.shape_cylinder()
    Source

    PoreKit.shape_cylinder¶

    PoreKit.shape_cylinder(diam, length=0, centroid=[], central=[0, 0, 1])¶

    Add cylindrical shape

    Parameters:
    diamfloat

    Cylinder diameter

    lengthfloat, optional

    length of cylindrical shape leave zero for full length

    centroidlist, optional

    Cylinder centroid - leave zero for system centroid

    centrallist, optional

    Central axis for cylinder

    Returns:
    shapelist

    Shape type (pos 0) and shape (pos 1)

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.