Remove forgotten unused function

This function is now in the Polygon class in Uranium.

Contributes to issue CURA-2407.
This commit is contained in:
Ghostkeeper 2016-09-28 11:44:44 +02:00
parent 777a89ce46
commit 4fc30615ab
No known key found for this signature in database
GPG Key ID: 701948C5954A7385

View File

@ -30,25 +30,6 @@ import UM.Settings.ContainerRegistry
PRIME_CLEARANCE = 1.5
def approximatedCircleVertices(r):
"""
Return vertices from an approximated circle.
:param r: radius
:return: numpy 2-array with the vertices
"""
return numpy.array([
[-r, 0],
[-r * 0.707, r * 0.707],
[0, r],
[r * 0.707, r * 0.707],
[r, 0],
[r * 0.707, -r * 0.707],
[0, -r],
[-r * 0.707, -r * 0.707]
], numpy.float32)
## Build volume is a special kind of node that is responsible for rendering the printable area & disallowed areas.
class BuildVolume(SceneNode):
VolumeOutlineColor = Color(12, 169, 227, 255)