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

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_CIVIL}} ; 構文 : (Tingr:get-cutslope ''grading'' ''cutslope'' ) ; 機能 : グレーディング TinGrading エンティティで使用される cutSlope 切断勾配値を取得する。 ; 引数 :* grading : TinGrading のエンティティ名(ename または vla-object)。 ; 戻り値 : 切断勾配の数値(ラジアン)または nil ; サンプル <pre class="brush: autolisp;"> (vl-load-tin) (tingr:get-cutslope (car (entsel)))…」)
 
編集の要約なし
6行目: 6行目:


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





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

構文
(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



関連事項