1、以下是我按照犀牛命令做的一个GH电池的代码:import rhinoscriptsyntax as rs
import scriptcontext as sc
import Rhino
import Rhino.Geometry as rg
import ghpythonlib.components as gc
l = []
LL = []
if C1 and C2:
if Arc == True:
tx = 'Arc'
tx1 = '圆弧'
else:
tx = 'Line'
tx1 = '直线'