Change how a trihexaflexagon is drawn
[flexagon-toolkit.git] / src / svg_hexaflexagon_editor.py
index f86ad13..48c8646 100755 (executable)
@@ -17,7 +17,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-from math import pi
 import svgwrite
 
 from diagram.svgwrite_diagram import SvgwriteDiagram
@@ -61,7 +60,7 @@ class SvgwriteHexaflexagonDiagram(HexaflexagonDiagram):
             # Draw some default content
             old_active_group = self.backend.active_group
             self.backend.active_group = self.groups["hexagon%d-content" % hexagon.index]
-            self.backend.draw_regular_polygon(cx, cy, 6, self.hexagon_radius, pi / 6., fill_color=(0.5, 0.5, 0.5, 0.2), stroke_color=None)
+            self.backend.draw_regular_polygon(cx, cy, 6, self.hexagon_radius, fill_color=(0.5, 0.5, 0.5, 0.2), stroke_color=None)
             self.backend.active_group = old_active_group
 
             # Add folding guides