第一個 Python 開發的grasshopper電池 1/2 二分之一電池
視訊的代碼和說明:
"""Provides a scripting component.
Inputs:
x: The x script variable
y: The y script variable
Output:
a: The a output variable"""
__author__ = "Administrator"
__version__ = "2022.01.07"
import rhinoscriptsyntax as rs
if x==None:
x=1
a=x/2