Cubit Python API  17.10

サーフェスのオブジェクトを定義し、そのほとんどが「Cubit」のRefFaceクラスと並行している。 詳細...

サーフェスの遺産グラフ:
GeomEntity Entity

公開メンバ関数

def  面積 (self)
  次の対象の面積を取得します: Surface. 詳細...

 
def  closest_point_along_vector (self, location, along_vector)
  最寄りの場所に近づいて、 Surface 指定されたベクトルに沿って指定された点。 詳細...

 
def  closest_point_trimmed (self, location)
  最寄りの場所に近づいて、 Surface 定められた点。 詳細...

 
def  color (self)
  サーフェスの色を得る。 詳細...

 
def  get_param_range_U (self)
  あなたのためにあなたの範囲を得る Surface. 詳細...

 
def  get_param_range_V (self)
  V の範囲を取得する Surface. 詳細...

 
def  is_cylindrical (self)
  得るか、得るか Surface シリンドルか否か。 詳細...

 
def  is_planar (self)
  得るか、得るか Surface 計画あるいはしない。 詳細...

 
def  normal_at (self, location)
  特定の時点で正常なものを得る Surface. 詳細...

 
def  ordered_loops (self)
  オーダーされたロープを手に入れる Surface. 詳細...

 
def  point_containment (self, point_in)
  ポイントが上にあるいは外にあるかどうかを確認する。 Surface. 詳細...

 
def  position_from_u_v (self, u, v)
  直交座標系の座標をUVの座標から入力します。 Surface. 詳細...

 
def  principal_curvatures (self, point)
  主な曲線を手に入れる Surface. 詳細...

 
def  set_color (self, value)
  サーフェスの色を設定します。 詳細...

 
def  u_v_from_position (self, location)
  提供された直交座標系の座標からUV座標を取得します。 Surface. 詳細...

 
- 継承された公開メンバ関数 GeomEntity
def  bodies (self)
  ジオメトリのエンティティに含まれるボディを取り戻す。 詳細...

 
def  カーブ (self)
  Retrieve カーブ (エッジ) 関連するジオメトリエンティティ. 詳細...

 
def  dimension (self)
  ジオメトリのエンティティのトポロジーの次元を得る。 詳細...

 
def  entity_name (self)
  ジオメトリのエンティティの主な名前を取り戻す。 詳細...

 
def  entity_names (self)
  ジオメトリのエンティティに割り当てられたすべての名前を返します。 詳細...

 
def  is_meshed (self)
  現在のメッシュの状態を回復する。 GeomEntity. 詳細...

 
def  is_transparent (self)
  ジオメトリのエンティティの透明性の状態を得る。 詳細...

 
def  is_visible (self)
  ジオメトリのエンティティの視覚状態を取得します。 詳細...

 
def  mesh (self)
  メッシュを生成するA GeomEntity メッシングの状態を確認する。 詳細...

 
def  num_names (self)
  ジオメトリのエンティティに割り当てられた名前の数を取得します。 詳細...

 
def  remove_entity_name (self, name)
  ジオメトリのエンティティから特定の名前を削除します。 詳細...

 
def  remove_entity_names (self)
  ジオメトリのエンティティからすべての非デフォルト名を削除します。 詳細...

 
def  remove_mesh (self)
  ジオメトリのエンティティに関連するメッシュを削除します。 詳細...

 
def  set_entity_name (self, name)
  ジオメトリのエンティティに名前を付けます。 詳細...

 
def  set_transparent (self, transparency_flag)
  ジオメトリのエンティティの透明性状態を設定します。 詳細...

 
def  set_visible (self, visibility_flag)
  ジオメトリのエンティティの可視性状態を設定して確認します。 詳細...

 
def  smooth (self)
  メッシュを「A」に GeomEntity 「要素品質」を向上させる 詳細...

 
def  サーフェス (self)
  Retrieve サーフェス関連するジオメトリエンティティ。 詳細...

 
def  頂点 (self)
  「頂点」(ポイント)をジオメトリのエンティティと関連付けます。 詳細...

 
def  ボリューム (self)
  ジオメトリのエンティティと関連するボリュームを取り戻す。 詳細...

 
- 継承された公開メンバ関数 Entity
def  bounding_box (self)
  次のエンティティの軸平行バウンディングボックスを返します: Entity. 詳細...

 
def  center_point (self)
  次のエンティティの幾何学的中心点を返します: Entity. 詳細...

 
def  id (self)
  次のエンティティの一意な識別子を取得します: Entity. 詳細...

 

詳細説明

サーフェスのオブジェクトを定義し、そのほとんどが「Cubit」のRefFaceクラスと並行している。

メンバ関数ドキュメント

◆ area()

def area (   self )

次の対象の面積を取得します: Surface .

.. code-block:: python

area = surface.area()
   @n return type of :  float
戻り値
次の対象の面積: Surface.

◆ closest_point_along_vector()

def closest_point_along_vector (   self,
  location,
  along_vector 
)

最寄りの場所に近づいて、 Surface 指定されたベクトルに沿って指定された点。

.. code-block:: python

nearest = surface.closest_point_along_vector([0,0,0], [1,1,1])
     @n type of location:  std::array< double,3 >, in
パラメータ
location ポイントの座標である3つの値を含むベクトルです。

