Skip to content

Commit

Permalink
Update shapes example
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Rauf Bingol committed Mar 22, 2019
1 parent 09c3a96 commit b3e3baa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shapes/ex_circle_7cp.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

from geomdl.shapes import curve2d
from geomdl import operations
from geomdl import multi
from geomdl.visualization import VisMPL


Expand All @@ -23,7 +24,8 @@
circle.render()

# Decompose the circle into Bezier curve segments
bezier_segments = operations.decompose_curve(circle)
segments = operations.decompose_curve(circle)
bezier_segments = multi.CurveContainer(segments)

# Set sample size (delta)
bezier_segments.sample_size = 25
Expand Down

0 comments on commit b3e3baa

Please sign in to comment.