Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Licensing #1

Open
Harvie opened this issue Aug 18, 2018 · 0 comments
Open

Licensing #1

Harvie opened this issue Aug 18, 2018 · 0 comments

Comments

@Harvie
Copy link

Harvie commented Aug 18, 2018

Hello,
i am working on bCNC software to control hobby grade CNC machines and i've found your library very interesting and usefull. It solves our problem with the SVG path linearization, which is needed for our software to import SVG files. I managed to modify your code to suit our needs. But we run into license conflicts (in short: you can't reuse GPLv2 and GPLv3 code in single project and we already reused lots of GPLv2 code).

Do you think you would be able to dual license your code under MIT or at least GPLv2+ license?

Or at least part of the code? I use just the linearization part like this:

from svg_compression import *
comp_instance = Compress("test/test_vector.svg")
comp_instance.find_paths()                        # Extract path coordinates
comp_instance.linearize_paths(curve_fidelity = 10)     # Convert paths into polygons
#comp_instance.write(outputfile = "hrv.svg")
#print(comp_instance.linear_coords[0])
for path in comp_instance.linear_coords:
    p = path[0]
    print("g0 x%s y%s"%(str(p[0]),str(p[1])))
    for p in path:
        print("g1 x%s y%s"%(str(p[0]),str(p[1])))
    print "( ---------- cut-here ---------- )"

This is the bCNC project:

https://github.com/vlachoudis/bCNC/

Thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant