reader(filename)
write_svg(k, oldfile, safe=TRUE,
regex1 ='sodipodi:docname=',
regex2=' *d *= *" *M.*C.*[zZ] *"')
reader()
; usually
an inkscape .svg
fileTRUE
meaning to save file
“foo.svg
” as “foo_smooth.svg
”
and FALSE
meaning to overwrite foo.svg
.write_svg()
; see the source code for details.
Argument k
is a knot, oldfile
an .svg
file for
reference.reader()
is the way to get started with a new
knot. This takes a filename which is an .svg
file created with
inkscape. Instructions for creating a suitable inkscape file are
given in knotR-package.Rd
.utilities
,knotR-package
## Not run: ------------------------------------ # a <- reader("6_3.svg") # b <- getcontrolpoints(a) # knotplot(a) # ## ---------------------------------------------