junmer / clipper-lib Goto Github PK
View Code? Open in Web Editor NEWBoolean operations and offsetting library in Javascript
Boolean operations and offsetting library in Javascript
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
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);
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.
Hey, there is missing word prototype in line 5616
ClipperLib.Clipper.ParseFirstLeft = function (FirstLeft)
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.