Curved Shapes Workbench

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curved Shapes Workbench

Post by Vincent B »

And finally made wing and his winglet. ;)
Attachments
SoaringWing.FCStd
(177.1 KiB) Downloaded 144 times
Capture.PNG
Capture.PNG (47.97 KiB) Viewed 3047 times
User avatar
christi
Posts: 203
Joined: Wed Oct 24, 2018 7:03 am
Location: Karlsruhe, Germany
Contact:

Re: Curved Shapes Workbench

Post by christi »

I have added a new tool: Notch Connector
It cuts notches into the overlapping part of two bars

Image
cranec
Posts: 1
Joined: Sun Jun 30, 2019 8:20 am

Re: Curved Shapes Workbench

Post by cranec »

I Have a problem when loading this WB; during the init, i have this message
Log: Init: Initializing C:\Users\ome\AppData\Roaming\FreeCAD\Mod\CurvedShapes... failed
Log: ----------------------------------------------------------------------------------------------------
Log: Traceback (most recent call last):
File "<string>", line 120, in InitApplications
File "<string>", line 51, in <module>
File "<string>", line 11, in __init__
File "C:\Users\ome\AppData\Roaming\FreeCAD\Mod\CurvedShapes\CurvedShapes.py", line 5, in <module>
from importlib import reload
ImportError: cannot import name reload
User avatar
christi
Posts: 203
Joined: Wed Oct 24, 2018 7:03 am
Location: Karlsruhe, Germany
Contact:

Re: Curved Shapes Workbench

Post by christi »

You can comment out the line

Code: Select all

#from importlib import reload
then search for all

Code: Select all

reload(whatever)
commands and comment out them as well.
Restart FreeCAD to apply the changes.

These instructions are only neccessary if you are working at the source code. They will always reload the python files when you create a new CurvedArray. Not sure why this does not work on your system. Are you using python version 3 ?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Curved Shapes Workbench

Post by Kunda1 »

christi wrote: Sat Nov 30, 2019 8:37 pm I have added a new tool: Notch Connector
It cuts notches into the overlapping part of two bars
This is very cool! But honestly a little perplexing why it's in a 'Curved Shapes' workbench. I bet the carpenters, woodworkers and the Arch folks would love this feature. Though I doubt they'd think to look in this workbench for this feature.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
christi
Posts: 203
Joined: Wed Oct 24, 2018 7:03 am
Location: Karlsruhe, Germany
Contact:

Re: Curved Shapes Workbench

Post by christi »

I have added a distribution algorithm to CurvedArray and CurvedSegment.

Default Distribution: linear
Image

Distribution: parabolic (x²)
Image

Distribution: x³
Image

Distribution: sinusoidal
Image

Distribution: elliptic
Image
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Curved Shapes Workbench

Post by Kunda1 »

christi wrote: Fri Mar 06, 2020 1:53 pm I have added a distribution algorithm to CurvedArray and CurvedSegment
Nice! Can you elaborate on what the usecase for each one would be?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
christi
Posts: 203
Joined: Wed Oct 24, 2018 7:03 am
Location: Karlsruhe, Germany
Contact:

Re: Curved Shapes Workbench

Post by christi »

Kunda1 wrote: Fri Mar 06, 2020 2:03 pm Nice! Can you elaborate on what the usecase for each one would be?
If you create a surface with the Curved Array, a different distribution may give you better results.

If you create an elliptic wing, distribution elliptic would be the best solution.
If you create the Curved Array inside a half circle, sinusoidal is best.
If the hullcurves are created from simple spline curves, parabolic or x³ may give you the best results.
If you are unsure, choose linear.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Curved Shapes Workbench

Post by Kunda1 »

JOKO Engineering made a tutorial on using CurvedShapes

phpBB [video]
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
khumarahn
Posts: 28
Joined: Tue Feb 11, 2020 10:51 am

Re: Curved Shapes Workbench

Post by khumarahn »

A very impressive workbench!!! And may thanks to Joko for his video.

I am trying to design a fan duct for a 3d printer, and hitting an issue trying to connect to rectangle sketches which are at 90 degrees to each other with a Curved Segment, at the end of the profile.
screenshot-20200330@130527.png
screenshot-20200330@130527.png (146.82 KiB) Viewed 2616 times
It can get a bit better with less interpolating items, but there is always a (small in size) warping at the end.

Can this be helped?
Attachments
test.FCStd
(42.62 KiB) Downloaded 61 times
Post Reply