SurfaceCollection

class rips.SurfaceCollection(pb2_object=None, channel=None)

Bases: rips.pdmobject.PdmObjectBase

surface_user_decription

Name

Type:str

Methods Summary

add_folder([folder_name]) Add a new surface folder
import_surface([file_name]) Import a new surface from file
new_surface([case, k_index]) Create a new surface
sub_collections() Surfaces
surfaces_field() Surfaces

Methods Documentation

add_folder(folder_name='Surfaces')

Add a new surface folder

Parameters:folder_name (str) -- New surface folder name
Returns:SurfaceCollection
import_surface(file_name='')

Import a new surface from file

Parameters:file_name (str) -- Filename to import surface from
Returns:Surface
new_surface(case='', k_index=-1)

Create a new surface

Parameters:
  • case (Case) --
  • k_index (int) --
Returns:

GridCaseSurface

sub_collections()

Surfaces

Returns:List of SurfaceCollection
surfaces_field()

Surfaces

Returns:List of SurfaceInterface