Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

A forum dedicated to the Draft, Arch and BIM workbenches development.
carlopav
Posts: 364
Joined: Mon Dec 31, 2018 1:49 pm

Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby carlopav » Sat Nov 30, 2019 12:53 pm

Noticed a strange thing during my experiments:
- open new document
- create a sketch with sketcher
- draw a single horizontal line segment, that should be some meters long
- close the sketch and open arch module
- rotate the sketch by 90 degrees using Placement Angle in the property panel (the problem shows only with 90 deg rotation)
- create a wall based on the sketch
- the wall seems to try to modify the sketch
- Consolle promts: "Unnamed#Sketch still touched after recompute"
- if recomputed the wall move in strange ways

can someone test and eventually confirm?

Code: Select all

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18811 (Git)
Build type: Release
Branch: master
Hash: b809867021deb37be1039dab37b9fe1cafab254e
Python version: 3.6.7
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
paullee
Posts: 1842
Joined: Wed May 04, 2016 3:58 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby paullee » Sat Nov 30, 2019 4:52 pm

carlopav wrote:
Sat Nov 30, 2019 12:53 pm
Noticed a strange thing during my experiments:
- open new document
- create a sketch with sketcher
- draw a single horizontal line segment, that should be some meters long
- close the sketch and open arch module
- rotate the sketch by 90 degrees using Placement Angle in the property panel (the problem shows only with 90 deg rotation)
- create a wall based on the sketch
- the wall seems to try to modify the sketch
- Consolle promts: "Unnamed#Sketch still touched after recompute"
- if recomputed the wall move in strange ways

can someone test and eventually confirm?
Something related ?


Previous walls change when a new wall is created
carlopav
Posts: 364
Joined: Mon Dec 31, 2018 1:49 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby carlopav » Sat Nov 30, 2019 6:58 pm

Don't know. But do you confirm?
paullee
Posts: 1842
Joined: Wed May 04, 2016 3:58 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby paullee » Sun Dec 01, 2019 12:34 am

carlopav wrote:
Sat Nov 30, 2019 12:53 pm

Code: Select all

Version: 0.19.18811 (Git)
I am working on Gui 18684, seem nothing wrong. Downloading Git 18811 to further test -
carlopav wrote:
Sat Nov 30, 2019 12:53 pm
- draw a single horizontal line segment, that should be some meters long
Screenshot from 2019-12-01 08-27-01.png
Screenshot from 2019-12-01 08-27-01.png (191.21 KiB) Viewed 234 times
.
carlopav wrote:
Sat Nov 30, 2019 12:53 pm
- rotate the sketch by 90 degrees using Placement Angle in the property panel (the problem shows only with 90 deg rotation)
.
Screenshot from 2019-12-01 08-28-07.png
Screenshot from 2019-12-01 08-28-07.png (175.3 KiB) Viewed 234 times
carlopav wrote:
Sat Nov 30, 2019 12:53 pm
- create a wall based on the sketch
- the wall seems to try to modify the sketch
- Consolle promts: "Unnamed#Sketch still touched after recompute"
- if recomputed the wall move in strange ways
Screenshot from 2019-12-01 08-29-17.png
Screenshot from 2019-12-01 08-29-17.png (161.38 KiB) Viewed 234 times
Screenshot from 2019-12-01 08-29-56.png
Screenshot from 2019-12-01 08-29-56.png (180.9 KiB) Viewed 234 times
Attachments
Test_ ArchWall On Rotated 90 deg Sketch.FCStd
(8.73 KiB) Downloaded 2 times
paullee
Posts: 1842
Joined: Wed May 04, 2016 3:58 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby paullee » Sun Dec 01, 2019 12:40 am

OK, I note I have the Sketch edge horizontally constrained automatically ... will see any difference if not
paullee
Posts: 1842
Joined: Wed May 04, 2016 3:58 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby paullee » Sun Dec 01, 2019 12:46 am

Ok, tested

- on Git 0.19-18811
( FreeCAD_0.19-18811-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage )

- Sketch edge Not horizontally constrained

Can't confirm your problem - the other problems shown in the link I show is kind of random too
Screenshot from 2019-12-01 08-43-00.png
Screenshot from 2019-12-01 08-43-00.png (174.61 KiB) Viewed 228 times
Attachments
Test_ ArchWall On Rotated 90 deg Sketch_ on Git 18811_ Not Constrained.FCStd
(8.61 KiB) Downloaded 4 times
carlopav
Posts: 364
Joined: Mon Dec 31, 2018 1:49 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby carlopav » Sun Dec 01, 2019 6:15 pm

That's super strange.
If I open your file, the problem does not show up. But if I create a new sketch in the same file, it shows up again. If I close the file and open it again also the new sketch seems ok. It's marked for recompute, i recompute it once, it bounces in the right position, and since that time on, everything ok... :shock: :o
carlopav
Posts: 364
Joined: Mon Dec 31, 2018 1:49 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby carlopav » Mon Dec 02, 2019 7:39 pm

vocx wrote:
Sun Dec 01, 2019 11:40 pm
Ping
Hi vocx, can you test it too?
vocx
Posts: 1915
Joined: Thu Oct 18, 2018 9:18 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby vocx » Tue Dec 03, 2019 1:21 am

carlopav wrote:
Mon Dec 02, 2019 7:39 pm
Hi vocx, can you test it too?
I quickly tested the steps from your first post but didn't see the error messages that you indicate.

My hard drive crashed so I just finished re-installing my Ubuntu and FreeCAD in a new hard drive. I can test more once I configure my new system.

I tested with today's 0.19 freecad-daily, 0.19~pre2~201912020806~ubuntu18.04.1.
carlopav
Posts: 364
Joined: Mon Dec 31, 2018 1:49 pm

Re: Wall based on WallTrace, bug on Sketch.Placement.Rotation.Angle=90

Postby carlopav » Tue Dec 03, 2019 7:24 am

Thanks both for testing. I'll try to reset preferences and I'll report back...