[bug] Could not select windows from wall into treeview if wall is in a part

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
jipem
Posts: 3
Joined: Sun Apr 21, 2019 9:37 am

[bug] Could not select windows from wall into treeview if wall is in a part

Post by jipem »

Problem tested with Freecad v 19.3 and last weekly build, under window 10.

Step to reproduce :
With arch workbench :
  1. Create a part
  1. Create line
  1. Create wall from line
  1. Insert a windows. You'll get this first error message
    14:34:20 Part::FeaturePython / Window: Links go out of the allowed scope
  1. Try to select the windows from treeview, you'll get the following error message :
    14:34:23 0 Selection.cpp(1666): Sub-object Sans_nom#Part.Wall.Window. not found
You can download an exemple file here : https://ftp.jipem.net/freecad/windows_error.FCStd
User avatar
ragohix769
Posts: 568
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: [bug] Could not select windows from wall into treeview if wall is in a part

Post by ragohix769 »

I confirm the printed errors.

Anyway, even with errors, I can IE select and move the window over the wall, so I don't know if it's only a warning or what.

Code: Select all

OS: Ubuntu 20.04.3 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: 88004e8dc91c0430bd31b3eba0efb1c038b0b3c5
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Italian/Italy (it_IT)
Attachments
wepz.png
wepz.png (176.06 KiB) Viewed 830 times
Last edited by ragohix769 on Mon Feb 14, 2022 2:33 pm, edited 2 times in total.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: [bug] Could not select windows from wall into treeview if wall is in a part

Post by carlopav »

Why di you start with a Std::Part? This Is not the intended workflow.
follow my experiments on BIM modelling for architecture design
jipem
Posts: 3
Joined: Sun Apr 21, 2019 9:37 am

Re: [bug] Could not select windows from wall into treeview if wall is in a part

Post by jipem »

Simply because it's possible :D
Honestly i'm not used to freecad Arch workbench, much more used to Part & Part Design for exemple. Where it's better to use parts to avoid big mess in bigger projects (at least my way of going, maybe not the best).
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: [bug] Could not select windows from wall into treeview if wall is in a part

Post by carlopav »

jipem wrote: Mon Feb 14, 2022 2:59 pm Simply because it's possible :D
And I'm not blaming you for doing so :)
But Std::Part establish a different coordinates system, while Arch should just use one global coordinate system. You'd better use Arch_BuildingPart to organize your project. Just do not expect it to behave exactly like a Std::Part ;)
follow my experiments on BIM modelling for architecture design
jipem
Posts: 3
Joined: Sun Apr 21, 2019 9:37 am

Re: [bug] Could not select windows from wall into treeview if wall is in a part

Post by jipem »

Thank you for the tip.
Anyway I'll spend more time on tutos & documentation & experiments as I have two Arch project to lead in following months.
Post Reply