GithubHelp home page GithubHelp logo

Clipper1 compatability . about clipper2 HOT 5 CLOSED

J-Dunn avatar J-Dunn commented on August 21, 2024 1
Clipper1 compatability .

from clipper2.

Comments (5)

sethhillbrand avatar sethhillbrand commented on August 21, 2024 3

FWIW, I disagree with the assessment of Clipper 2 as not production ready. We (KiCad) had a number of long standing issues with Clipper 1 that could not be resolved due to the architecture. They have been resolved by Clipper2. We have reported two bugs in Clipper2 and both have been fixed quickly.

Clipper 2 is not 100% call compatible. You need to read the documentation where all differences are clearly stated and compared with equivalent Clipper1 ideas.

Lastly, I'd recommend moving this to a discussion rather than an issue.

from clipper2.

philstopford avatar philstopford commented on August 21, 2024 1

I can only echo @sethhillbrand's comments. I have several production tools that were ported to Clipper2 and tracked its progress through to the current day. Angus fixed issues reported and I've not had an issue to report for a long while now. The performance boost has been phenomenal and in many cases, the current system requires fewer workarounds (e.g. for open path clipping in terms of raycasting) than I needed for Clipper 1.

Porting should actually be fairly painless in most cases. Switch the library over and see what the IDE throws up. Fixing it from there is largely just adapting to new syntax. The one minor thing to note is that open path offsetting is per-side, not width, in Clipper 2.

from clipper2.

yoavmil avatar yoavmil commented on August 21, 2024

#209
I was testing once migration from clipper 1 to clipper 2.
I wrote in in the link above notes as I was going by.
After making it compile, I found 2 issues. one was the inflating lines was differenting from clipper1. the other is that in my usecase clipper2 was slower.
one last thing, I feel still that clipper2 isnt mature enough yet.

from clipper2.

J-Dunn avatar J-Dunn commented on August 21, 2024

Thanks for making those notes available. That at least tells it's doable.

Some of the notes are not too clear what you substitute with what but I guess I'll work it out once I did into the code.

I feel still that clipper2 isnt mature enough yet.

do you mean it is less mature than clipper1 ?

from clipper2.

yoavmil avatar yoavmil commented on August 21, 2024

Indeed. Clipper2 isn't 100% production ready AFAIK. I follow the issues posted here, and sometimes I see poeple complainig about critical bugs.
Clipper1 has a been then for years, used by many.

from clipper2.

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.