Commit 823df8ca authored by dboe's avatar dboe
Browse files

obj in out works

parent 264219a8
......@@ -321,7 +321,7 @@ class Mesh3D(tfields.TensorMaps):
group = dict(name=line[1], vertices={}, faces=[])
elif line[0] == 'v':
if not group:
log.warning("No group specified. I invent one myself.")
log.debug("No group found. Setting default 'Group'")
group = dict(name='Group', vertices={}, faces=[])
vertex = list(map(float, line[1:4]))
group['vertices'][vertex_no] = vertex
......@@ -332,6 +332,8 @@ class Mesh3D(tfields.TensorMaps):
w = v.split('/')
vertices = []
for g in groups[:]:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment