Open
Description
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
I have also incuded a text version of myobj.obj
Metadata
Metadata
Assignees
Type
Projects
Status
🆕 New