Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
getSVG now has default value for view_vector
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-james-v committed Mar 5, 2018
1 parent 2f6ae06 commit b328c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cadquery/freecad_impl/exporters.py
Expand Up @@ -236,11 +236,11 @@ def getPaths(freeCadSVG):
return ([],[])


def getSVG(shape, view_vector=(-1.75,1.1,5), opts=None):
def getSVG(shape, opts=None, view_vector=(-1.75, 1.1, 5.0)):
"""
Export a shape to SVG
"""

print view_vector
d = {'width':800,'height':240,'marginLeft':200,'marginTop':20}

if opts:
Expand Down

0 comments on commit b328c7b

Please sign in to comment.