View Issue Details

IDProjectCategoryView StatusLast Update
0002464SketcherBugpublic2018-01-03 03:50
Reporterr-frank Assigned Toabdullah  
Status closedResolutionno change required 
PlatformWindowsOSWindows 7 - 64 bitOS Versionrecent
Product Version0.15 
Fixed in Version0.17 
Summary0002464: Sweep of closed Contour does not produce solid
DescriptionSweeping closed contour along profile done in sketcher does not produce solid as expected.
Steps To ReproduceLook here (german discussion) for more details.
Additional InformationSince abdullah volunteered to have a look pleas assign the ticket to him - thanks ...
FreeCAD Information



2016-05-10 13:56


Beispiel.fcstd (6,887 bytes)


2016-05-10 13:57

reporter   ~0007077

Having a sweep prob as well - FC crashes when trying to sweep the example attached.


2017-01-18 01:09

administrator   ~0007857

@herrdeh please provide a backtrace (unless the ticket provides one). I wasn't sure


2018-01-02 15:20

manager   ~0010667


I have opened your sketch. I am not sure what you intended. I can sweep "Querschnitt VerstDreieck" along "Verlauf VerstDreieck" without a crash. However, I am not sure the result is what you intended, because "Querschnitt VerstDreieck" is a really weird sketch, there is an almost hidden arc which crosses the profile.
merkwuerdige_sketch.png (5,853 bytes)   
merkwuerdige_sketch.png (5,853 bytes)   


2018-01-02 16:23

manager   ~0010671

Now about the original problem in the German forum.

I have made the part again in PDN (loading the original file in 0.17 is a big problem, the arc of ellipse will not move the foci, no way to sweep without a body).

Sweep functionality seems to be quite broken (would not reconstruct after changing the sweeping path, but would work sometimes if the sweep object is created again). However, either it constructs (and it is a solid) or it does not construct at all.

It is ok to leave this bug open, but I think more to focus in what is wrong with sweep in 0.17.

About the tangency, in the reconstructed sketch the dot product is 0.0. Maybe the problem was related to how the sketch was built (I changed a couple of constraints, which may provide better results).
rfrank_part.png (35,160 bytes)   
rfrank_part.png (35,160 bytes)   
Test5_PDN.FCStd (117,730 bytes)


2018-01-02 19:05

manager   ~0010676

Since the original problem is with using Part Sweep, isn't redoing the part in PartDesignNext using a PDN Additive Pipe out of the purview of this report? Both tools may be based on the same underlying OCC tools, but the tools are not the same.


2018-01-02 19:24

manager   ~0010677

Last edited: 2018-01-02 19:37

Had a look at the original German topic and the file Test4.FCStd.

Actually, this is a well-known Sketcher issue that is easily resolved by using a point-to-point tangent constraint instead of coincident & tangent.

In the file Test4_fixed_normandc1.fcstd posted on the forum, I edited the Kontur1 sketch and deleted the coincident constraints joining the lines with the ellipse; I deleted the tangent constraints as well. Then I created point-to-point tangent constraints.

This resolves the problem.

So the problem has nothing to do with the sweep function. Furthermore, the wiki already mentions the Sketcher tangent constraint issue.


2018-01-03 03:48

manager   ~0010679


and that is one of the reasons why it is great to have you around. Thanks for solving it. I am closing this ticket.


2018-01-03 03:50

manager   ~0010680

Constraint issue as indicated by Normandc. It was discussed in the forum the possibility of transparently substituting tangency on edge + concident on endpoint to ptp tangency.

Issue History

Date Modified Username Field Change
2016-03-06 10:40 r-frank New Issue
2016-05-10 13:56 herrdeh File Added: Beispiel.fcstd
2016-05-10 13:57 herrdeh Note Added: 0007077
2016-05-11 08:48 wmayer Assigned To => abdullah
2016-05-11 08:48 wmayer Status new => assigned
2017-01-18 01:07 Kunda1 Tag Attached: sweep
2017-01-18 01:09 Kunda1 Note Added: 0007857
2018-01-02 15:20 abdullah File Added: merkwuerdige_sketch.png
2018-01-02 15:20 abdullah Note Added: 0010667
2018-01-02 16:23 abdullah File Added: rfrank_part.png
2018-01-02 16:23 abdullah File Added: Test5_PDN.FCStd
2018-01-02 16:23 abdullah Note Added: 0010671
2018-01-02 19:05 normandc Note Added: 0010676
2018-01-02 19:24 normandc Note Added: 0010677
2018-01-02 19:36 normandc Note Edited: 0010677
2018-01-02 19:37 normandc Note Edited: 0010677
2018-01-02 19:37 normandc Note Edited: 0010677
2018-01-03 03:48 abdullah Note Added: 0010679
2018-01-03 03:50 abdullah Status assigned => closed
2018-01-03 03:50 abdullah Resolution open => no change required
2018-01-03 03:50 abdullah Fixed in Version => 0.17
2018-01-03 03:50 abdullah Note Added: 0010680