「Tingr:get-cutslope」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
編集の要約なし
編集の要約なし
 
6行目: 6行目:


; 機能
; 機能
: グレーディング TinGrading エンティティで使用される cutSlope 切削勾配値を取得する。
: グレーディング TinGrading エンティティで使用される cutSlope 切削勾配角度値を取得する。




14行目: 14行目:


; 戻り値
; 戻り値
: 切断勾配の数値(ラジアン)または nil
: 切削勾配角度の数値(ラジアン)または nil





2023年7月21日 (金) 07:18時点における最新版

構文
(Tingr:get-cutslope grading cutslope )


機能
グレーディング TinGrading エンティティで使用される cutSlope 切削勾配角度値を取得する。


引数
  • grading : TinGrading のエンティティ名(ename または vla-object)。


戻り値
切削勾配角度の数値(ラジアン)または nil


サンプル
(vl-load-tin)
(tingr:get-cutslope (car (entsel)))
0.523598775598299
(tingr:set-cutslope (car (entsel)) (gz:deg->rad 45))
T
(tingr:get-cutslope (car (entsel)))
0.785398163397448

(tingr:get-cutslope (car (entsel))) ; グレーディングでない図形を選択した場合
nil



関連事項