Comments (2)
Hi @wolfmcnally. Sorry for the late response ... Github didn't notify me when the issue was opened (hopefully it will in the future after I updated my preferences).
You are correct that the boolean operations only work on closed paths. I'm still working on getting the boolean operations to work properly on all closed paths so it's unlikely that I'll get it to work on open paths any time soon (boolean operations are the most difficult part of the API).
I'll take a look at finding a way to let you use IndexedPathLocation to achieve what you want. It's designed to handle this sort of thing, you're just the first to request it.
from bezierkit.
@wolfmcnally I noticed you've forked BezierKit to add a Path.split method. Is that working for you? If it's not I can try to add support for open paths in boolean operations (to allow your step 3 to succeed) in the next release.
from bezierkit.
Related Issues (20)
- boundingBox vs boundingBoxOfPath follows opposite convention as CoreGraphics
- Path and PathComponent hash and hashValue is simply memory address HOT 1
- Unknown references to BezierKit.min(...) and BezierKit.max(...) HOT 3
- Path.offset(distance:) hits assertion failure when called on a Path where all points are equal HOT 1
- Union of 2 overlapping paths returns an empty path HOT 4
- `union` with nonzero winding rule HOT 9
- Path.crossingRemoved() produces wrong result HOT 11
- simplifying a curve? HOT 2
- `offset` seems to treat straight & curved segments differently HOT 3
- feature request: permit separate x and y inputs for scale, outline, reduce HOT 8
- this contour crashes `crossingsRemoved` HOT 9
- `crossingsRemoved` makes these two contours disappear HOT 12
- how to quiet the SwiftLint warning? HOT 2
- `crossingsRemoved` gets confused by coincident points HOT 3
- droots can have low precision in some cases, which could affect Path.contains(_ point:)
- Newton iteration may fail to converge, producing wrong results in curve.project()
- `offset` fatalError when all control points of segments are the same HOT 3
- Impossible to make closed PathComponent HOT 19
- Proposal: Use Sylvester Matrix for finding the intersection of cubic beziers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bezierkit.