g3d.mesh.geo.region package
Submodules
g3d.mesh.geo.region.block_region module
BlockRegion class definition
- class g3d.mesh.geo.region.block_region.BlockRegion(*args: Any, **kwargs: Any)[source]
Bases:
PrismRegion- Attributes:
alpha- return:
beta- return:
ialt- return:
length- return:
tagtag (string) used for identification
width- return:
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- copy(r: BlockRegion) None[source]
copies data from specified entity input: entity example: copy(e)
- set_from_key_value(key: str, value: Any) bool[source]
sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: ‘tag’ example: set_from_key_value(key, value)
- property width: float
return:
g3d.mesh.geo.region.box_region module
BoxRegion class definition
- class g3d.mesh.geo.region.box_region.BoxRegion(*args: Any, **kwargs: Any)[source]
Bases:
RegionMethods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- property dx: float
return:
- property dy: float
return:
- property dz: float
return:
g3d.mesh.geo.region.cylinder_region module
CylinderRegion class definition
- class g3d.mesh.geo.region.cylinder_region.CylinderRegion(*args: Any, **kwargs: Any)[source]
Bases:
PrismRegion- Attributes:
alpha- return:
beta- return:
ialt- return:
length- return:
radius- return:
tagtag (string) used for identification
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- copy(r: CylinderRegion) None[source]
copies data from specified entity input: entity example: copy(e)
- property radius: float
return:
g3d.mesh.geo.region.ijk_region module
IJKRegion class definition
- class g3d.mesh.geo.region.ijk_region.IJKRegion(*args: Any, **kwargs: Any)[source]
Bases:
Region- Attributes:
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
get_def()print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_def(im, i1, i2, j1, j2, k1, k2[, it])set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- property i1: int
return:
- property i2: int
return:
- property im: int
return:
- property it: int
return:
- property j1: int
return:
- property j2: int
return:
- property k1: int
return:
- property k2: int
return:
- property nc: int
return:
- property ni: int
return:
- property nj: int
return:
- property nk: int
return:
- property np: int
return:
g3d.mesh.geo.region.prism_region module
PrismRegion class definition
- class g3d.mesh.geo.region.prism_region.PrismRegion(*args: Any, **kwargs: Any)[source]
Bases:
Region- Attributes:
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- property alpha
return:
- property beta
return:
- copy(r: PrismRegion) None[source]
copies data from specified entity input: entity example: copy(e)
- property ialt
return:
- property length
return:
g3d.mesh.geo.region.region module
Region class definition (base class - generic region placeholder)
- class g3d.mesh.geo.region.region.Region(*args: Any, **kwargs: Any)[source]
Bases:
G3DEntity- Attributes:
tagtag (string) used for identification
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
g3d.mesh.geo.region.sphere_region module
SphereRegion class definition
- class g3d.mesh.geo.region.sphere_region.SphereRegion(*args: Any, **kwargs: Any)[source]
Bases:
Region- Attributes:
radius- return:
tagtag (string) used for identification
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- copy(r: SphereRegion) None[source]
copies data from specified entity input: entity example: copy(e)
- property radius: float
return:
g3d.mesh.geo.region.xyz_region module
XYZRegion class definition
- class g3d.mesh.geo.region.xyz_region.XYZRegion(*args: Any, **kwargs: Any)[source]
Bases:
Region- Attributes:
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- set_from_key_value(key: str, value: Any) bool[source]
sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: ‘tag’ example: set_from_key_value(key, value)
- property x1: float
return:
- property x2: float
return:
- property y1: float
return:
- property y2: float
return:
- property z1: float
return:
- property z2: float
return:
Module contents
g3d/mesh/geo/region sub library
- class g3d.mesh.geo.region.BlockRegion(*args: Any, **kwargs: Any)[source]
Bases:
PrismRegion- Attributes:
alpha- return:
beta- return:
ialt- return:
length- return:
tagtag (string) used for identification
width- return:
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- copy(r: BlockRegion) None[source]
copies data from specified entity input: entity example: copy(e)
- set_from_key_value(key: str, value: Any) bool[source]
sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: ‘tag’ example: set_from_key_value(key, value)
- property width: float
return:
- class g3d.mesh.geo.region.BoxRegion(*args: Any, **kwargs: Any)[source]
Bases:
RegionMethods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- property dx: float
return:
- property dy: float
return:
- property dz: float
return:
- class g3d.mesh.geo.region.CylinderRegion(*args: Any, **kwargs: Any)[source]
Bases:
PrismRegion- Attributes:
alpha- return:
beta- return:
ialt- return:
length- return:
radius- return:
tagtag (string) used for identification
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- copy(r: CylinderRegion) None[source]
copies data from specified entity input: entity example: copy(e)
- property radius: float
return:
- class g3d.mesh.geo.region.IJKRegion(*args: Any, **kwargs: Any)[source]
Bases:
Region- Attributes:
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
get_def()print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_def(im, i1, i2, j1, j2, k1, k2[, it])set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- property i1: int
return:
- property i2: int
return:
- property im: int
return:
- property it: int
return:
- property j1: int
return:
- property j2: int
return:
- property k1: int
return:
- property k2: int
return:
- property nc: int
return:
- property ni: int
return:
- property nj: int
return:
- property nk: int
return:
- property np: int
return:
- class g3d.mesh.geo.region.PrismRegion(*args: Any, **kwargs: Any)[source]
Bases:
Region- Attributes:
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- property alpha
return:
- property beta
return:
- copy(r: PrismRegion) None[source]
copies data from specified entity input: entity example: copy(e)
- property ialt
return:
- property length
return:
- class g3d.mesh.geo.region.Region(*args: Any, **kwargs: Any)[source]
Bases:
G3DEntity- Attributes:
tagtag (string) used for identification
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- class g3d.mesh.geo.region.SphereRegion(*args: Any, **kwargs: Any)[source]
Bases:
Region- Attributes:
radius- return:
tagtag (string) used for identification
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- copy(r: SphereRegion) None[source]
copies data from specified entity input: entity example: copy(e)
- property radius: float
return:
- class g3d.mesh.geo.region.XYZRegion(*args: Any, **kwargs: Any)[source]
Bases:
Region- Attributes:
Methods
copy(r)copies data from specified entity input: entity example: copy(e)
print()prints entity data
set(*args, **kwargs)sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)
set_from_key_value(key, value)sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)
- set_from_key_value(key: str, value: Any) bool[source]
sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: ‘tag’ example: set_from_key_value(key, value)
- property x1: float
return:
- property x2: float
return:
- property y1: float
return:
- property y2: float
return:
- property z1: float
return:
- property z2: float
return: