f3d icon indicating copy to clipboard operation
f3d copied to clipboard

displaying model edges only

Open xyont opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. currently option to displaying mesh files (STL, VTK, etc) are for edge mesh i.e based on each of element mesh.

when hidden edge mesh is de/active by 'e' shortcut key it's apply to a whole mesh.

2022-02-19 08_57_44-F3D - A fast and minimalist 3D viewer

2022-02-19 08_57_55-F3D - A fast and minimalist 3D viewer

Describe the solution you'd like displaying model edges only could be useful to given insight or impression about the model.

2022-02-19 08_59_22-

xyont avatar Feb 19 '22 02:02 xyont

Can you share the file?

Meakk avatar Feb 19 '22 09:02 Meakk

below is attachment links of model files (stl & vtk)

model_files.zip

xyont avatar Feb 19 '22 12:02 xyont

should be doabled with a vtkFeatureEdges filters, but there is no such "SurfaceWithFeatureEdges" representation. A VTK dev actually tried to add one to ParaView some time ago and it was causing some issues with z-depth conflict. May not be trivial as it looks,

mwestphal avatar Feb 21 '22 14:02 mwestphal

thanks for the hints, regarding to difficulty in implementation. i'm only share a screenshot and experiences using another similar software as the same with VTK libraries.

i frequently discussed with him also, even i'm not really know how is complex inside. only an ordinary user which given an opinion/ideas about the modeling & post-processing of engineering simulation.

xyont avatar Feb 21 '22 14:02 xyont

I had a look at the dataset, all the mesh is connected, so we cannot rely on just boundaries.
I agree with @mwestphal we need to use vtkFeatureEdges to process the dataset.

Meakk avatar Feb 21 '22 14:02 Meakk

Could we add some kind of "edge dihedral angle" config option to achieve this feature by filtering out edges that are "flatter" that a user-defined threshold?

snoyer avatar Jan 15 '24 06:01 snoyer

@snoyer yes that's what vtkFeatureEdges is doing

Meakk avatar Jan 15 '24 07:01 Meakk

A vtkFeatureEdges prototype is needed before we move forward with this.

mwestphal avatar Jan 22 '24 07:01 mwestphal