I'd like to put an png-image (screenshot) into a TechDraw document. This is working great via TechDraw_Image. But the image isn't a part of the FreeCAD-project or something like that. Instead TechDraw_Image relies on an absolute path to the image file. This isn't very practical if you're thinking about sharing your project (which I'm currently preparing for).
Is there a way to feed TechDraw_Image with a relative path to the image file? I've tried something like "../pictures/example_screenshot.png" but that didn't work out
I've attached an example project to this post (it's a zip-file because the screenshots and folder structure is provided too).
Code: Select all
OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu) Word size of FreeCAD: 64-bit Version: 0.20.25645 (Git) AppImage Build type: Release Branch: master Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345 Python version: 3.9.7 Qt version: 5.12.9 Coin version: 4.0.0 OCC version: 7.5.2 Locale: English/United States (en_US)