distorted surface with loft

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!
Post Reply
japie
Posts: 163
Joined: Thu Jun 26, 2014 5:49 am

distorted surface with loft

Post by japie »

Morning lads!

When drawing a cone with off-set centers using 2 sketches and loft the surface off the solid gets distorted, is there a workaround or is it a bug?
Schermafbeelding 2021-04-16 om 08.00.49.png
Schermafbeelding 2021-04-16 om 08.00.49.png (38.62 KiB) Viewed 826 times
Schermafbeelding 2021-04-16 om 07.49.53.png
Schermafbeelding 2021-04-16 om 07.49.53.png (106.51 KiB) Viewed 826 times
loft-distortion.FCStd
(20.51 KiB) Downloaded 31 times
Currently using latest available 0.20 but version doesn't matter, this was there also in 0.18 and 0.19...
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: distorted surface with loft

Post by Syres »

A Sweep isn't absolutely perfect but it looks acceptable to me see attached.

OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of FreeCAD: 64-bit
Version: 0.20.24694 (Git)
Build type: Release
Branch: master
Hash: 111a21e45cd63e0d84b5c16e09ad599712ee11ae
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)
Attachments
loft-distortion_Syres.FCStd
(31.23 KiB) Downloaded 24 times
Bance
Veteran
Posts: 4249
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: distorted surface with loft

Post by Bance »

Rotate one of the circles by 180 deg... gives a clean surface, but with an additional seam line. Anygood?
chrisb
Veteran
Posts: 54151
Joined: Tue Mar 17, 2015 9:14 am

Re: distorted surface with loft

Post by chrisb »

It's probably only a visual thing. Try reducing Deviation and AngularDeflection in the View properties.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
japie
Posts: 163
Joined: Thu Jun 26, 2014 5:49 am

Re: distorted surface with loft

Post by japie »

Thanks for the help guys!

All 3 solutions aren't satisfactional, I am using unroll.FCMacro to get a surface sheet layout to cut and bend sheet metal and even the smallest distortion makes the macro bailing out, as workaround in the past I position a cone in a way it fits my sweep/loft and then cut both ends to match the original loft and then unroll that surface but that's a little inconvenient...

When creating a shape using either loft or sweep with a similar shape at both ends the resulting solid should always have straight lines without any deformation.
chrisb
Veteran
Posts: 54151
Joined: Tue Mar 17, 2015 9:14 am

Re: distorted surface with loft

Post by chrisb »

I am surprised: At least the visual defect is improved when I raise the deviation from 0.05 to 0.5 :o .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54151
Joined: Tue Mar 17, 2015 9:14 am

Re: distorted surface with loft

Post by chrisb »

Playd a bit more. The surface looks really good if I decrease the Angular Deflection to 1.5°.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: distorted surface with loft

Post by Syres »

japie wrote: Fri Apr 16, 2021 9:02 am to get a surface sheet layout to cut and bend sheet metal
Now that I know the end goal, try this, it was done with the Mesh Design Workbench > Unwrap Face, I had to use an old Windows Build in order to achieve it unfortunately, probably can be done in 0.18.4 but not sure.
Attachments
loft-distortion_Syres.FCStd
(32.54 KiB) Downloaded 27 times
japie
Posts: 163
Joined: Thu Jun 26, 2014 5:49 am

Re: distorted surface with loft

Post by japie »

chrisb wrote: Fri Apr 16, 2021 11:29 am Playd a bit more. The surface looks really good if I decrease the Angular Deflection to 1.5°.
Indeed both settings are giving a very very good result for creating my sheetmetal shapes (set them both to 1.0 so minimal material deformation) thanks Chris!
Syres wrote: Fri Apr 16, 2021 11:33 am Now that I know the end goal, try this, it was done with the Mesh Design Workbench > Unwrap Face, I had to use an old Windows Build in order to achieve it unfortunately, probably can be done in 0.18.4 but not sure.
Awesome!!! I never looked at the mesh workbench before and this does what the macro should do but better: I made a couple of simple shapes and compared my hand made sheets of those to the Mesh unwrapped ones with very good result, you really made my day!
Working very well in 0.20 btw.
Post Reply