Removing Image wb

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
chennes
Veteran
Posts: 3868
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Removing Image wb

Post by chennes »

I had not yet created an Issue for this, but it seems there is consensus at least on the forums here that this is an “identified and agreed upon problem”. I vote we get an issue opened, finish this discussion, and then start coding 😎.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
sliptonic
Veteran
Posts: 3453
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Removing Image wb

Post by sliptonic »

chennes wrote: Fri Mar 17, 2023 9:06 pm I had not yet created an Issue for this, but it seems there is consensus at least on the forums here that this is an “identified and agreed upon problem”. I vote we get an issue opened, finish this discussion, and then start coding
Let's co-opt this issue: https://github.com/FreeCAD/FreeCAD/issues/8556
aapo wrote: Fri Mar 17, 2023 8:59 pm
Ooh, that's a nice idea! :D Then after opening the file, the toolbox/dialog/whatever could pop up and you'd be able to input your offset, plane (XY/XZ/YZ) and scale. And doubleclicking the object in the tree would just reopen the same dialog. So, no functionality would be lost and it'd be quite clutter-free and convenient.
Should the initial plane be aligned with the current camera position? That seems intuitive to me. The user should always be able to align it via the task panel.
chrisb
Veteran
Posts: 53785
Joined: Tue Mar 17, 2015 9:14 am

Re: Removing Image wb

Post by chrisb »

I like the ideas of using the well known import function plus a dedicated task dialog for scaling.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: Removing Image wb

Post by adrianinsaval »

yes using import seems like the most discoverable solution and it makes perfect sense
User avatar
paddle
Veteran
Posts: 1364
Joined: Mon Feb 03, 2020 4:47 pm

Re: Removing Image wb

Post by paddle »

Well sounds good then. I'll get started.

For the placement:
- Automatically it would start at current view plane
- Then the imageplane taskbox would have something similar to the feature pick of PartDesign_NewSketch. Or the attachement taskbox. (those needs to be harmonized btw, no reason we would need several)

I created an issue to discuss it further about it's technical questions :
https://github.com/FreeCAD/FreeCAD/issues/8945
chrisb
Veteran
Posts: 53785
Joined: Tue Mar 17, 2015 9:14 am

Re: Removing Image wb

Post by chrisb »

paddle wrote: Sat Mar 18, 2023 6:35 am For the placement:
- Automatically it would start at current view plane
That would be different from other imports. And if we already make it different, shouldn't we rather show the planes selection dialog which is shown now? More than 95% (a guess) if not more, of the images I have seen here are on one of the main planes.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Removing Image wb

Post by Zolko »

paddle wrote: Sat Mar 18, 2023 6:35 am Well sounds good then. I'll get started.
If you're dealing with this problem, could you please also consider to solving another issue with images: that they're not visible from the back-side, we only get a black rectangle. It would be very useful – and absolutely intuitive – to have a semi-transparent viewpoint from the back of the image.
try the Assembly4 workbench for FreCAD — tutorials here and here
xtemp09
Posts: 72
Joined: Tue Jul 12, 2022 2:16 pm

Re: Removing Image wb

Post by xtemp09 »

paddle wrote: Fri Mar 17, 2023 2:01 pm- The image viewer is removed. All tools from the toolbar are removed.
I'm just watching 230302 - freecad and free cae users conference - day 2 of 3-001.mp4 and in this video at 02:18:12 POV-Ray rendering result is shown as an image in FreeCAD in a separate tab.

Perhaps, removal of image viewer should be reconsidered. I think rendering result should be shown as image in a separate tab, instead of being opened by external tool.
User avatar
onekk
Veteran
Posts: 6095
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Removing Image wb

Post by onekk »

chrisb wrote: Fri Mar 17, 2023 11:31 pm I like the ideas of using the well known import function plus a dedicated task dialog for scaling.
+1 for me, standard File > Open plus additional dialog to set things.

But please think something about Scripting something easy when importing an img object something simple as:

Code: Select all

img = FreeCAD.import("../images/images.png")
img.setPlane = ...
img.setScale = ...
img.Placement = ...
.....

# and eventually

img.getPlane
img.getScale
....

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
bambuko
Veteran
Posts: 2114
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Removing Image wb

Post by bambuko »

Zolko wrote: Sat Mar 18, 2023 8:20 am It would be very useful – and absolutely intuitive – to have a semi-transparent viewpoint from the back of the image.
very useful indeed
glad that someone agrees with me ;)
it's already possible (see my post earlier in this thread), by using backlight (preferences) and image transparency (image appearance)
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
Post Reply