外部変形は データのやり取りをテキストファイルで行うので プログラム言語は 自由に選ぶことができます。図形は機能的かつシンプルなため、数多くのユーザーに受け入れられています。
cislope(ci, a /lr) あるいは cislope(ci, a / lr, pm) は 円データの勾配を返します。
ci は 円データ
a / lr は 距離比(実数)
pm は モード
0=法線角 あるいは :per :normal :p :n
1=接線角 あるいは :tan :tangent :t
2=離心角 あるいは :dconv :eccentric :d :e
3=円弧角 あるいは :xang :arc :x :p3
使用例
:jw.rbで円データの勾配を得る(cislope ci a / lr 距離比)
@echo off
ruby -x %0
goto:eof
REM #jww
REM #1ci 円・円弧を指示して下さい
REM #e
#!ruby -Ks -rjw
jww
plot "h#%.1f" % a = (cislope 1.ci, 0.5).deg
plot ci 1.ci.c(0.5), 20
plot ch 1.ci.c(0.5), cround(a, 1) + "゚"
__END__