Tin:getmeshoftype

提供:GizmoLabs - だいたい CAD LISP なサイト
構文
(Tin:getmeshoftype tinEname type tickness)


機能
tinEname TinSurface エンティティから、種類と厚みに基づいて SubDMesh エンティティを作成して返す。


引数
  • tinEname : 最初の TinSurface エンティティ ename または vla-object
  • type : メッシュ生成タイプを表す整数。
    • bcTinMeshTypeElevation = 1 thickness は 高さ/高度を指定。
    • bcTinMeshTypeDepth = 2 thickness は、地面の高さ/高度を指定。
  • tickness : type の指定に従って地表面または標高を指定する。


戻り値
SubDMesh エンティティまたは nil


  • メモ :

メッシュ生成タイプに関する定数を参照。

tin:getmeshtin:getmeshbetweensurfaces 関数も参照。


サンプル
(vl-load-tin)
(setq tin (tin:createTin '(0 0 0) '(100 100 100) 1000))
(tin:addpoints tin '((10 80 5) (50 50 10) (10 10 2) (80 20 7) (70 60 3) (40 70 10) (25 25 6) (55 55 2) (75 45 5) ))

(tin:getmeshoftype tin 1 3000)
<Entity name: 8ccd17e0>

(tin:getmeshoftype tin 2 3000)
<Entity name: 8cf19540>


関連事項