f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Add an option to draw axes actor

Open mwestphal opened this issue 4 years ago • 2 comments

Context F3D is used to show models of different sizes. It can be hard to judge the size of a model when opening it in F3D. Adding a Grid around it as shown below would help with this evaluation:

image

The idea of this issue is to add a CLI and libf3d options to control the showing of such a grid.

Suggested solution In vtkF3DRenderer, add a vtkGridAxes3DActor similarly to how the GridActor is added and add the method to control the showing of it. In window_impl::UpdateDynamicOptions() , control the showing of the new actor based on a new option that has to be added in the options. Finally, in F3DOptionsParser, add a CLI option to control the libf3d options.

CLI Option: --axes-grid libf3d option: render.axes_grid.enable

No interaction planned to control it as of yet.

Required skill

No required skill, this could be a good-first-issue with a bit more work.

Potentially more info here: https://gitlab.kitware.com/f3d/f3d/-/issues/81

mwestphal avatar Nov 12 '21 21:11 mwestphal

Hi, would you mind if I pick up this request?

ArchiePayne avatar Mar 23 '25 19:03 ArchiePayne

Go for it :)

Do not hesitate to reach out if you need any guidance :)

mwestphal avatar Mar 24 '25 07:03 mwestphal