Comments (3)
I have this: https://elalish.github.io/manifold/classmanifold_1_1_manifold.html#a8631da9e82e21ccf91a53e016aa18c30
Polygons
are just a vector of vectors; it could use more methods of its own for sure.
from manifold.
Polygon implies it is a closed loop (whatever the 2D equivalent of a manifold is.) I think that requiring that on Curves/Polylines to always be closed isn't accurate. I think you often want to create them as not closed and then you may connect a few together to create one or more polygons as a result.
I think that a 2D drawing is fundamentally a collection of lines, many of which are connected and then from that set of connected lines you can extract a set of closed regions, e.g. polygons. But the mapping of lines to polygons it not 1:1.
from manifold.
The lines are absolutely fundamental because these are usually the primitives in the CAD tool upon which the constraints act. Thus keeping these in a proper representation matters a lot.
Basically everything in CAD is derived from the line set, both polygons and trimeshes in your case. Thus you need to have these as a first class representation.
from manifold.
Related Issues (20)
- Refactor triangulator HOT 2
- triangulator bugs related to #528
- vertProperties behavior HOT 3
- refactor SparseIndices to use HashTable HOT 1
- allow double precision HOT 14
- Python Interface Vertex and Face Types HOT 5
- Volume calculation is not deterministic HOT 12
- Testing booleans of meshes HOT 2
- Emscripten build HOT 10
- Lost faces when creating manifold HOT 22
- Subtraction creates overlapping triangles HOT 6
- extrude twist can cause invalid geometry HOT 5
- XCode 15 Link problem with <memory_resource> HOT 6
- How could I create a manifold object for a simple rectangle? HOT 4
- non-manifold mesh repair HOT 1
- refine to length HOT 6
- Support for OS X 10.13? HOT 4
- Wrong vertex normals and uvs after boolean subtraction HOT 7
- vec out of range with sdf, smooth and refine HOT 3
- No boolean operations found in pypi-installed manifold3d package
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 manifold.