Open HanwenJin16 opened 1 year ago
Here is the code I used
from manim import * import pywavefront class MyObj(ThreeDScene): def construct(self): self.set_camera_orientation(phi=75 * DEGREES, theta=30 * DEGREES) my_obj=pywavefront.Wavefront("myobj.obj",collect_faces=True) faces=my_obj.mesh_list[0].faces vertices=my_obj.vertices my_obj_mobj= Polyhedron(vertices, faces) for i in range(len(vertices)): my_obj_mobj.graph[i].scale(0) self.add(my_obj_mobj) self.begin_ambient_camera_rotation(rate=1) self.wait(6)
The bug says AttributeError: 'Dot3D' object has no attribute 'has_fill' myobj.txt
AttributeError: 'Dot3D' object has no attribute 'has_fill'
I have also incuded a text version of myobj.obj
Tip:
```py # Your code here class FunnyCode(): pass ```
can be used to create
# Your code here class FunnyCode(): pass
Here is the code I used
The bug says
AttributeError: 'Dot3D' object has no attribute 'has_fill'
myobj.txtI have also incuded a text version of myobj.obj