fix draw_cuboid
This commit is contained in:
parent
ea56eb93ff
commit
e135f8147e
1 changed files with 1 additions and 1 deletions
|
|
@ -586,7 +586,7 @@ class Grid(object):
|
|||
p = numpy.array([[-dimensions[0], +dimensions[1]],
|
||||
[+dimensions[0], +dimensions[1]],
|
||||
[+dimensions[0], -dimensions[1]],
|
||||
[-dimensions[0], -dimensions[1]]], dtype=float)
|
||||
[-dimensions[0], -dimensions[1]]], dtype=float) / 2
|
||||
thickness = dimensions[2]
|
||||
self.draw_polygon(Direction.z, center, p, thickness, eps)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue