Open drtrigon opened 2 years ago
For 2, I was thinking about an axes actor (see https://gitlab.kitware.com/f3d/f3d/-/issues/81)
I'm afraid more complex inspection tools like measure, clipping planes, are out of scope of f3d which is supposed to be a simple visualizer. But we may reconsider it if we find a way to integrate it without being too intrusive.
(to criticize myself: 2. I have to agree with @Meakk this is sort of against the "lightweight" viewer strategy - but as said if it could be done without blowing up code and binary it would be a great thing to have...)
Some more content on this. I use Linux Mint Cinnamon(Debian based like any .deb distro) and I couldn't quite find a clear installation procedure. I didn't wanna bother having to compile things. I used common sense and old school copy/paste:
- bin/ -> /usr/bin/
- lib/ -> /usr/lib/
- share/applications/ -> /usr/share/applications/
- share/icons/ -> /usr/share/icons/
- share/metainfo/ -> /usr/share/metainfo/
- share/mime/ -> /usr/share/mime/
- share/thumbnailers/ -> /usr/share/thumbnailers/
- config.json -> YOUR_USER_HOME/.config/f3d/config.json
I was still unable to see the thumbnails which were solved with the command. Safer than deleting the folder right away as suggested, you never know.
mv YOUR_USER_HOME/.cache/ YOUR_USER_HOME/bkp_cache/
No less important, since the bin file was copied over to the system, right-click in a STL file, "Open With" and F3D will be displayed as an option, and I can just call f3d
via terminal, no need to navigate to a folder.
A bash script taking care of those 2 code blocks and no .appimage
is needed.
@whiiiskyy we do not recommend copying f3d files to the /usr directory from the archive we provide.
It's better to just copy the files somewhere in your home directory, and add the directory to your PATH variable.
We should document it for sure.
We can also provide a .deb package for Debian-based distro but we need help for testing, would you be interested to help @whiiiskyy?
I'll create a specific issue for it.
@Meakk ,
I did check the files and although it isn't recommended, I did what I did hoping to have everything working. You have no idea how frustrating it has been not having a decent Linux solution for that, until now.
I'm more than happy to test the .deb package. I can undo the binary, etc, and use the deb package instead.
Please, let me know how to proceed.
Cheers
Continuing the discussion on https://github.com/f3d-app/f3d/issues/123
@drtrigon @whiiiskyy : I have separated this issue in smaller bites:
may i add some notes and picture to clarify. in another software which the same as using VTK library, it's called Query Tool, then requires to select two nodes for showing distance info's
Nice picture that makes me ask; can we also add a ruler or axes, grid, ticks labels that use real units like mm, e.g.?
There is no such things as real units in VTK world. Nice visual input though.
I'd like to implement that, but I think it's out of the scope of f3d right now.
There is no such things as real units in VTK world. Nice visual input though.
No possibility to display a rules by assuming the units are millimeters? Or allowing the user to enter a scaling? That would allow to easily disinguish between an model from architecture and one from microscopy. It would allow to get a rough understanding of the models dimensions. (E.g. the current windows .stl viewer does have something like that.)
If no possibilities exist to have something like this we can actually close the issue.
We could add a parameter to let user specify a scaling unit, but it is down to the user to specify it. VTK cannot guess it.
The issue can stay open though.
I think adding a simple ruler could go a long way for CAD users,
I will try to prototype that soon, we will see
Rewording the issue to add a ruler.
Context F3D can load CAD dataset however it does not have any measuring tool. Adding a simple ruler widget that user would be able to manipulate with the mouse would go a long way.
First step would be to prototype this to see if it is feasible in the F3D framework.
Notes Issue was initially:
I have several proposals, that I would like to discuss here. May be some of them could be included in a next release:
add an appimage for linux - could make it even simpler to useI would be willing to help testing.