[DR...] Posted September 9, 2022 Share Posted September 9, 2022 Hello , Is it possible to add the pdf file in my project in gom ? (for example if we need to add the drawing of the part ) Link to comment Share on other sites More sharing options...
[He...] Posted September 12, 2022 Share Posted September 12, 2022 Hello Dridi, there is no direct method to import PDF files into the project. But if you are familiar with the scripting environment you can use the "pymupdf" module to extract each page as an image, map it onto a plane and import both as an textured obj.file. I attached a simple script that does the job. You only have to install "pymupdf" with the InstallPythonPackage script from the script editor and use the attached script. With the zoom_x and zoom_y variable you can set the resolution of the image (default pdf is 72dpi) Hope this helps, Helge pdf-import.py Link to comment Share on other sites More sharing options...
[Ma...] Posted September 19, 2022 Share Posted September 19, 2022 Hi Dridi, you can simply transform your pdf drawing in jpg format and then add a image placeholder in the report page, see images below. Link to comment Share on other sites More sharing options...
[DR...] Posted September 19, 2022 Author Share Posted September 19, 2022 DEAR ALL THANK YOU FOR YOUR SUPPORT ! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in