Sweep (Part WB) problem

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!
JussyAD
Posts: 377
Joined: Tue Apr 20, 2021 4:30 pm

Sweep (Part WB) problem

Post by JussyAD »

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/South Africa (en_ZA)

Hello / Guten tag

Sweep is messed up with 0.2mm radius for circle sketch but not with 0.25mm radius?!
Please advise...
I am a newbie so clueless but I know this is not right.

Works just fine in Part Design WB :|

Image
Attachments
.25.PNG
.25.PNG (176.55 KiB) Viewed 767 times
.2.PNG
.2.PNG (155.99 KiB) Viewed 767 times
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: Sweep (Part WB) problem

Post by chrisb »

Try attaching the section sketch to the helix.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
JussyAD
Posts: 377
Joined: Tue Apr 20, 2021 4:30 pm

Re: Sweep (Part WB) problem

Post by JussyAD »

Thank you! I will first have to figure out how to do that but I'll let you know if it works for me.
BTW can you post an image of that bicycle thread for a freewheel that you modelled. I also wanted to create that but still have no idea how to go about making that thread but I see that the pitch needs to be 1.058mm.
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: Sweep (Part WB) problem

Post by chrisb »

JussyAD wrote: Wed Apr 21, 2021 5:38 pm BTW can you post an image of that bicycle thread for a freewheel that you modelled. I also wanted to create that but still have no idea how to go about making that thread but I see that the pitch needs to be 1.058mm.
I have attached the model to that post: https://forum.freecadweb.org/viewtopic. ... 11#p495657 . I don't have an image of the real thing.

The pitch is 1.058mm, which is the result of 24 threads per inch, i.e. 1in/24. You may have to adjust the number of decimals to see it correctly.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
JussyAD
Posts: 377
Joined: Tue Apr 20, 2021 4:30 pm

Re: Sweep (Part WB) problem

Post by JussyAD »

chrisb wrote: Wed Apr 21, 2021 3:16 pm Try attaching the section sketch to the helix.
I tried attaching but to no avail. How many references should I use and which mode do you suggest?
Attachments
error in sweep; attached section.PNG
error in sweep; attached section.PNG (127.16 KiB) Viewed 704 times
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: Sweep (Part WB) problem

Post by chrisb »

JussyAD wrote: Wed Apr 21, 2021 8:38 pm How many references should I use and which mode do you suggest?
One reference, Frenet NB. You can upload the file for further inspection.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Sweep (Part WB) problem

Post by jmaustpc »

As Chris said, please attach files in the future.

After guessing what your values might be, I created the following file...
two_helical_sweeps.FCStd
(25.16 KiB) Downloaded 17 times
And a screen shot
Screenshot_20210422_094219.png
Screenshot_20210422_094219.png (163.82 KiB) Viewed 661 times
I adjusted the X placement of the second sweep so that you can see them side by side.

The problem is not with the actual solid, it is with the visualisation of it. So in this case you could ignore the issue that you first posted about, however your last picture appears to be an invalid solid probably due to your not setting the transform of the section to Frenet, hence it self intersects as the circle attempts to be projected along the helix.

The more precise the visualisation, the more intensive the calculation task for your computer, hence the slower it gets. Where the best balance is for you will depend on your GPU, CPU, the nature of what you are attempting to model (its scale/ratio of the scale of its components, etc.) and personal preference.

The setting is under "PartDesign", here is a screen shot of the settings showing the default values ...
Screenshot_20210422_093943.png
Screenshot_20210422_093943.png (56.1 KiB) Viewed 661 times
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Sweep (Part WB) problem

Post by jmaustpc »

As Chris said, please attach files in the future.

After guessing what your values might be, I created the following file...
two_helical_sweeps.FCStd
(25.16 KiB) Downloaded 19 times
I adjusted the X placement of the second sweep so that you can see them side by side.

And here is a screenshot.
Screenshot_20210422_094219.png
Screenshot_20210422_094219.png (163.82 KiB) Viewed 653 times

The problem is not with the actual solid, it is with the visualisation of it. So in this case you could ignore the issue that you first posted about, however your last picture appears to be an invalid solid probably due to your not setting the transform of the section to Frenet, hence it self intersects as the circle attempts to be projected along the helix.

The more precise the visualisation, the more intensive the calculation task for your computer, hence the slower it gets. Where the best balance is for you will depend on your GPU, CPU, the nature of what you are attempting to model (its scale/ratio of the scale of its components, etc.) and personal preference.

The setting is under "PartDesign", here is a screen shot of the settings ...
Screenshot_20210422_093943.png
Screenshot_20210422_093943.png (56.1 KiB) Viewed 653 times
You can adjust those settings for better visualisations if you like but just be aware that if FreeCAD becomes rather slow, you may want to adjust them back again. Since the precision of the visualisation is based on the "bounding box" of the object, you are more likely to see issues when you have a small component working with larger components of the resulting solid, for example a small profile being swept along a long path is more likely to have a poor quality visualisation.

Jim
JussyAD
Posts: 377
Joined: Tue Apr 20, 2021 4:30 pm

Re: Sweep (Part WB) problem

Post by JussyAD »

jmaustpc wrote: Thu Apr 22, 2021 12:02 am As Chris said, please attach files in the future.

After guessing what your values might be, I created the following file...

two_helical_sweeps.FCStd

And a screen shot
Screenshot_20210422_094219.png

I adjusted the X placement of the second sweep so that you can see them side by side.

The problem is not with the actual solid, it is with the visualisation of it. So in this case you could ignore the issue that you first posted about, however your last picture appears to be an invalid solid probably due to your not setting the transform of the section to Frenet, hence it self intersects as the circle attempts to be projected along the helix.

The more precise the visualisation, the more intensive the calculation task for your computer, hence the slower it gets. Where the best balance is for you will depend on your GPU, CPU, the nature of what you are attempting to model (its scale/ratio of the scale of its components, etc.) and personal preference.

The setting is under "PartDesign", here is a screen shot of the settings showing the default values ...
Screenshot_20210422_093943.png
Thanks for sending me that file. Now I can see it is my hardware for sure (see attached image - SAME issue yet again); my settings were already as in the screenshot you attached. But what must I upgrade?
Operating System
Windows 8.1 Single Language 64-bit
CPU
Intel Core i7 4510U @ 2.00GHz 57 °C
Haswell ULT 22nm Technology
RAM
8,00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)
Motherboard
ASUSTeK COMPUTER INC. X555LN (SOCKET 0) 56 °C
Graphics
Generic PnP Monitor (1360x768@60Hz)
Intel HD Graphics Family (ASUStek Computer Inc)
2047MB NVIDIA GeForce 840M (ASUStek Computer Inc) 50 °C
ForceWare version: 362.00
SLI Disabled
JussyAD
Posts: 377
Joined: Tue Apr 20, 2021 4:30 pm

Re: Sweep (Part WB) problem

Post by JussyAD »

MANY thanks everyone. This is a great community.

Problem solved! I need a better laptop :cry: Who can help me with THAT, lol. Just kidding.
Attachments
2 helical sweeps.PNG
2 helical sweeps.PNG (264.64 KiB) Viewed 589 times
Post Reply