Intent: We are trying only to display 3d objects with their default parameters
Output: But it only showing a black screen after execution.
System: Linux operating system: Fedora Linux 39 (Workstation Edition), browser: Firefox version 120
fromvpythonimport*fromsysimportexitdefmenu():
print('1. Curve')
print('2. Sphere')
print('3. Cone')
print('4. Arrow')
print('5. Rings')
print('6. Cylinder')
ch="y"whilech!="n":
scene=canvas()
menu()
choice=int(input('Enter choice: '))
ifchoice==1:
curve()
elifchoice==2:
sphere()
elifchoice==3:
cone()
elifchoice==4:
arrow()
elifchoice==5:
ring()
elifchoice==6:
cylinder()
else:
print('Invalid choice')
ch=input('Do you want to continue (y/n)? ').lower()
scene.delete()
exit()Tried to resolve this issue: By passing some parameters, by redrawing the screen, updating the screen etc.
Intent: We are trying only to display 3d objects with their default parameters
Output: But it only showing a black screen after execution.
System: Linux operating system: Fedora Linux 39 (Workstation Edition), browser: Firefox version 120
Tried to resolve this issue: By passing some parameters, by redrawing the screen, updating the screen etc.