# type: ignoreimportcompasfromcompas.datastructuresimportMeshfromcompas.geometryimportBrepfromcompas_view2.appimportApp# Construct a mesh from an OBJ file# and convert to a brepmesh:Mesh=Mesh.from_obj(compas.get("tubemesh.obj"))brep=Brep.from_mesh(mesh)# =============================================================================# Visualization# =============================================================================viewer=App(width=1600,height=900)viewer.view.camera.position=[1,-6,2]viewer.view.camera.look_at([1,1,1])viewer.add(brep,linewidth=2)viewer.run()