「Tingr:set-fillslope」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_CIVIL}} ; 構文 : (Tingr:set-fillslope ''grading'' ''fillslope'' ) ; 機能 : グレーディング TinGrading エンティティで使用される cutSlope 切削勾配角度値を割り当てる。 ; 引数 :* grading : TinGrading のエンティティ名(ename または vla-object)。 :* fillslope : 割り当てられる充填勾配角度値(ラジアン)。 ; 戻り値 : 設定成功なら T それ以外は NIL ; サンプ…」)
 
(相違点なし)

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

構文
(Tingr:set-fillslope grading fillslope )


機能
グレーディング TinGrading エンティティで使用される cutSlope 切削勾配角度値を割り当てる。


引数
  • grading : TinGrading のエンティティ名(ename または vla-object)。
  • fillslope : 割り当てられる充填勾配角度値(ラジアン)。


戻り値
設定成功なら T それ以外は NIL


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

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



関連事項