Giter VIP home page Giter VIP logo

clipper-lib's People

Contributors

jekuno avatar junmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

clipper-lib's Issues

I've modernized and converted to TS, let's chat?

Hey @junmer, not sure if you're still around but thought it'd be worth dropping a line.
I've rewritten this port in TypeScript.
Was thinking I'd re-release as a standalone package because I ended up changing some of the names and casing of things.
Buuuut I thought it could possibly be worth jumping on as a contributor to this package and pushing a major version.
Couild be a bad idea though.
Thoughts?
https://github.com/jacobclarke92/canvas-gcode/tree/master/src/packages/Clipper

ePrev2 should be ePrev

This bug isn't in upstream, but somehow snuck in here:

-                                       var op2 = this.AddOutPt(ePrev2, e.Bot);
+                                       var op2 = this.AddOutPt(ePrev, e.Bot);

NPM release

Thanks for maintaining this great library. Are planning on updating the current state to NPM? You updated the version some months ago, but there haven't been a release.

uppercase versus lowercase x,y

I understand that this lib needs points to be represented as { X:, Y: }.
It seems to me that many npm modules rely on the fact that points are defined as {x:, y:} because of this specification https://github.com/colinmeinke/points.

would it make sense to change this library to use the lowercase version, or to accept both versions ?

it would avoid a systematic impedance transformation when integrating several libs.

weighted offset possible?

Hi there,

i am wondering if there is a way to use clipper to do weighted offsets of a polyline? I dont know if thats the right wording, but what i am trying to find a solution for is to be able to give certain polyline segments a weight or factor wich defines how much it wuold be offsetted.

would this be possible with clipper? or is there a workaround for this?

Thanks a lot,

pcace

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.