Create a tore in Spaceclaim / Discovery

Gabriel Messager
Gabriel Messager Member, Employee Posts: 54
Ansys Employee First Anniversary Name Dropper 5 Likes
✭✭✭✭
edited June 2023 in 3D Design

Comments

  • Gabriel Messager
    Gabriel Messager Member, Employee Posts: 54
    Ansys Employee First Anniversary Name Dropper 5 Likes
    ✭✭✭✭
    ClearAll()
    
    majorRadius = MM(10)
    minorRadius = MM(5)
    
    # Create the torus
    torus = Torus.Create(Frame.World, majorRadius, minorRadius)
    my_torus = Body.CreateSurfaceBody(torus, BoxUV.Empty)
    DesignBody.Create(GetRootPart(), "my_torus", my_torus)