Giter Site home page Giter Site logo

Comments (2)

neinseg avatar neinseg commented on May 21, 2024 1

I can reproduce this. svg-flatten has a "curve tolerance" setting that is supposed to control this, but it seems that these curves don't even hit the flattener as changing that setting does not have an effect. I will look into this in detail tonight.

from gerbolyze.

neinseg avatar neinseg commented on May 21, 2024

I think I've fixed this issue. I've pushed the fix to the main branch. Please feel free to try it out.

For both svg-flatten and gerbolyze, the --curve-tolerance command-line argument now does what it says on the tin and sets the maximum tolerance for bezier flattening in mm. Gerbolyze will now happily generate micrometer-smooth curves in gerber files tens of megabytes in size ;)

The fix ended up being to completely rip out Cairo and replace its bezier flattener with part of Antigrain Graphics' one. A beneficial side effect of this is that it is a step towards Windows builds, since on Windows the Cairo dependency was an issue.

Unfortunately, while fixing this issue I have re-introduced a bug where clipper calculates the mask layer cutouts too small. This results in silkscreen being closer than intended to soldermask openings in some cases. As all board houses will remove any silk overlay on pads anyway this is a purely cosmetic issue, but I will hold off with a release of my fix until I have also fixed this problem.

scr

from gerbolyze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.