FreeCAD / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
19.42k stars 4.01k forks source link

PartDesign: 3D View/Task dialog issue in Pad/Pocket with Up to face Type #15576

Open marcuspollio opened 2 months ago

marcuspollio commented 2 months ago

Is there an existing issue for this?

Problem description

In the Part Design workbench, with the Pad and Pocket tools based on a selected sketch, the Type parameters has issues when switching between possible Types, choosing "Up to face" once and choosing another Type.

1) In the Start Dialog, choose the Parametric Part option (Part Design WB) 2) In the default Body, create a simple base sketch on an origin plane (e.g. XY plane). 3) Pad this sketch so you have a solid shape. 4) Create another simple sketch, either from an origin plane (then offset it based on the Pad length), or from a selected face of the Pad, or a datum plane. Your choice =D 5) Select this second sketch and choose the Pad or Pocket tool. 6) In the task dialog of the Pad or Pocket tool, the default Type is "Dimension". 7) The 3D View shows the resulting operation. See the first picture below. 8) Switch between the different available Types one after the other, coming back to the default "Dimension" Type to see the default behavior described in the previous point 7. 9) If switching to "Up to face" Type without selecting a face and back to "Dimension" Type, the behavior described above at point 7 is lost. See the second picture below.

Default behavior with "Dimension" Type :

FC-PD1

Behavior after switching to "Up to face" Type without selecting a face and back to "Dimension" Type :

FC-PD2

Full version info

OS: GNU/Linux Ubuntu 22.04 LTS (DE: Gnome/pop)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.38317 (Git)
Build type: Release
Branch: main
Hash: ec586668d9794afdfe574887f16c215f744ee8c0
Python 3.10.12, Qt 5.15.3, Coin 4.0.0, Vtk , OCC 7.6.3

Subproject(s) affected?

PartDesign

Anything else?

No response

Code of Conduct

maxwxyz commented 2 months ago

@FlachyJoe FYI