Freecad 0.17 - Pad up to face - Datum Plane is invalid
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
@freedman, just checking in if you ended up raising this as a bug?
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
@vectronic
I wish you had attached your FreeCAD file showing the issue. I believe this was reported in the past, but I need to make sure with your file.
I wish you had attached your FreeCAD file showing the issue. I believe this was reported in the past, but I need to make sure with your file.
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
Is this the same thing Werner fixed recently? padding to a datum plane with pad to face? I think he said there was a bug that causing the dimension to be zero.
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
No, I believe this is the same bug as issue #1190.
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
At the least the issue the OP has reported is fixed.
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
Unfortunately, with a limitation: https://freecadweb.org/tracker/view.php?id=3177#c11687
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
I only have fixed the case where the padding fails if the sketch is the first element in the body and a datum is used to limit the pad. However, I added one small extension too: the limiting plane doesn't need to be a plane but it suffices to be planar which e.g. includes a B-spline surface if all its poles lie on a plane.NormandC wrote: ↑Mon Sep 03, 2018 8:21 am Unfortunately, with a limitation: https://freecadweb.org/tracker/view.php?id=3177#c11687
I did not pay any attention to use a line, a point as limiting element or that the datum plane does not need to be parallel. When looking at the old code then there is an explicit check that the datum plane must be parallel to the sketch. I did not modify this behaviour.
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
Thanks for the info. Should I create a separate Mantis report about it then? I really see no logical reason for purposely making this limitation.
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
Hello,
Now with added sample file (forgot that might be useful!)
If you change the "sticks_pad" pad parameters from "Up to face" to "Dimension" you will see a second item from the "sticks_sketch" sketch appear.
I realise now that this is different to the OP issue. Didn't mean to hijack the thread - still learning concepts in FreeCAD.
So I agree the issue I am experiencing is not
0003177: Part Design Pad should allow besides "Up to face" something like "Up to plane" as well
But can't say whether it is the same as:
0001190: Polar pattern doesn't obey UpToFirst/UpToLast/UpToFace pad features
Just tried this with:
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 5.10.1
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)
Now with added sample file (forgot that might be useful!)
If you change the "sticks_pad" pad parameters from "Up to face" to "Dimension" you will see a second item from the "sticks_sketch" sketch appear.
I realise now that this is different to the OP issue. Didn't mean to hijack the thread - still learning concepts in FreeCAD.
So I agree the issue I am experiencing is not
0003177: Part Design Pad should allow besides "Up to face" something like "Up to plane" as well
But can't say whether it is the same as:
0001190: Polar pattern doesn't obey UpToFirst/UpToLast/UpToFace pad features
Just tried this with:
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 5.10.1
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)
- Attachments
-
- test.FCStd
- (36.53 KiB) Downloaded 38 times
Re: Freecad 0.17 - Pad up to face - Datum Plane is invalid
Thanks for providing your file. Sorry I was mistaken, I believe your issue is not related to issue #1190 which relates to Polar Pattern, this is not the case here.
This is a separate, third issue that does not depend on the datum plane: even if you select a face on the body, it fails to pad the second cylinder.
BTW is there a specific reason why the second set of circles is not constrained to the horizontal sketch axis, but is on a line only angled 0.0165833 degrees from the horizontal? This angle value is so negligible as to suggest some error...
This is a separate, third issue that does not depend on the datum plane: even if you select a face on the body, it fails to pad the second cylinder.
BTW is there a specific reason why the second set of circles is not constrained to the horizontal sketch axis, but is on a line only angled 0.0165833 degrees from the horizontal? This angle value is so negligible as to suggest some error...