window sketch change: Bug or Feature?

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
MIngB
Posts: 30
Joined: Sat Jan 28, 2017 5:01 pm

window sketch change: Bug or Feature?

Post by MIngB »

Hi,

changing the basis of a window to another sketch, keeps the extrusion of previous sketch, while the position is set according to the new Sketch.
The attached picture shows the resulting offset Angle.

with regards,
MIngB

OS: "NAME=Gentoo"
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.10423 (Git)
Build type: Release
Branch: (HEAD detached at 45bf8ed)
Hash: 45bf8ed91ed1bd65d7c5750685f8c435c9b092cf
Python version: 2.7.12
Qt version: 4.8.6
Coin version: 3.1.3
OCC version: 6.9.1
Attachments
windowSketchChange.fcstd
(15.7 KiB) Downloaded 30 times
windowExtrusion.png
windowExtrusion.png (7.13 KiB) Viewed 1104 times
MIngB
Posts: 30
Joined: Sat Jan 28, 2017 5:01 pm

Re: window sketch change: Bug or Feature?

Post by MIngB »

Hi,

there's something related to that in https://forum.freecadweb.org/viewtopic. ... 4&start=10

Furthermore I got a lookup of FreeCAD (100% CPU forever) by changing the Base to a 90° rotated sketch.

In the example (attachment) this will happen changing Base of Window to Sketch003.

with regards


OS: "NAME=Gentoo"
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.10460 (Git)
Build type: Release
Branch: (HEAD detached at 91c59c7)
Hash: 91c59c7910436c44ede608e29d9a90a287121a11
Python version: 2.7.12
Qt version: 4.8.6
Coin version: 3.1.3
OCC version: 6.9.1
Attachments
windowSketchChange.fcstd
(19.79 KiB) Downloaded 28 times
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: window sketch change: Bug or Feature?

Post by yorik »

Both the base sketch and the window object have independent placements. When building the window, the base sketch is extruded in the Normal direction, then the placement of the window object is added to give the final position. So indeed if you change the base sketch, you can get unpredictable results as their both placements will be added together and form a new combination.

The best way to sort that out is probably to nullify the window placement (put everything to zero), then move it manually again if needed. You might also need to set he Normal property manually.
Post Reply