diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e15e563..fc794bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ jobs: matrix: version: - '1.6' + - '1.10' - '1' os: - ubuntu-latest @@ -22,11 +23,16 @@ jobs: arch: - x64 include: + - os: macOS-latest + arch: arm64 + version: 1 - os: ubuntu-latest prefix: xvfb-run exclude: - os: windows-latest - version: '1.6' + version: + - '1.6' + - '1.10' steps: - uses: actions/checkout@v3 diff --git a/Project.toml b/Project.toml index 41f093b..e11e43e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MeshCat" uuid = "283c5d60-a78f-5afe-a0af-af636b173e11" authors = ["Robin Deits "] -version = "0.16.2" +version = "0.16.3" [deps] Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" @@ -33,13 +33,13 @@ DocStringExtensions = "0.5, 0.6, 0.7, 0.8, 0.9" FFMPEG = "0.2, 0.3, 0.4" GeometryBasics = "0.3, 0.4" HTTP = "1" +Meshing = "0.5, 0.6" MeshIO = "0.4" -Meshing = "0.5" MsgPack = "1" -Parameters = "0.10, 0.11, 0.12" +Parameters = "0.10, 0.11, 0.12, 0.13" PrecompileTools = "1" Requires = "0.5, 1" -Rotations = "1.3" +Rotations = "1" StaticArrays = "0.10, 0.11, 0.12, 1" Tar = "1" julia = "1.6" @@ -48,8 +48,8 @@ julia = "1.6" ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" Electron = "a1bb12fb-d4d1-54b4-b10a-ee7951ef7ad3" FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" -MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118" Meshing = "e6723b4c-ebff-59f1-b4b7-d97aa5274f73" +MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118" NBInclude = "0db19996-df87-5ea3-a455-e3a50d440464" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" diff --git a/notebooks/Project.toml b/notebooks/Project.toml index 769cf92..4114917 100644 --- a/notebooks/Project.toml +++ b/notebooks/Project.toml @@ -4,13 +4,13 @@ CoordinateTransformations = "150eb455-5306-5404-9cee-2592286d6298" FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326" MeshCat = "283c5d60-a78f-5afe-a0af-af636b173e11" -MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118" Meshing = "e6723b4c-ebff-59f1-b4b7-d97aa5274f73" +MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118" Rotations = "6038ab10-8711-5258-84ad-4b1120ba62dc" [compat] Colors = "0.9, 0.10, 0.11, 0.12" FileIO = "1" GeometryBasics = "0.3, 0.4" -MeshIO = "0.4" Meshing = "0.5, 0.6" +MeshIO = "0.4" diff --git a/notebooks/Static HTML Visualizers.ipynb b/notebooks/Static HTML Visualizers.ipynb index 9480e7c..ab67350 100644 --- a/notebooks/Static HTML Visualizers.ipynb +++ b/notebooks/Static HTML Visualizers.ipynb @@ -165,15 +165,15 @@ "lastKernelId": null }, "kernelspec": { - "display_name": "Julia 1.10.2", + "display_name": "Julia 1.11.0", "language": "julia", - "name": "julia-1.10" + "name": "julia-1.11" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.10.2" + "version": "1.11.0" } }, "nbformat": 4, diff --git a/notebooks/animation.ipynb b/notebooks/animation.ipynb index e8105da..169cd78 100644 --- a/notebooks/animation.ipynb +++ b/notebooks/animation.ipynb @@ -46,22 +46,26 @@ "vis = Visualizer()" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "There are a few different ways of opening the visualizer:\n", + "- In a new browser tab with `open(vis)`.\n", + "- Inside this jupyter notebook with `render(vis)`.\n", + "- In a standalone window with\n", + " ```julia\n", + " import Electron\n", + " open(vis, Electron.Application())\n", + " ```" + ] + }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ - "## To open the visualizer in a new browser tab, do: \n", - "# open(vis)\n", - "\n", - "## To open the visualizer inside this jupyter notebook, do: \n", - "# render(vis)\n", - "\n", - "## To open this visualizer in a standalone window, do:\n", - "# import Electron\n", - "# open(vis, Electron.Application())\n", - "\n", "render(vis)" ] }, @@ -265,8 +269,7 @@ "metadata": {}, "outputs": [], "source": [ - "# MeshCat.convert_frames_to_video(\n", - "# \"/home/rdeits/Downloads/meshcat_1528401494656.tar\")" + "# MeshCat.convert_frames_to_video(expanduser(\"~/Downloads/meshcat_1528401494656.tar\"))" ] } ], @@ -276,15 +279,15 @@ "lastKernelId": null }, "kernelspec": { - "display_name": "Julia 1.10.2", + "display_name": "Julia 1.11.1", "language": "julia", - "name": "julia-1.10" + "name": "julia-1.11" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.10.2" + "version": "1.11.1" } }, "nbformat": 4, diff --git a/notebooks/demo.ipynb b/notebooks/demo.ipynb index c5c7d4c..c3558a9 100644 --- a/notebooks/demo.ipynb +++ b/notebooks/demo.ipynb @@ -517,8 +517,7 @@ "metadata": {}, "outputs": [], "source": [ - "path = joinpath(@__DIR__, \"..\", \"test\", \"data\", \"meshes\", \"cube.dae\")\n", - "\n", + "path = joinpath(@__DIR__, \"..\", \"test\", \"data\", \"meshes\", \"cube.obj\")\n", "setobject!(vis[\"meshes\", \"dae_file_object\"], MeshFileObject(path))\n", "settransform!(vis[\"meshes\", \"dae_file_object\"], Translation(0.0, 2.5, 0.0))" ] @@ -530,15 +529,15 @@ "lastKernelId": null }, "kernelspec": { - "display_name": "Julia 1.10.2", + "display_name": "Julia 1.11.1", "language": "julia", - "name": "julia-1.10" + "name": "julia-1.11" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.10.2" + "version": "1.11.1" } }, "nbformat": 4,