comac_desk_app/GenerateReport/Resources/pyScripts/ASRScript/ASRScript_4.py

7 lines
135 B
Python

data = modelParam
sphere = CAD.Sphere()
sphere.setName('Sphere_4')
sphere.setLocation(0,0,0)
sphere.setRadius(data[0])
sphere.create()