You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there support within this package for one-dimensional line elements? I am visualizing 1-dimensional line elements within 3D in Paraview, and can't seem to find support for visualizing line elements within the package.
The text was updated successfully, but these errors were encountered:
Sorry, somehow I missed this issue when it first appeared. If I understand correctly, yes, it is possible to visualise 1-dimensional lines in 3D space. This is done using unstructured (or polydata) grids, see in particular the docs here.
Here is one full example adapted from the docs:
using WriteVTK
points =rand(3, 100)
lines = [MeshCell(PolyData.Lines(), i:(i +5)) for i in1:10:90] # lines connecting 6 points eachvtk_grid("lines", points, lines) do vtk
vtk["line_id"] =1:length(lines)
end
Is there support within this package for one-dimensional line elements? I am visualizing 1-dimensional line elements within 3D in Paraview, and can't seem to find support for visualizing line elements within the package.
The text was updated successfully, but these errors were encountered: