I came across something that I think is an issue with Part Design - Loft.
I've included below all details regarding the FreeCAD version that I'm using.
I'm also attaching here a screenshot and a FCStd file in which the issue can be reproduced.
What I'm trying to do:
1. Create a Part and a Body in the Part.
2. Create a Sketch in the Body and attach it to the Body's XY Plan
3. This sketch contains (I'll refer to it as Sketch A):
- 4 concentric circles; I'll refer to them as C1, C2, C3, C4 where C1 is the inner one and C4 is the outer one.
- 8 lines that connect C2 and C3 as 4 pair of lines, 2 vertical and 2 horizontal.
- Basically this looks like a cart wheel with 4 spokes.
4. Create a DatumPlane attached to the Body's XY plane, offset in Z by 5mm.
5. Create a New Sketch in the Body, attached to the DatumPlane.
6. This sketch contains (I'll refer to it as Sketch B):
- Everything from Sketch A, but replace C1 with a square.
- No CarbonCopy from Sketch A, just manually re-do everything. Some dimensions may slightly vary.
- This would also look like a cartwheel with 4 spokes, but the center "hole" is now square.
For steps 1-6 please see the screenshot as it will probably clarify what I'm trying to describe.
7. In PartDesign Workbench, select the two sketches and click on the "Additive Loft" button.
Expected result after step 7:
- A shape that looks like a 5mm thick cartwheel with 4 spokes, but the center hole gradually goes from circle to square.
Actual result after step 7:
- Only part (1/2 or 1/3 and something none) of the resulting shape looks like expected, everything else is all twisted.
- A better description would be that the AdditiveLoft tool appears to not connect the right vertices from Sketch A to Sketch B.
---
I'm wondering if I'm doing something incorrect when using the AdditiveLoft tool, does anyone have any insight into this?
I tried with simpler shapes and it works ok - for example just simple discs, either only the outside disc of the weel or only the "hub" of the wheel.
I can confirm it works fine even if Sketch A is 2 concentric circles and Sketch B is a square in a circle.
However it doesn't work when the spokes are there connecting the outside pair with the inside pair.
---
I did search for more information on google and also on this forum and I only found issues or questions related to "how to twist a loft".
---
Screenshot (Wireframe): Sketches are displayed white and the loft is orange.
Screenshot(flat lines): FCStd file:
FreeCad version info:
Note: I copied it from FreeCad -> Help -> About Freecad but the OS is wrong.
I'm on Windows 11 Pro 21H2 22000.856
Code: Select all
OS: Windows 10 Version 2009
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: English/United States (en_US)
Installed mods:
* fasteners 0.3.49
* ThreadProfile 1.82.0