Draft.Move copy=true on a window removes WindowParts array(fyi)

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
sanderboer
Posts: 26
Joined: Fri Aug 30, 2019 9:47 am

Draft.Move copy=true on a window removes WindowParts array(fyi)

Post by sanderboer »

Hi,

I noticed that when I copy a window with draft.Move copy=true, the copy has an empty WindowParts array.

Mind you, when I do a edit-> duplicate and move that duplicate (make sure 'copy' is unchecked), all is fine.

S
sanderboer
Posts: 26
Joined: Fri Aug 30, 2019 9:47 am

Re: Draft.Move copy=true on a window removes WindowParts array(fyi)

Post by sanderboer »

Wait, am I the only one experiencing this ?

- insert a window in the scene (not necessarily in wall),
- copy it with the Draft copy tool

Aaaaand it's gone (the copy that is).

If you inspect the copy, you'll notice all the components are gone.

Copying windows is a pain for me, am I doing something iffy ? I
User avatar
Roy_043
Veteran
Posts: 8578
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft.Move copy=true on a window removes WindowParts array(fyi)

Post by Roy_043 »

Confirmed.
This issue seems to be related:
https://forum.freecadweb.org/viewtopic. ... 73#p326373

Code: Select all

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18024 (Git)
Build type: Release
Branch: master
Hash: 9cc8f6eb666b0a0ae2dc256f7bc0beb8c987710c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draft.Move copy=true on a window removes WindowParts array(fyi)

Post by yorik »

I can't test right now (crashing when adding a window, must investigate...), but this should be fixed in git commit 617e8b5f91
User avatar
Roy_043
Veteran
Posts: 8578
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft.Move copy=true on a window removes WindowParts array(fyi)

Post by Roy_043 »

I can confirm that the "WindowParts array" issue is fixed.

Note that the copy of the window uses the same sketch as the original. Which is apparently a separate issue but definitely seems related to this one (already mentioned):
https://forum.freecadweb.org/viewtopic.php?f=23&t=38491

Code: Select all

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18504 (Git)
Build type: Release
Branch: master
Hash: f66023a646db4b2502bb3637897443b3525ca3c7
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
Post Reply