PartDesign Sweep: Strange Behavior

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!
engdham
Posts: 47
Joined: Sun Jul 15, 2018 2:08 am
Location: Rondonópolis - MT - Brazil
Contact:

PartDesign Sweep: Strange Behavior

Post by engdham »

Hello,

I'm trying to make some ducts using PartDesign Sweep tool, but the result's are weird:
PartDesignSweep.jpeg
PartDesignSweep.jpeg (40.46 KiB) Viewed 1079 times
The profile orientation is set to default, but no option really changes the results (even frenet).

The result using Part's Sweep is much better:
PartSweep.jpeg
PartSweep.jpeg (46.5 KiB) Viewed 1079 times
This was done in FreeCAD 0.18.4 in Windows 10 64 bits (1903 update).
chrisb
Veteran
Posts: 54311
Joined: Tue Mar 17, 2015 9:14 am

Re: PartDesign Sweep: Strange Behavior

Post by chrisb »

Please upload the PartDesign file.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
engdham
Posts: 47
Joined: Sun Jul 15, 2018 2:08 am
Location: Rondonópolis - MT - Brazil
Contact:

Re: PartDesign Sweep: Strange Behavior

Post by engdham »

Hello, chrisb,

this is the file,

the Part container have the Part Sweep (which did not create a hollow body).

the Body container a PartDesign AdditivePipe.
Attachments
Duto - 0002-0241-2019-TMI.FCStd
(34.71 KiB) Downloaded 45 times
chrisb
Veteran
Posts: 54311
Joined: Tue Mar 17, 2015 9:14 am

Re: PartDesign Sweep: Strange Behavior

Post by chrisb »

I think the problem is, that the path creates self intersections, but I have no idea why it works in Part workbench. We may need someone with more insight.
werner wrote:ping
DeepSOIC wrote:ping
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
ppemawm
Veteran
Posts: 1240
Joined: Fri May 17, 2013 3:54 pm
Location: New York NY USA

Re: PartDesign Sweep: Strange Behavior

Post by ppemawm »

engdham wrote: Thu Dec 26, 2019 6:27 pm The profile orientation is set to default, but no option really changes the results (even frenet).
Corner transition should be 'Right Corner' since the path is mitered, Orientation Mode Standard or Frenet, as shown below:

Picture1.png
Picture1.png (110.84 KiB) Viewed 966 times
Duto - 0002-0241-2019-TMI.1.FCStd
(68.2 KiB) Downloaded 66 times
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17352 (Git)
Build type: Release
Branch: master
Hash: ec0049921b813ee78c1fd4ea304e70904a3208f7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)


Also,OK with:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 +17 (Git)
Build type: Release
Branch: (HEAD detached at 0.18.1)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
Last edited by ppemawm on Fri Jan 03, 2020 1:06 am, edited 1 time in total.
"It is a poor workman who blames his tools..." ;)
chrisb
Veteran
Posts: 54311
Joined: Tue Mar 17, 2015 9:14 am

Re: PartDesign Sweep: Strange Behavior

Post by chrisb »

ppemawm wrote: Fri Jan 03, 2020 12:39 am Corner transition should be 'Right Corner' since the path is mitered, Orientation Mode Standard or Frenet, as shown below:
That's what I tried, and didn't succeed. Can you please upload your file? I will investigate it tomorrow.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
ppemawm
Veteran
Posts: 1240
Joined: Fri May 17, 2013 3:54 pm
Location: New York NY USA

Re: PartDesign Sweep: Strange Behavior

Post by ppemawm »

chrisb wrote: Fri Jan 03, 2020 12:49 am Can you please upload your file?
Editted my post to include file.
"It is a poor workman who blames his tools..." ;)
chrisb
Veteran
Posts: 54311
Joined: Tue Mar 17, 2015 9:14 am

Re: PartDesign Sweep: Strange Behavior

Post by chrisb »

ppemawm wrote: Fri Jan 03, 2020 1:08 am Edited my post to include file.
Thanks for uploading. If I recompute your file I get an error:

Code: Select all

37366.8 <App> Document.cpp(3462): Failed to recompute Duto___0002_0241_2019_TMI_1#AdditivePipe: BRep_API: command not done
Recompute failed! Please check report view.
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19066 (Git)
Build type: Release
Branch: master
Hash: c766d757912ded11d41bc825f82c47a8428396ad
Python version: 3.7.6
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54311
Joined: Tue Mar 17, 2015 9:14 am

Re: PartDesign Sweep: Strange Behavior

Post by chrisb »

Error "BRep_API: Command not done" also in these versions. Can others please test on Windows and Linux?

Pre-Big-Merge:
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17681 (Git)
Build type: Release
Branch: master
Hash: e94af7ff5e873f263cac51d7d47df68eca183250
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)

018.4:
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17681 (Git)
Build type: Release
Branch: master
Hash: e94af7ff5e873f263cac51d7d47df68eca183250
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: PartDesign Sweep: Strange Behavior

Post by openBrain »

Perfectly recomputes here with :
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18934 (Git)
Build type: Release
Branch: master
Hash: 540aeada3a5d1e460cb30671af4bb9a747def942
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

EDIT : and also with
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

Can test on Linux later on if needed. ;)
Post Reply