戻り値の型:std:: array< double,3 >
戻り値
最も近い点の値を表す二重のベクトル(またはリスト)は、以下の通りです。
0 x 座標
1と座標
2 z 座標

◆ closest_point_trimmed()

def closest_point_trimmed (   self,
  location 
)

最寄りの場所に近づいて、 Surface 定められた点。

.. code-block:: python

nearest = surface.closest_point_trimmed([0,0,0])
     @n type of location:  std::array< double,3 >, in
パラメータ
location ポイントの座標である3つの値を含むベクトルです。

戻り値の型:std:: array< double,3 >
戻り値
最も近い点の値を表す二重のベクトル(またはリスト)は、以下の通りです。
0 x 座標
1と座標
2 z 座標

◆ color()

def color (   self )

サーフェスの色を得る。

.. code-block:: python

col = surface.color()
   @n return type of : std:: array< double,4 >
戻り値
サーフェスの現在の色と関連する色値。

◆ get_param_range_U()

def get_param_range_U (   self )

あなたのためにあなたの範囲を得る Surface .

.. code-block:: python

bounds = surface.get_param_range_U()
         @n return type of : std:: array< double,2 >
戻り値
曲線値:
0 方向で最も低い値
1 方向における最高値

◆ get_param_range_V()

def get_param_range_V (   self )

V の範囲を取得する Surface .

.. code-block:: python

lower_bound, upper_bound = surface.get_param_range_V()
         @n return type of : std:: array< double,2 >
戻り値
曲線値:
0 最小値 v 方向
1 Vの方向における最高値

◆ is_cylindrical()

def is_cylindrical (   self )

得るか、得るか Surface シリンドルか否か。

.. code-block:: python

cyl = surface.is_cylindrical()
   @n return type of :  boolean
戻り値
もしかしたら、The Surface シリンドルか否か。

◆ is_planar()

def is_planar (   self )

得るか、得るか Surface 計画あるいはしない。

.. code-block:: python

planar = surface.is_planar()
   @n return type of :  boolean
戻り値
もしかしたら、The Surface 計画あるいはしない。

◆ normal_at()

def normal_at (   self,
  location 
)

特定の時点で正常なものを得る Surface .

.. code-block:: python

norm = surface.normal_at([0,0,0])
     @n type of location:  std::array< double,3 >, in
パラメータ
location ポイントの座標である3つの値を含むベクトルです。

戻り値の型:std:: array< double,3 >
戻り値
次のように法線ベクトルの値を表すダブルのベクトル(またはリスト)を表す。
0 x 価値
1 Y 価値
2 Z 価値

◆ ordered_loops()

def ordered_loops (   self )

オーダーされたロープを手に入れる Surface .

.. code-block:: python

loops = surface.ordered_loops()
     @n return type of : std::vector< std::vector< CubitInterface::Curve,std::allocator< CubitInterface::Curve > >,std::allocator< std::vector< CubitInterface::Curve,std::allocator< CubitInterface:: Curve > > > >
戻り値
ループ内のカーブを格納したベクトルのベクトル(またはリストのリスト):

0 0 - ループ 1 カーブ 1

0, 1 - ループ 1 カーブ 2

1 0 - ループ 2 カーブ 1

戻り値
など

◆ point_containment()

def point_containment (   self,
  point_in 
)

ポイントが上にあるいは外にあるかどうかを確認する。 Surface .

.. code-block:: python

on_off = surface.point_containment([0,0,0])
   @n type of point_in:  std::array< double,3 >, in
パラメータ
point_in ポイントの座標である3つの値を含むベクトルです。

戻り値の型:int
戻り値
点がオフ(0)かオン(1)かを表すPythonの真偽値: Surface.

◆ position_from_u_v()

def position_from_u_v (   self,
  u,
  v 
)

直交座標系の座標をUVの座標から入力します。 Surface .

.. code-block:: python

pos = surface.position_from_u_v(0, 0)
     @n type of u:  float, in
パラメータ
u U パラメーター

v の型:float(入力)
v V パラメーター

戻り値の型:std:: array< double,3 >
戻り値
直交座標系の座標は、供給されたUVの座標のベクトルとして:
0 x 座標
1と座標
2 z 座標

◆ principal_curvatures()

def principal_curvatures (   self,
  point 
)

主な曲線を手に入れる Surface .

.. code-block:: python

curvatures = surface.principal_curvatures([0,0,0])
     @n type of point:  std::array< double,3 >, in
パラメータ
point サーフェスの原則 u と v の方向の曲線である 2 つの値を含むトップル

戻り値の型:std:: array< double,2 >
戻り値
曲線を表す2つのフラットのリスト。
0 曲線 1
1 曲線 2

◆ set_color()

def set_color (   self,
  value 
)

サーフェスの色を設定します。

.. code-block:: python

surface.set_color(0)
   @n type of value:  std::array< double,4 >, in
パラメータ
value サーフェスが持つ色の価値。

◆ u_v_from_position()

def u_v_from_position (   self,
  location 
)

提供された直交座標系の座標からUV座標を取得します。 Surface .

.. code-block:: python

uv = surface.position_from_u_v([0,0,0])
     @n type of location:  std::array< double,3 >, in
パラメータ
location 直交座標系を含むベクトル

戻り値の型:std:: array< double,2 >
戻り値
曲線値:
0 パラメーター
1 V パラメーター