Closed rmu75 closed 1 month ago
Please add your full About info so we know what version of FreeCAD and SheetMetal you're using
OS: KDE neon 6.1 (KDE/plasma) Word size of FreeCAD: 64-bit Version: 1.0.0RC2.38895 (Git) Build type: Unknown Branch: releases/FreeCAD-1-0 Hash: 6c64197cdb9ec85a81b854f6f06c33e78e49d936 Python 3.10.12, Qt 5.15.14, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3 Locale: German/Austria (de_AT) Stylesheet/Theme/QtStyle: OpenLight.qss/OpenLight/Fusion Installed mods:
@rmu75 , can you attach a file demonstrating the puzzling behaviour?
Example demonstrating the issue. Base shape, tub, 2mm thickness, 3mm radius vs. 3.01mm radius.
OS: KDE neon 6.2 (KDE/plasma) Word size of FreeCAD: 64-bit Version: 1.0.0RC2.38806 (Git) AppImage Build type: Release Branch: (HEAD detached at 1.0rc2) Hash: 3d63fc6c2f665a8d5e6468845a419bcac80756c7 Python 3.11.9, Qt 5.15.13, Coin 4.0.3, Vtk 9.2.6, OCC 7.7.2 Locale: German/Austria (de_AT) Stylesheet/Theme/QtStyle: FreeCAD Light.qss/FreeCAD Light/Fusion Installed mods:
Thanks, I will investigate. This is not an auto miter issue. auto miter is only on hat and box.
it's the extend distance property default of 5mm that can't be changed that leads to that.
https://github.com/shaise/FreeCAD_SheetMetal/blob/master/SheetMetalCmd.py#L884
I think the Base object needs a property like https://github.com/shaise/FreeCAD_SheetMetal/blob/master/SheetMetalCmd.py#L1489 and probably related stuff.
I see. Thanks. Then for the base object, I will just auto update this value to always work, since either you want it or not. I don't want to over complicate the base shape.
Yes that makes sense. I can work on that if you want.
With the latest version it should work now.
@rmu75 can you reproduce with the fix ?
Thanks -- seems to work.
It seems BaseShape is missing some properties from SmBendWall like "Auto Miter Minimum Gap" or "Auto Miter maximum Extend Distance" which leads to somewhat puzzling behaviour. Is there some rationale or would a patch be welcome that fixes that?