Skip to content

Commit

Permalink
fixup deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkelly committed Jun 20, 2024
1 parent 766afe7 commit 50ccc4f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
16 changes: 11 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,33 @@ Rotations = "6038ab10-8711-5258-84ad-4b1120ba62dc"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

[compat]
Aqua = "0.8"
CoordinateTransformations = "0.6"
Combinatorics = "1"
FileIO = "1"
ForwardDiff = "0.10"
GeometryBasics = "0.4"
LinearAlgebra = "1"
Meshing = "0.5"
MeshIO = "0.4"
Revise = "3"
Rotations = "1"
StaticArrays = "1"
Test = "1"
WGLMakie = "0.10"
julia = "1.6"

[extras]
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Descartes = "ea4ead7c-22ac-5e77-afc5-cd927cdc0b20"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
HCubature = "19dc6840-f33b-545b-b366-655c7e3ffd49"
MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118"
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
WGLMakie = "276b4fcb-3e11-5398-bf8b-a0c2d153d008"

[targets]
test = ["Test", "Revise", "Combinatorics", "StaticArrays", "MeshIO", "FileIO", "WGLMakie", "BenchmarkTools"]
test = ["Test", "Aqua", "Revise", "StaticArrays", "MeshIO", "FileIO", "WGLMakie", "Combinatorics"]
4 changes: 0 additions & 4 deletions src/hyperrectangles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ function HyperRectangle(csg::CSGIntersect)
h
end

function HyperRectangle(g::Grid{T}) where T
HyperRectangle(Vec(-100,100), Vec(200,200))
end

function HyperRectangle(csg::CSGDiff)
HyperRectangle(csg.left)
end
Expand Down
4 changes: 2 additions & 2 deletions src/meshes.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function (::Type{MT})(primitives::AbstractPrimitive{3, T}...;
function (::Type{MT})(primitives::AbstractPrimitive...;
samples=(128,128,128),
algorithm=MarchingCubes(),
adf=false) where {T, MT <: AbstractMesh}
adf=false) where {MT <: AbstractMesh}

f(x) = FRep(primitives[1], x)
meshes = Vector{MT}(undef, length(primitives))
Expand Down
8 changes: 7 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Descartes: Sphere, Cuboid, Cylinder, CSGUnion, CSGIntersect, CSGDiff, MapContainer, Piping, FRep, Square, Circle, translate, rotate, Shell, RadiusedCSGUnion, LinearExtrude
using Descartes: Descartes, Sphere, Cuboid, Cylinder, CSGUnion, CSGIntersect, CSGDiff, MapContainer, Piping, FRep, Square, Circle, translate, rotate, Shell, RadiusedCSGUnion, LinearExtrude
using StaticArrays
using Test
using Combinatorics
Expand All @@ -18,3 +18,9 @@ include("hyperrectangles.jl")
include("meshes.jl")
include("examples.jl")
include("frep.jl")


using Aqua
@testset "Aqua" begin
Aqua.test_all(Descartes; ambiguities=false, piracies=false)
end

0 comments on commit 50ccc4f

Please sign in to comment.