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

7 lines
135 B
Python
Raw Permalink Normal View History

2024-11-21 11:50:43 +08:00
data = modelParam
sphere = CAD.Sphere()
sphere.setName('Sphere_4')
sphere.setLocation(0,0,0)
sphere.setRadius(data[0])
sphere.create()