Jump to content

add drawing to my project


---
 Share

Recommended Posts

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

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

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.CopyQ.zDrbKR.thumb.png.f983cbe0b5cb5162e2c49841ca13ac34.png

CopyQ.ObrpPf.thumb.png.fe1069c087a8d4e1a66eb45411ed0781.png

Link to comment
Share on other sites

 Share

×
×
  • Create New...