Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no method matching setobject!(::Visualizer, ::Polyhedra.Mesh) #222

Closed
chriselrod opened this issue Sep 27, 2020 · 3 comments
Closed

no method matching setobject!(::Visualizer, ::Polyhedra.Mesh) #222

chriselrod opened this issue Sep 27, 2020 · 3 comments

Comments

@chriselrod
Copy link

I can't run any of the MeshCat examples, e.g. from the documentation:
https://juliapolyhedra.github.io/Polyhedra.jl/latest/plot/#D-plotting-with-Plots-2
or examples
https://github.com/JuliaPolyhedra/Polyhedra.jl/blob/v0.6.7/examples/3D%20Plotting%20a%20projection%20of%20the%204D%20permutahedron.ipynb

using Polyhedra, MeshCat

v = convexhull([0,0,0]) + conichull([1,0,0], [0,1,0], [0,0,1])

p = polyhedron(v)

m = Polyhedra.Mesh(p)

vis = Visualizer()
setobject!(vis, m)
open(vis)
@blegat
Copy link
Member

blegat commented Sep 27, 2020

Can you try this branch #212 and see if it works?

@chriselrod
Copy link
Author

It works.

@blegat
Copy link
Member

blegat commented Oct 30, 2020

Closed by #212

@blegat blegat closed this as completed Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants