Descartes.jl icon indicating copy to clipboard operation
Descartes.jl copied to clipboard

Software Defined Solid Modeling

Results 23 Descartes.jl issues
Sort by recently updated
recently updated
newest added

This should most likely live in geometry types, but I am testing here. This is useful to cleaning up meshes before passing to Tetgen, etc.

Hello, I'd like to evaluate `FRep`s at a vector of inputs as follows: ```julia julia> using Descartes julia> c = Circle(1.0) Circle{Float64}(1.0) julia> x = rand(2,10); julia> FRep(c,x[1]) -0.8388503806040237 julia>...

implement `normals` in Descartes. ```julia julia> using Descartes julia> using ForwardDiff julia> p = Circle(1.0) julia> ForwardDiff.gradient(f,[1,0]) 2-element Vector{Float64}: 1.0 0.0 ``` can switch to `FiniteDiff` if `ForwardDiff`/`Zygote` doesn't play...

This package is well over 6 years old now! It would be good to use some more modern idioms: - `ComposedFunction` - Make shapes callable - Avoid storing inverse transforms

CoordinateTransforms and GeometryBasics should be able to be composed here to reduce a lot of the code. Both have more rich types and APIs that are better than what is...

This is one simple approach, but the results do not seem to be good. For now I may try a perturbation approach to find the gradients. You can barely make...

Currently, I need a rounded rectangle. It would be like the current "Square" except with a radius parameter for rounded corners. Your current "Square" does allow rectangles, so renaming it...

This is probably a dumb question, but my knowledge of Julia is limited. I'm trying to do this code: ``` using Descartes function create_horse_shape() body_length = 1.0 body_width = 1/2...

## 2D - [x] `circle(radius | d=diameter)` - [x] `square(size,center)` - [x] `square([width,height],center)` - [ ] `polygon([points])` - [ ] `polygon([points],[paths])` - [ ] `text(text, size, font, halign, valign, spacing,...