Can I Extrude a 2d shaped, but in a curved fashion?

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!
cool_name123
Posts: 9
Joined: Sun Feb 21, 2021 11:52 pm

Can I Extrude a 2d shaped, but in a curved fashion?

Post by cool_name123 »

Ok, So apologies if this is answered elsewhere... I'm quite new to all this and I think I maybe just don't know the proper language to ask the question I want to ask. I'm using 0.18 and I'm not quite sure how to upload my file to the forums... but in effect I want to be able to do this in FreeCAD:
https://www.youtube.com/watch?v=NWT1XiUX_u4

However instead of starting from a simple cylinder, it's more of a peanut shape... I'm effectively trying to create something akin to this, but perhaps with a shallower curve if that makes sense:
https://i.ebayimg.com/images/g/3H4AAOSw ... -l1600.jpg

Any thoughts on how I might achieve this effect?

[EDIT]
I've learned how to do a few things since posting this question so here's all the updated knowledge I've discovered how to add since initially posting this:

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)
Attachments
UkeBody.FCStd
My first attempt at a 2d outline of the uke body
(8.75 KiB) Downloaded 35 times
The picture from the link that's apparently broken
The picture from the link that's apparently broken
s-l1600.jpg (13.05 KiB) Viewed 745 times
Last edited by cool_name123 on Mon Feb 22, 2021 1:25 am, edited 1 time in total.
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by jmaustpc »

cool_name123 wrote: Mon Feb 22, 2021 12:04 am quite sure how to upload my file to the forums... but i
The forum rules link above the Help forum tells you how, see point 6 in the first post.
cool_name123 wrote: Mon Feb 22, 2021 12:04 am https://i.ebayimg.com/images/g/3H4AAOSw ... -l1600.jpg
Link to your picture does not work.
cool_name123 wrote: Mon Feb 22, 2021 12:04 am it's more of a peanut shape..
A peanut shape would be symmetric around it's longitudinal axis, so just sketch half a cross section in a Sketch and then rotate the sketch around its longitudinal axis.
cool_name123
Posts: 9
Joined: Sun Feb 21, 2021 11:52 pm

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by cool_name123 »

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)


Does this link work better?
https://www.ebay.ie/itm/1920s-Vintage-S ... nav=SEARCH
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by jmaustpc »

cool_name123 wrote: Mon Feb 22, 2021 12:56 am Does this link work better?
no, still no images, now I just get an add with no images.
cool_name123
Posts: 9
Joined: Sun Feb 21, 2021 11:52 pm

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by cool_name123 »

Hmm, That is odd... Ok I think I figured out how to upload so hopefully this will at least give you an idea of what I mean by a peanut shape... I'm also gonna try to upload the image itself to see if that works now that I've figured out how to attach.

Any Better?
Attachments
s-l1600.jpg
s-l1600.jpg (13.05 KiB) Viewed 758 times
UkeBody.FCStd
(8.75 KiB) Downloaded 19 times
cool_name123
Posts: 9
Joined: Sun Feb 21, 2021 11:52 pm

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by cool_name123 »

Also, While the multi-layered effect might be cool... for starters I think I just want to learn how to make my curve to not be as multi-layered as the example photo... if I can just make it all be one height, I think that would be a good starting point.
edwilliams16
Veteran
Posts: 3179
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by edwilliams16 »

If you are looking for something like this:
Screen Shot 2021-02-21 at 3.49.23 PM.png
Screen Shot 2021-02-21 at 3.49.23 PM.png (73.21 KiB) Viewed 734 times
Draw just the top half of your sketch and use the revolve tool. Then set the angle to 180 degrees. That will give you a flat-faced "demi-peanut".
cool_name123
Posts: 9
Joined: Sun Feb 21, 2021 11:52 pm

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by cool_name123 »

I'm not sure if I understand this tool... You hit the nail on the head, that's exactly what I want to accomplish, but every time I plug your directions into that function I wind up with something like this:
Attachments
Capture.PNG
Capture.PNG (36.48 KiB) Viewed 680 times
freedman
Veteran
Posts: 3465
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by freedman »

=cool_name123
I'm not sure if I understand this tool... You hit the nail on the head, that's exactly what I want to accomplish, but every time I plug your directions into that function I wind up with something like this:
That looks familiar, I forgot about that, I was going to report it. I found that if I lofted thru multiple sketches the last one would do a flip. I never did find the conditions to make it occur. Let's keep that file.
edwilliams16
Veteran
Posts: 3179
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Can I Extrude a 2d shaped, but in a curved fashion?

Post by edwilliams16 »

Checkout my construction and see what you are doing differently. Here's my sketch - which has fewer knots than yours.
Screen Shot 2021-02-21 at 6.41.09 PM.png
Screen Shot 2021-02-21 at 6.41.09 PM.png (115.84 KiB) Viewed 665 times
Attachments
demipeanut.FCStd
(11.7 KiB) Downloaded 15 times
Post Reply