Mech:get-sketchplane

提供:GizmoLabs - だいたい CAD LISP なサイト
2023年6月5日 (月) 05:38時点におけるGizmon (トーク | 投稿記録)による版 (ページの作成:「{{BCAD_LISP_MECH}} ; 構文 : (mech:get-sketchplane ''constraintsGroup'' ) ; 機能 : 指定された拘束グループの 2D スケッチ面 (もしあれば) を返す。 ; 引数 :* constraintsGroup : スケッチ面を取得する拘束グループの整数 ; 戻り値 : スケッチ面を指定する (originPoint normalVector) のリスト、スケッチ面が使用されていない場合は NIL 返す。 ===メモ=== * 3DConstraintsGroupを取得す…」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
構文
(mech:get-sketchplane constraintsGroup )


機能
指定された拘束グループの 2D スケッチ面 (もしあれば) を返す。


引数
  • constraintsGroup : スケッチ面を取得する拘束グループの整数


戻り値
スケッチ面を指定する (originPoint normalVector) のリスト、スケッチ面が使用されていない場合は NIL 返す。


メモ


サンプル
(vl-load-mech)
2
(setq res (mech:get-allconstraintsgroups))
(2698242080 2698242176)
(setq grp (car res))
2698242080
(setq res (mech:has-sketchplane grp))
T
(setq res (mech:get-sketchplane grp))
((0 0 0) (0 0 1))



関連事項