Started setting layer height and line width in layer view

This commit is contained in:
Jack Ha 2016-12-22 14:41:50 +01:00
parent 2b37bde630
commit c12e6da3ac
5 changed files with 37 additions and 15 deletions

View file

@ -60,7 +60,7 @@ class LayerPolygon:
self._build_cache_needed_points[1:, 0][:, numpy.newaxis] = self._types[1:] != self._types[:-1]
# Mark points as unneeded if they are of types we don't want in the line mesh according to the calculated mask
numpy.logical_and(self._build_cache_needed_points, self._build_cache_line_mesh_mask, self._build_cache_needed_points )
self._vertex_begin = 0
self._vertex_end = numpy.sum( self._build_cache_needed_points )