Hi there,
This is my first post in this forum as I am new to FreeCad. I am experiencing a crash on my Mac running MacOS 12.5 with FreeCad 0.20.29177 when I try to create a sweep. I was able to create an easy one on a straight line but in this case I need to model a rope passing through two pulleys. So I used to polyline tool to prepare the path, then I added a simple 1 mm circle at one end and tried to use the sweep utility to create the rope. I am able to choose the profile and the path, but right after clicking then "OK" button the application crashes. I tried to select/unselect "Create solid" and "Frenet" but that does not change a thing.
I have attached a file with only the path (Sketch002) and the profile (Sketch003) so that you could try to reproduce the issue. Am I doing something wrong?
Thank you for your help!
Cedric
Crash when trying to create a sweep
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!
Crash when trying to create a sweep
- Attachments
-
- Sweep crash.FCStd
- (6.06 KiB) Downloaded 17 times
Re: Crash when trying to create a sweep
If your trying to do it in PartDesign you need to create a Body and put the sketches in it.
Re: Crash when trying to create a sweep
dunno why it crashes, will let someone else figure that one out...
not hard to make it work though...
not a good idea to attach sketches to a vertex, so ditched that...
moved the circle so that it was perpendicular, easiest way to get that done was to take the other endpoint...
not sure if it matters in this case but put a radius in the one corner that was lacking it.
oh, and fixed missing coincides and made all the connected sketch elements tangent as well
not hard to make it work though...
not a good idea to attach sketches to a vertex, so ditched that...
moved the circle so that it was perpendicular, easiest way to get that done was to take the other endpoint...
not sure if it matters in this case but put a radius in the one corner that was lacking it.
oh, and fixed missing coincides and made all the connected sketch elements tangent as well
- Attachments
-
- Sweep crash mod.FCStd
- (10.09 KiB) Downloaded 11 times
- papyblaise
- Veteran
- Posts: 8024
- Joined: Thu Jun 13, 2019 4:28 pm
- Location: France
Re: Crash when trying to create a sweep
your path sketch is all broken puzzle way
- Attachments
-
- Sweep crash.FCStd
- (11.25 KiB) Downloaded 9 times
-
- sweep crash.JPG (13.96 KiB) Viewed 555 times
- Shalmeneser
- Veteran
- Posts: 9585
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: Crash when trying to create a sweep
For your 1st post, can you follow the rules : use the link in the red banner above to give us your full version.
* Why are there no constraints in your path ?
* Why the different parts of the path are not tangent or coincident ?
No crash for me.
Modifying the transition value, it works better (transformed or roudnd corner).
* Why are there no constraints in your path ?
* Why the different parts of the path are not tangent or coincident ?
No crash for me.
Modifying the transition value, it works better (transformed or roudnd corner).
Code: Select all
OS: Windows 10 Version 1809
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: French/France (fr_FR)
Installed mods:
* fasteners 0.3.50
* fcgear 1.0.0
* Manipulator 1.4.9
* sheetmetal 0.2.53
Re: Crash when trying to create a sweep
checked a bit further the behaviour...
making the sweep in pd - works out of the box, but there are some recompute failures reported...
making the sweep in part - well it segfaults as is (even if not all edges are selected as path), the minimal change is to a) fix coincidents b) constrain the arc transitions to be tangent (that will however produce a solid that does not pass bop-checker, easy to fix though by adding a fillet on the single sharp corner that is there)
in any case, having a segfault for the part-sweep is not the nicest thing
making the sweep in pd - works out of the box, but there are some recompute failures reported...
making the sweep in part - well it segfaults as is (even if not all edges are selected as path), the minimal change is to a) fix coincidents b) constrain the arc transitions to be tangent (that will however produce a solid that does not pass bop-checker, easy to fix though by adding a fillet on the single sharp corner that is there)
in any case, having a segfault for the part-sweep is not the nicest thing
Re: Crash when trying to create a sweep
@Shalmeneser : my bad, I am really sorry, I read the article you mentioned and I thought giving the version in the title bar was enough. I will do better next time!
The path was showing correctly on the screen so I thought the sweep would work. But thanks to all of you I do understand now that constraints are mandatory for the design to work properly. So I added them and now it works fine!
Thank you very much for your help!
The path was showing correctly on the screen so I thought the sweep would work. But thanks to all of you I do understand now that constraints are mandatory for the design to work properly. So I added them and now it works fine!
Thank you very much for your help!