AdditivePipe along ParametricCurve failing

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
Miq58
Posts: 594
Joined: Fri Sep 03, 2021 4:19 pm

AdditivePipe along ParametricCurve failing

Post by Miq58 »

Hi,

I am attempting to model a flattened sinoid spring, using the Parametric_Curve_FP macro to generate the spine. Alas, the AdditivePipe always will fail with this error:
2022-01-25 15_06_20-Window.png
2022-01-25 15_06_20-Window.png (13.76 KiB) Viewed 848 times
What am I doing wrong here?

My Freecad version is

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git)
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: German/Germany (de_DE)
Attachments
Federtest.FCStd
(39.59 KiB) Downloaded 19 times
domad
Veteran
Posts: 2094
Joined: Mon Jun 22, 2020 12:16 pm

Re: AdditivePipe along ParametricCurve failing

Post by domad »

Miq58 wrote: Tue Jan 25, 2022 2:12 pm ....
Hello, greetings to the community!

Convert the Parametric curve to Sketch (Wb Draft) and transfer it inside the body.
The profile has too large a thickness, this generates intersections in the sweep phase, you can use a thickness of 0.3 mm (keeping 2 mm of height).
Otherwise you have to change the path.
Miq58
Posts: 594
Joined: Fri Sep 03, 2021 4:19 pm

Re: AdditivePipe along ParametricCurve failing

Post by Miq58 »

domad wrote: Tue Jan 25, 2022 2:38 pm
Miq58 wrote: Tue Jan 25, 2022 2:12 pm ....
Hello, greetings to the community!

Convert the Parametric curve to Sketch (Wb Draft) and transfer it inside the body.
The profile has too large a thickness, this generates intersections in the sweep phase, you can use a thickness of 0.3 mm (keeping 2 mm of height).
Otherwise you have to change the path.
Thanks a lot, I see the problem. Is there a way to generate an AdditivePipe with a constant width, ignoring the overlaps? I will need a certain constant width to keep the spring element stable - 0.3mm is much too narrow to stand any force.
I tried the method to convert it to a sketch, but I am getting a fenced structure only, no solid, as I had intended:
2022-01-25 16_29_28-Window.png
2022-01-25 16_29_28-Window.png (155.68 KiB) Viewed 785 times
Miq58
Posts: 594
Joined: Fri Sep 03, 2021 4:19 pm

Re: AdditivePipe along ParametricCurve failing

Post by Miq58 »

Wait... Got it better now with a reduced sweeping sketch size. The resulting STL file is HUGE, >57MB. The Cura slicer is able to reduce it again to below 500kB.

Thanks again, I think I can proceed with that now!
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: AdditivePipe along ParametricCurve failing

Post by GeneFC »

Since the cross section appears to be rectangular you could create a full cycle in sketcher and then pad it to the desired thickness. Then do a Linear Array on the single cycle as many times as wanted.

The sketch will not present any limits on the shape.

Gene
Miq58
Posts: 594
Joined: Fri Sep 03, 2021 4:19 pm

Re: AdditivePipe along ParametricCurve failing

Post by Miq58 »

GeneFC wrote: Tue Jan 25, 2022 4:08 pm Since the cross section appears to be rectangular you could create a full cycle in sketcher and then pad it to the desired thickness. Then do a Linear Array on the single cycle as many times as wanted.

The sketch will not present any limits on the shape.

Gene
That sounds promising - I will give it a try. Thanks!
domad
Veteran
Posts: 2094
Joined: Mon Jun 22, 2020 12:16 pm

Re: AdditivePipe along ParametricCurve failing

Post by domad »

Miq58 wrote: Tue Jan 25, 2022 4:10 pm .......
Hello, greetings to the community!

A somewhat different attempt based on what @GeneFC said.
It can certainly be improved and it is possible to model it to very precise dimensions for any simulations of stresses with the "FEM" Wb.
Attachments
Federtest.FCStd
(863.04 KiB) Downloaded 15 times
Federtest.png
Federtest.png (295.01 KiB) Viewed 663 times
Miq58
Posts: 594
Joined: Fri Sep 03, 2021 4:19 pm

Re: AdditivePipe along ParametricCurve failing

Post by Miq58 »

Excellent! This again is worth a try!
Post Reply