Alignment error of the "Select Floor" function

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
domad
Veteran
Posts: 2029
Joined: Mon Jun 22, 2020 12:16 pm

Alignment error of the "Select Floor" function

Post by domad »

Greetings to the Community!
In order to create an animated * .gif that would show how to obtain a precise alignment of an "empty" Sketch, I came across this "serious" work plane alignment error through the "Select Plane" function.

Here are four example cases:

a) solid with hexagonal base obtained with "Part Design"
- using two coplanar edges, to define the plane, the work plane does not align, the same behavior if you use an edge and a vertex or three vertices.
- using a face, to define the plane, the plane aligns correctly

b) solid with a square base obtained from primitives "Part"
- using two coplanar edges, to define the plane, the work plane aligns correctly, the same behavior if you use an edge and a vertex or three vertices.
- using a face, to define the plane, the plane aligns correctly

c) solid with a square base obtained from "Draft" (face) + "Part" (extrusion)
- using two coplanar edges, to define the plane, the work plane aligns correctly, the same behavior if you
- using an edge and a vertex or three vertices.
using a face, to define the plane, the plane aligns correctly;

d) prism obtained using the "Additive Primitives" of "Part Design"
- using two coplanar edges, to define the plane, the work plane does not align, the same behavior if you use an edge and a vertex or three vertices.
- using a face, to define the plane, the plane aligns correctly

The animated * .gifs show the four cases mentioned above.

Some of the moderators / developers could kindly investigate (or open a ticket) about this bad and serious behavior of the "Align plane" tool when using solids modeled with "Part Design".
Thank you!

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.29365 (Git) AppImage
Build type: Release
Branch: master
Hash: 59b945dcc329303ad781075ecf30544aab909415
Python 3.10.5, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: Local
Attachments
solid with hexagonal base obtained with &quot;Part Design&quot;<br />- using two coplanar edges, to define the plane, the work plane does not align, the same behavior if you use an edge and a vertex or three vertices.<br />- using a face, to define the plane, the plane aligns correctly
solid with hexagonal base obtained with "Part Design"
- using two coplanar edges, to define the plane, the work plane does not align, the same behavior if you use an edge and a vertex or three vertices.
- using a face, to define the plane, the plane aligns correctly
Case_a.gif (955.52 KiB) Viewed 1034 times
solid with a square base obtained from primitives &quot;Part&quot;<br />- using two coplanar edges, to define the plane, the work plane aligns correctly, the same behavior if you use an edge and a vertex or three vertices.<br />- using a face, to define the plane, the plane aligns correctly
solid with a square base obtained from primitives "Part"
- using two coplanar edges, to define the plane, the work plane aligns correctly, the same behavior if you use an edge and a vertex or three vertices.
- using a face, to define the plane, the plane aligns correctly
Case _b.gif (788.33 KiB) Viewed 1034 times
solid with a square base obtained from &quot;Draft&quot; (face) + &quot;Part&quot; (extrusion)<br />- using two coplanar edges, to define the plane, the work plane aligns correctly, the same behavior if you<br />- using an edge and a vertex or three vertices.<br />using a face, to define the plane, the plane aligns correctly;
solid with a square base obtained from "Draft" (face) + "Part" (extrusion)
- using two coplanar edges, to define the plane, the work plane aligns correctly, the same behavior if you
- using an edge and a vertex or three vertices.
using a face, to define the plane, the plane aligns correctly;
Case_c.gif (583.9 KiB) Viewed 1034 times
prism obtained using the &quot;Additive Primitives&quot; of &quot;Part Design&quot;<br />- using two coplanar edges, to define the plane, the work plane does not align, the same behavior if you use an edge and a vertex or three vertices.<br />- using a face, to define the plane, the plane aligns correctly
prism obtained using the "Additive Primitives" of "Part Design"
- using two coplanar edges, to define the plane, the work plane does not align, the same behavior if you use an edge and a vertex or three vertices.
- using a face, to define the plane, the plane aligns correctly
Case_d.gif (885.89 KiB) Viewed 1034 times
domad
Veteran
Posts: 2029
Joined: Mon Jun 22, 2020 12:16 pm

Re: Alignment error of the "Select Floor" function

Post by domad »

Greetings to the Community!
Version too

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon / cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.29393 (Git) AppImage
Build type: Release
Branch: master
Hash: 6820e0a9ec85203a6f342ca72a2ff8fd417beaf1
Python 3.10.5, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Local: Local
has the same problem
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: Alignment error of the "Select Floor" function

Post by adrianinsaval »

This should be reported in the Draft forum since it's the Draft working plane that misbehaves, not Part Design.
Post Reply