Image Workbench is missing on the latest Weekly.

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Bernard19
Posts: 887
Joined: Sun Feb 20, 2022 7:16 pm

Re: Image Workbench is missing on the latest Weekly.

Post by Bernard19 »

@Syres
I can no longer import an image. File/Import
How should it be done?
Thank you for your help
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Image Workbench is missing on the latest Weekly.

Post by Syres »

Bernard19 wrote: Tue Mar 28, 2023 6:38 am I can no longer import an image. File/Import
How should it be done?
Which build revision are you using, I've looked through the whole thread and can't even tell which OS you're using, it's important as things are changing by the day if not the hour?

The Windows LibPack build revision 31552 is the most recent available on the Weekly bundles and that I believe will present a dialog box after you've done File>Import>selected image file asking for FreeCAD Image or Image Standard choose FreeCAD Image radio button and click OK. All my tests have been using known good png files to eliminate any image files that could give trouble. Using the build below, it just creates a plane without the dialog box.

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32592 (Git)
Build type: Release
Branch: master
Hash: 548f9ce07286e40735159e6ece603704c5386f1c
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.3.0
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * Silk 1.0.0
  * A2plus 0.4.60k
  * CurvedShapes 1.0.4
  * MakerWorkbench 1.0.1
  * freecad.gears 1.0.0
  * Curves 0.6.8
  * PieMenu 1.2.4
  * toSketch 1.0.1
  * Plot 2022.4.17
  * AirPlaneDesign 0.4.0
  * fasteners 0.4.54
  * sheetmetal 0.2.62
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Image Workbench is missing on the latest Weekly.

Post by easyw-fc »

wmayer wrote: Sun Mar 26, 2023 10:21 pm git commit 07cf291516b8
Core: support to load old project files containing image planes

Hi @Werner,
I tried the:

Code: Select all

Version: 0.21.0.32568 (Git)
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.2
image plane is restored, but with a wrong scale...
could it be possible to fix also this?
I'm attaching a sample file:
footprint-SPU0410LR5H.FCStd
(125.43 KiB) Downloaded 15 times
the right scale for the plane is:
7.03mm
8.70mm
Image-Plane Placement seems correctly restored, and so transparency attribute.
-
image-plane-scaled.jpg
image-plane-scaled.jpg (184.89 KiB) Viewed 1396 times
Last edited by easyw-fc on Tue Mar 28, 2023 8:01 am, edited 1 time in total.
User avatar
Bernard19
Posts: 887
Joined: Sun Feb 20, 2022 7:16 pm

Re: Image Workbench is missing on the latest Weekly.

Post by Bernard19 »

@Syres
I'm confused

Code: Select all

OS: Windows 11 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.32457 (Git)
Build type: Release
Branch: master
Hash: 85216bd12730bbc4c3cbf8f0bc50416ab1556cbb
Python 3.10.9, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: French/France (fr_FR)
User avatar
Bernard19
Posts: 887
Joined: Sun Feb 20, 2022 7:16 pm

Re: Image Workbench is missing on the latest Weekly.

Post by Bernard19 »

@easyw-fc
after downloading your file, I do not have the image in the tree structure
Attachments
Capture d'écran 2023-03-28 100352.png
Capture d'écran 2023-03-28 100352.png (10.53 KiB) Viewed 1378 times
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Image Workbench is missing on the latest Weekly.

Post by Syres »

Bernard19 wrote: Tue Mar 28, 2023 7:59 am @Syres
I'm confused

Code: Select all

OS: Windows 11 Version 2009

Version: 0.21.0.32457 (Git)

Sorry I now realise I should have stated git revision 32552 in my previous note, just navigate to https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds and please download FreeCAD-0.21.0dev-32552-Installer.exe

It's a proper installation of the Windows LibPack build (your's looks like a few days old Conda build) and then you can at least work with a version that I can replicate any issues side-by-side.
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Image Workbench is missing on the latest Weekly.

Post by wmayer »

easyw-fc wrote: Tue Mar 28, 2023 7:54 am image plane is restored, but with a wrong scale...
Confirmed. It happens with old and newly created project files.
User avatar
Bernard19
Posts: 887
Joined: Sun Feb 20, 2022 7:16 pm

Re: Image Workbench is missing on the latest Weekly.

Post by Bernard19 »

@Syres
With this Fc version, and your macro I found the possibility of importing an image as a layer and of affixing a scale.
I hope that we will quickly find the Image workbench.
Thanks for your alternate solution.

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.32552 (Git)
Build type: Release
Branch: master
Hash: e2b3a5d2f791fb78a61daac9bdab374058f682f2
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: French/France (fr_FR)
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Image Workbench is missing on the latest Weekly.

Post by easyw-fc »

Bernard19 wrote: Tue Mar 28, 2023 8:04 am @easyw-fc
after downloading your file, I do not have the image in the tree structure
I'm using Version: 0.21.0.32568 (Git) (compiled myself to check latest git commit)
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Image Workbench is missing on the latest Weekly.

Post by wmayer »

wmayer wrote: Tue Mar 28, 2023 8:35 am
easyw-fc wrote: Tue Mar 28, 2023 7:54 am image plane is restored, but with a wrong scale...
Confirmed. It happens with old and newly created project files.
git commit c26dc2e68534e
Post Reply