Comments (3)
This code ideally would be entirely legitimate. The problem is there is no Circle
implemented yet, and it is pulling in the type from GeometryTypes
. Re: #26
I think I stopped at figuring out how I wanted 2D shapes to behave. The easiest way is to treat them as 3D shapes, so let's try that first.
from descartes.jl.
I pushed the finished up the 2D API for Circles and Squares and pushed it to master. I stuck with similar constraints to what OpenSCAD imposes for now, but later I think these could be relaxed and you should be able to translate a 2D geometry in 3D space.
This is a rough pass and there may be bugs in translating the resultant extrude, so I will keep this issue open.
There is an example here, and output: https://github.com/sjkelly/Descartes.jl/blob/master/examples/2d.jl
from descartes.jl.
formulations for rounded boxes: https://iquilezles.org/www/articles/distfunctions/distfunctions.htm
I'd actually prefer atomic issues for each subject so there are clear action items.
I agree that the current naming is ambiguous for square
. it is supposed to be similar to OpenSCAD. I may move OpenSCADisms into a submodule an go with generic names such as Cuboid
, which actually isn't truely correct as implemented AFAIK.
BTW: I have a policy of not looking at libfive source links since it is GPL. Descartes is MIT, so I do not want to risk any issues.
from descartes.jl.
Related Issues (20)
- General Type Refactor HOT 1
- Ignore Specialization?
- BOM Generator
- Oct Tree sampling and Autodiff HOT 1
- GPU Acceleration of SDF gen HOT 5
- OpenSCAD Feature Parity
- Beignet Worksize trial-and-error bug HOT 2
- Resolution should be dependent on AABB size HOT 1
- Renderer Independent Design HOT 4
- Differentiable Geometry
- set operation names
- Rounded Square/Cube (general filet operation?)
- Fewer Vendorized Types HOT 1
- 1.6-era rewrite
- TagBot trigger issue HOT 1
- evaluate FRep at vector of inputs HOT 3
- add normals
- Translation does not appear to be idiomatic Julia HOT 1
- UndefVarError: HomogenousMesh not defined 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 descartes.jl.