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

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

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

Post by carlopav »

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)
follow my experiments on BIM modelling for architecture design
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

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

Post by paullee »

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
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

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

Post by carlopav »

Don't know. But do you confirm?
follow my experiments on BIM modelling for architecture design
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

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

Post by paullee »

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 1361 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 1361 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 1361 times
Screenshot from 2019-12-01 08-29-56.png
Screenshot from 2019-12-01 08-29-56.png (180.9 KiB) Viewed 1361 times
Attachments
Test_ ArchWall On Rotated 90 deg Sketch.FCStd
(8.73 KiB) Downloaded 26 times
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

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

Post by paullee »

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

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

Post by paullee »

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 1355 times
Attachments
Test_ ArchWall On Rotated 90 deg Sketch_ on Git 18811_ Not Constrained.FCStd
(8.61 KiB) Downloaded 28 times
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

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

Post by carlopav »

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
follow my experiments on BIM modelling for architecture design
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

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

Post by carlopav »

vocx wrote: Sun Dec 01, 2019 11:40 pm Ping
Hi vocx, can you test it too?
follow my experiments on BIM modelling for architecture design
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

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

Post by vocx »

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.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

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

Post by carlopav »

Thanks both for testing. I'll try to reset preferences and I'll report back...
follow my experiments on BIM modelling for architecture design
Post Reply