FreeCad 0.17-Additive pipe/Sweep profile
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
- babaroga
- Posts: 180
- Joined: Sun Aug 14, 2016 6:52 pm
- Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
FreeCad 0.17-Additive pipe/Sweep profile
Hi,
OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8362 (Git)
Build type: Unknown
Branch: master
Hash: 1a0efaa491038a53faa7d7237d3dbe668ff930df
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
I am trying to get profile like this inside body It works when I use Part WB command Sweep.
Basic profile looks like this But when I try to achieve this in PartDesign WB with "Additive pipe" command, after selecting ruling edges, FreeCad Crash.
Sometimes it Crashes during selection of ruling edges, and sometimes it throws error "TopoDS::Shell". This error "TopoDS::Shell" is shown only if ruling edges forms closed shape. Anyway if I leave it like it is and try to cancel a command, Freecad crashes. On the other side if I remove last chosen segment I get unfinished profile.
Workaround is to make another "Additive pipe" and select missing segment
So, attached is a FreeCad file.
Steps to reproduce:
1. Open Freecad
2. Open File Barska_Stolica_err
3. Right click on Body and "Toggle Active body" to make it active
4. Switch to PartDesign WB
5. Select Sketch001 as profile
6. Select "Additive pipe" command (or icon with "Sweep" command)
7. On command menu, press "Add Edge" and select ruling edge segment. Repeat this until all segments are selected.
8. Press "OK" - and you get "TopoDS::Shell" error. Close it
9. Press "Cancel" and FreeCad crash
Am I doing something wrong? Is there some other way to draw this kind of element?
THX
OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8362 (Git)
Build type: Unknown
Branch: master
Hash: 1a0efaa491038a53faa7d7237d3dbe668ff930df
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
I am trying to get profile like this inside body It works when I use Part WB command Sweep.
Basic profile looks like this But when I try to achieve this in PartDesign WB with "Additive pipe" command, after selecting ruling edges, FreeCad Crash.
Sometimes it Crashes during selection of ruling edges, and sometimes it throws error "TopoDS::Shell". This error "TopoDS::Shell" is shown only if ruling edges forms closed shape. Anyway if I leave it like it is and try to cancel a command, Freecad crashes. On the other side if I remove last chosen segment I get unfinished profile.
Workaround is to make another "Additive pipe" and select missing segment
So, attached is a FreeCad file.
Steps to reproduce:
1. Open Freecad
2. Open File Barska_Stolica_err
3. Right click on Body and "Toggle Active body" to make it active
4. Switch to PartDesign WB
5. Select Sketch001 as profile
6. Select "Additive pipe" command (or icon with "Sweep" command)
7. On command menu, press "Add Edge" and select ruling edge segment. Repeat this until all segments are selected.
8. Press "OK" - and you get "TopoDS::Shell" error. Close it
9. Press "Cancel" and FreeCad crash
Am I doing something wrong? Is there some other way to draw this kind of element?
THX
- Attachments
-
- Barska_stolica_err.fcstd
- (19.47 KiB) Downloaded 64 times
Re: FreeCad 0.17-Additive pipe/Sweep profile
With your file, I can't go beyond 4 selected edges. Once I click "Add edge" for the 5th time and approach the mouse cursor over the edge I want to select, FreeCAD freezes for about 5 seconds then crashes.
I ran a stacktrace but it doesn't say much (I'm not running a Debug build though).
But I had no crash with a similar file last week.
I think this deserves to be reported on the bug tracker. http://www.freecadweb.org/tracker
Regarding the modelling method (irrelevant to current bug): I believe it would be preferable to add the fillets in the sketch. It is not a good idea to base sketch-based features on fillet or chamfer features, which should be applied at the very end of the model. Also, why create three fillet features when you could have created a single one?
P.S. By recreating your file from scratch, and integrating the fillets in the first sketch, I'm able to avoid the crash after selecting 4 edges for the Sweep feature path. I am still not able to make the last edge work so I created a new additive Sweep with one of the first sweep's face as profile, and the unfilled rounded edge as sweep path.
I ran a stacktrace but it doesn't say much (I'm not running a Debug build though).
Code: Select all
Can't find Origin for "Body"
Can't find Origin for "Body"
[Thread 0x7fffd55d3700 (LWP 3964) exited]
Coin warning in SoGLLazyElement::sendDiffuseByIndex(): index 24 out of bounds [0, 23] in node 0x231bb20: <noname> (this warning will only be printed once, but there might be more errors)
[Thread 0x7fff637fe700 (LWP 3973) exited]
[Thread 0x7fff62ffd700 (LWP 3974) exited]
freecad-daily: /build/freecad-daily-ldDVZD/freecad-daily-0.17~alpha1+git201609080021~ubuntu14.04.1/src/Mod/PartDesign/Gui/ViewProviderPipe.cpp :144 : void PartDesignGui::ViewProviderPipe::highlightReferences(bool, bool): l'assertion « idx > 0 » a échoué.
Program received signal SIGABRT, Aborted.
0x00007ffff4965c37 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
Yes, that was the same workaround I found for that other case. It seems like the PartDesign Sweep (either additive or subtractive) is unable to work on a closed path.babaroga wrote:Workaround is to make another "Additive pipe" and select missing segment
For myself I would use a subtractive sweep instead, of course that would mean making the base plate larger to compensate. I prefer to remove material rather than adding material... But I doubt it would impact this bug.babaroga wrote:Is there some other way to draw this kind of element?
I think this deserves to be reported on the bug tracker. http://www.freecadweb.org/tracker
Regarding the modelling method (irrelevant to current bug): I believe it would be preferable to add the fillets in the sketch. It is not a good idea to base sketch-based features on fillet or chamfer features, which should be applied at the very end of the model. Also, why create three fillet features when you could have created a single one?
P.S. By recreating your file from scratch, and integrating the fillets in the first sketch, I'm able to avoid the crash after selecting 4 edges for the Sweep feature path. I am still not able to make the last edge work so I created a new additive Sweep with one of the first sweep's face as profile, and the unfilled rounded edge as sweep path.
- Attachments
-
- Barska_stolica_normandc1.fcstd
- (23.32 KiB) Downloaded 69 times
- babaroga
- Posts: 180
- Joined: Sun Aug 14, 2016 6:52 pm
- Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
Re: FreeCad 0.17-Additive pipe/Sweep profile
So it is most probably bug. I thought so.
Thanks for help!
I started with that but it was crashing after selecting first edge.NormandC wrote:For myself I would use a subtractive sweep instead, of course that would mean making the base plate larger to compensate. I prefer to remove material rather than adding material... But I doubt it would impact this bug.
Yeah, I know. I was testing different approaches for 3-4 hours, so probably it was some leftover. Yesterday I crashed FreeCad for exactly 67 times, with this "Sweep profile" thing.NormandC wrote:Also, why create three fillet features when you could have created a single one?
I will learn how to do itNormandC wrote:I think this deserves to be reported on the bug tracker. http://www.freecadweb.org/tracker
Thanks for help!
Re: FreeCad 0.17-Additive pipe/Sweep profile
Surely you are aware that you are using a development snapshot that is nowhere near ready for wide use. It is provided for testing and bug reporting. And it is clearly explained in the Releases page. https://github.com/FreeCAD/FreeCAD/rele ... g/0.17_prebabaroga wrote:Yesterday I crashed FreeCad for exactly 67 times, with this "Sweep profile" thing.
If your intent is to use FreeCAD for personal projects then you should stick with the latest available release which is 0.16.6703 on Ubuntu.
Persisting with 67 program crashes borders on obsession...
- babaroga
- Posts: 180
- Joined: Sun Aug 14, 2016 6:52 pm
- Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
Re: FreeCad 0.17-Additive pipe/Sweep profile
Oh yes, I know. I repeat it 67 times trying to find what exactly is triggering crash. I tried with different shapes, different sizes, etc.NormandC wrote:Surely you are aware that you are using a development snapshot that is nowhere near ready for wide use. It is provided for testing and bug reporting. And it is clearly explained in the Releases page. https://github.com/FreeCAD/FreeCAD/rele ... g/0.17_pre
But you know, I am stubborn.
Maybe I was going to spend even more time crashing it, if my wife didn't kick me out from computer.
Look, some months ago I also found similar bug in SolidWorks.
-
- Veteran
- Posts: 7790
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
Re: FreeCad 0.17-Additive pipe/Sweep profile
Please check my Freecad file:
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
OS: Ubuntu 16.04.1 LTSWord size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Re: FreeCad 0.17-Additive pipe/Sweep profile
Thanks for testing and reporting the bug. The PartDesign sweep has seen many changes and works quite differently than the part one, so it is quite likely that a few bugs occure. During development I think I never thought about closed wire paths
- babaroga
- Posts: 180
- Joined: Sun Aug 14, 2016 6:52 pm
- Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
Re: FreeCad 0.17-Additive pipe/Sweep profile
Yes, I know this Sweep command from Part WB works.
I was trying to do same thing with Additive Sweep from PartDesign Next workbench.
Anyway thank you for your effort.
I was trying to do same thing with Additive Sweep from PartDesign Next workbench.
Anyway thank you for your effort.
- babaroga
- Posts: 180
- Joined: Sun Aug 14, 2016 6:52 pm
- Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
Re: FreeCad 0.17-Additive pipe/Sweep profile
Even SolidWorks sometimes have hickups on stuff like this. Anyway, FreeCad is becoming very useful and I like it. There is lot of things (eg. furniture fittings) that I still prefer to draw in FreeCad because it is faster, and then export it to some big Assembly in Solidworks.ickby wrote:Thanks for testing and reporting the bug. The PartDesign sweep has seen many changes and works quite differently than the part one, so it is quite likely that a few bugs occure. During development I think I never thought about closed wire paths
Sorry it is a little bit off topic but I had to share my thoughts.
- babaroga
- Posts: 180
- Joined: Sun Aug 14, 2016 6:52 pm
- Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina
Re: FreeCad 0.17-Additive pipe/Sweep profile
OK, now same look but different approach
OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8383 (Git)
Build type: Unknown
Branch: master
Hash: eac69724aab11e0dc872c6bc2508ad12f5047234
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8383 (Git)
Build type: Unknown
Branch: master
Hash: eac69724aab11e0dc872c6bc2508ad12f5047234
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
- Attachments
-
- Bar stool v2.fcstd
- (292.4 KiB) Downloaded 57 times