Iota Python API
1.0.0
1.0.0
  • Introduction
  • Getting started with Iota Python Library and Iota IPython Terminal
    • Starting a Session
    • Creating a New Project
    • Loading a Project
    • Creating a New Scenario
    • Loading a Scenario
    • Importing a Dataset
    • Running Coarse-graining
  • Writing Scripts
    • Generic Scripts
    • Run(scenario) Scripts
  • Running Scripts
    • Running Generic Scripts
    • Running run(scenario) Scripts
  • Iota Python Reference Library
    • Datasets
    • Graphs
    • Scene renderer
    • Meshing
    • Variable types
    • Session
    • Project
    • Scenario
    • Graph
    • Dataset
    • Mesh
    • Script
    • File
    • Auxiliar
    • Enums
  • Examples
    • Creating a New Project
    • Creating a New Scenario
    • Creating Multiple Scenarios
    • Loading a Project and a Scenario
    • Importing a Dataset into a Scenario
    • Importing Multiple Datasets into different Scenarios
    • Creating a Cut-Plane with Results in a Dataset
    • Creating a New Result in a Dataset
    • Calculating a KPI and Exporting into a Graph
    • Getting the Profile of Result along a Line
    • Creating Multiple Result Line Variations and Plotting them in a Single Graph
    • Integrating a Result over a Mesh
    • Getting the Evolution of the Statistics of a Result
    • Creating Multiple Screenshots of a Dataset
    • Creating Multiple Videos of a Dataset
    • Cloninig Settings and Running Coarse-graining for Multiple Scenarios
    • Automating EDEM Simulations runs and Iota Analyses
Powered by GitBook
On this page
  • Methods
  • delete()
  • Static methods
  • load(filepath)

Was this helpful?

  1. Iota Python Reference Library

Mesh

PreviousDatasetNextScript

Last updated 5 years ago

Was this helpful?

iota.session.Mesh()

Description Iota Mesh object.

Methods

Static Methods

Variables

  • name (str) mesh name

  • description (str) mesh description

  • id (int) mesh Id

  • filetype (str) mesh file type

Methods

Delete mesh from the system

Example

mesh_record = my_scenario.get_mesh('my_mesh')
mesh_record.delete()

Static methods

Note: As static method, this function allows to load any mesh. The example shows how to use it for loading the current mesh object.

Arguments

  • filepath: (str) mesh file path

Example

mesh_data = mesh.load(
  filepath = mesh.record.filepath
  )
print('Number of vertices in the mesh: {}'.format(mesh_data.vertices())

Load a mesh from disk Returns a Mesh class of type

iota.meshing.Mesh
delete
load
delete()
load(filepath)