Pad to a face with simple vs complex sketch

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
ManuC
Posts: 4
Joined: Tue Nov 20, 2018 10:22 pm

Pad to a face with simple vs complex sketch

Postby ManuC » Tue Nov 20, 2018 11:23 pm

Hello,

I am having an issue with the pad tool. The padding work with a simple primitive (circle) but doesn't seem to work with a more complicated shape (two arcs joined).

I have attached the two files demonstrating the issue. In both case the padding is Pad003 of Sketch011 in the Housing body.
The simple file demonstrates that the padding to first face works, the complex file shows that the padding works with a dimension but if you try to execute to first face the padding fails the error message: Pad Resulting shape is empty. Same failure with up to face.

Any help would be greatly appreciated.
Attachments
pad - complex.FCStd
(837.71 KiB) Downloaded 17 times
pad - simple.FCStd
(871.56 KiB) Downloaded 14 times
Bance
Posts: 206
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Pad to a face with simple vs complex sketch

Postby Bance » Wed Nov 21, 2018 9:11 am

Works OK for me!

OS: Linux Mint 18.2 Sonya
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15190 (Git)
Build type: Release
Branch: master
Hash: c18785fdb31e378500440de23dcf648a2c79dc5f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
ManuC
Posts: 4
Joined: Tue Nov 20, 2018 10:22 pm

Re: Pad to a face with simple vs complex sketch

Postby ManuC » Wed Nov 21, 2018 12:52 pm

Many thanks for the quick check.
Just to confirm when you open the complex file and you change the pad003 type parameter from Dimension to To first and click OK you have no error message and the padding is correctly done ?

I will try running it in a linux VM.

For the momentI am running on a mac, here are the details:

OS: macOS 10.14
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14976 (Git)
Build type: Release
Branch: (HEAD detached at e79a19828)
Hash: e79a19828e2e92269ff96110dfeadaa245ad17c2
Python version: 2.7.15
Qt version: 5.11.2
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedKingdom (en_GB)
Bance
Posts: 206
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Pad to a face with simple vs complex sketch

Postby Bance » Wed Nov 21, 2018 1:26 pm

Exactly, both up to face and to first work with no errors...

Steve.
tom
Posts: 65
Joined: Sun Mar 29, 2015 9:20 pm

Re: Pad to a face with simple vs complex sketch

Postby tom » Wed Nov 21, 2018 6:24 pm

On OSX I can confirm the problem. Probably it is related to the older OCC version.

Tom


OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15246 (Git)
Build type: Release
Branch: master
Hash: 0f2830609cb9d31df6f870b3653593828d00ced4
Python version: 2.7.15
Qt version: 5.11.1
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
Bance
Posts: 206
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Pad to a face with simple vs complex sketch

Postby Bance » Wed Nov 21, 2018 7:38 pm

ManuC wrote:
Tue Nov 20, 2018 11:23 pm
Maybe append or prepend your title with [Bug on MAC OS?]

Steve.
kisolre
Posts: 1359
Joined: Wed Nov 21, 2018 1:13 pm

Re: Pad to a face with simple vs complex sketch

Postby kisolre » Wed Nov 21, 2018 8:36 pm

I also checked and it works Ok under Windows.

OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15169 (Git)
Build type: Release
Branch: master
Hash: 7d197ce829600e308dd0e85aeb1a4ac9376ff286
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Bulgarian/Bulgaria (bg_BG)
User avatar
GlouGlou
Posts: 1584
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Pad to a face with simple vs complex sketch

Postby GlouGlou » Wed Nov 21, 2018 9:32 pm

Same error with me.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15214 (Git)
Build type: Release
Branch: master
Hash: b3721f8613b975be13e1801f499fa06f6f0ad836
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: French/France (fr_FR)

Where did you get the 7.3?
kisolre
Posts: 1359
Joined: Wed Nov 21, 2018 1:13 pm

Re: Pad to a face with simple vs complex sketch

Postby kisolre » Thu Nov 22, 2018 6:30 am

It is the latest Conda_Py3QT5-WinVS2015_x64 build. Could you try that under MacOS? I mean Conda_Py3Qt5_glibc2.12-x86_64.AppImage?
ManuC
Posts: 4
Joined: Tue Nov 20, 2018 10:22 pm

[Bug on OCC 7.2version?] Pad to a face with simple vs complex sketch

Postby ManuC » Thu Nov 22, 2018 7:55 am

Thanks for all the replies.

I have checked on a linux VM (details below) and it works fine there. I think it's safe to assume it's a bug maybe related to OCC since GlouGlou has the same error on Windows.

[EDIT] I can't run the AppImage file under MacOS.

Could an admin move the thread to a more relevant software development forum ? Or should I re-open one there ?

OS: Linux Mint 19 Tara
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15221 (Git) AppImage
Build type: Release
Branch: master
Hash: fc5b6288c6eb4fe89192f63f1fbdf4a43c0fad27
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)