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
christi
Posts: 203
Joined: Wed Oct 24, 2018 7:03 am
Location: Karlsruhe, Germany
Contact:

Re: Curved Shapes Workbench

Post by christi »

drmacro wrote: Tue Dec 08, 2020 1:48 pm How does one get the "Items" (shown in orange) to follow the hull curve rather than be parallel to the "Base"?
Try the Curved Path Array tool. Select one of the hull curves for parameter Path and both hull curves for parameter Hullcurves.
drmacro
Veteran
Posts: 8867
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curved Shapes Workbench

Post by drmacro »

christi wrote: Fri Dec 11, 2020 3:47 pm
drmacro wrote: Tue Dec 08, 2020 1:48 pm How does one get the "Items" (shown in orange) to follow the hull curve rather than be parallel to the "Base"?
Try the Curved Path Array tool. Select one of the hull curves for parameter Path and both hull curves for parameter Hullcurves.
Thanks!

Subsequent to my post I did some experimenting and found that was indeed what was needed. Still a work in progress... :mrgreen:
Snip macro screenshot-616799.png
Snip macro screenshot-616799.png (141.52 KiB) Viewed 3388 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
pie75
Posts: 2
Joined: Wed Mar 03, 2021 2:39 pm

Re: Curved Shapes Workbench

Post by pie75 »

This Workbench is really amazing, even for my simple work! I have to say thanks for making it!

I am here asking for help, though!
it's probably intentional that the solids begin and end in a flat face, that's very useful for constructing airplanes or stepped forms,
but for my purposes, I think they're a little in the way.
Is it possible to mitigate these faces somehow? ideally to completely remove them.
Is there a better way to go about this? Is this in the scope of another workbench?
If anyone has any suggestions, I'd very much appreciate them.

I've attached a picture with the face I'd like to remove, highlighted - I'd ideally like it to be completely smooth at that area.
CWBf1.png
CWBf1.png (31.73 KiB) Viewed 3292 times
My version info, for reference:
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/SouthAfrica (en_ZA)
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Curved Shapes Workbench

Post by jmaustpc »

pie75 wrote: Thu Mar 04, 2021 8:31 pm Version: 0.18.4 (GitTag)
Maybe you should have a look at the standard surfaces WB in a plain default FreeCAD 0.19 without any addons and see if that suits your needs.

This attached file will only work in FreeCAD 0.19 or newer. At this time 0.19 is at release candidate stage, and is currently being packaged as the next release version due any day now. FreeCAD 0.19 pre-compiled snapshot releases that run without being installed are available for Windows.

Here is a very quick simple demo, the boundary edges are the same in both examples but the last sketch provides an extra non-boundary edge to help control the shape of the surface. The first pair and second pair of sketches are the same except that I moved the second pair and the last sketch by 300mm in X direction just for demonstration purposes.

Don't try to open this file in the old FreeCAD 0.18.4, you must user 0.19 (or newer if viewing this post in the future)
demo_surfaces_wb_fc0_19.FCStd
(57.17 KiB) Downloaded 75 times
Here is a screen shot
Screenshot_20210305_154224.png
Screenshot_20210305_154224.png (17.11 KiB) Viewed 3282 times
Jim
User avatar
pie75
Posts: 2
Joined: Wed Mar 03, 2021 2:39 pm

Re: Curved Shapes Workbench

Post by pie75 »

jmaustpc wrote: Fri Mar 05, 2021 4:51 am
pie75 wrote: Thu Mar 04, 2021 8:31 pm Version: 0.18.4 (GitTag)
Don't try to open this file in the old FreeCAD 0.18.4, you must user 0.19 (or newer if viewing this post in the future)
demo_surfaces_wb_fc0_19.FCStd
Thanks for the suggestion and the example file - it took me a bit to get 0.19 but it seems that the additions to the Surface Workbench will allow me to do what I want to do!
Jötunn
Posts: 4
Joined: Thu May 06, 2021 2:57 am

Re: Curved Shapes Workbench

Post by Jötunn »

Hi, the Curved Shapes workbench is really awesome and a great addition to FreeCAD!
I have an issue trying to create a (3d-printable) wing though. I'm not sure whether this is strictly related to this workbench, but this is probably the best place to ask.
When creating a wing, I would like the outer wall to have a defined thickness, i.e. the body itself should be hollow - but I haven't yet found a way to do this.
My assumption was that it wold be easiest to create 2 separate CurvedArray wings, convert them to bodies, and subtract the inner one from the actual, outer wing. The issue seems to be that it is not easy to create parallel constraints on b-splines in a sketch.
The closest I came so far was to create an Offset2d in the part workbench with a negative value. While this creates the offset curve, it does not create a new sketch with that curve that I could merge with the original sketch or separately sweep in a new CurvedArray.

In the picture, the green/highlighted sketch is the Offset2d.
Screenshot at 2021-05-05 19-37-51.png
Screenshot at 2021-05-05 19-37-51.png (83.48 KiB) Viewed 3024 times
It would be great if someone could point me in the right direction. Right now I'm not sure whether I'm missing something trivial or this is currently not possible.

Edit: since this is not really related to the Curved Shapes workbench, I posted the question here: https://forum.freecadweb.org/viewtopic.php?f=3&t=58497
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 »

Wb seems to have some trouble to initialise with new release.
And can't get icons.

Code: Select all

21:15:03  invalid syntax (LasercutterTechdrawExport.py, line 63)
21:15:03  Traceback (most recent call last):
  File "<string>", line 28, in Initialize
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.24910 (Git)
Build type: Release
Branch: master
Hash: 089b2ae47824232f649eb74ce1f97673cf77b78c
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: French/France (fr_FR)
User avatar
Pierrimus
Posts: 24
Joined: Mon Sep 21, 2015 12:54 am
Location: Rancho Cordova, CA, USA
Contact:

Re: Curved Shapes Workbench

Post by Pierrimus »

I also seem to be having problems running the workbench. I just downloaded it off the plug ins manager yesterday after watching the Joko Engineering tutorials on YouTube.
CurvedShapesWorkbenchError.png
CurvedShapesWorkbenchError.png (187.64 KiB) Viewed 2781 times
OS: Windows 10 Version 2009
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/United States (en_US)
Osfald
Posts: 1
Joined: Fri Jun 11, 2021 9:36 am

Re: Curved Shapes Workbench

Post by Osfald »

Same here!
11:31:48 invalid syntax (LasercutterTechdrawExport.py, line 63)
11:31:48 Traceback (most recent call last):
File "<string>", line 28, in Initialize
File "D:\Grafika\FreeCAD 0.19.2\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
francpedro
Posts: 1
Joined: Sat Jun 12, 2021 10:26 am

Re: Curved Shapes Workbench

Post by francpedro »

GlouGlou wrote: Wed Jun 09, 2021 7:20 pm Wb seems to have some trouble to initialise with new release.
And can't get icons.

Code: Select all

21:15:03  invalid syntax (LasercutterTechdrawExport.py, line 63)
21:15:03  Traceback (most recent call last):
  File "<string>", line 28, in Initialize
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.24910 (Git)
Build type: Release
Branch: master
Hash: 089b2ae47824232f649eb74ce1f97673cf77b78c
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: French/France (fr_FR)
There is an extra colon in LasercutterTechdrawExport.py, line 63. Edit the file and delete the colon.
Post Reply