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

Re: Curved Shapes Workbench

Post by christi »

GlouGlou wrote: Sat Jun 20, 2020 9:14 am 1. The surface carried out is downed, but should it be? (red arrow)
The Curved Array is scaled between the two sketches, but not shifted. This is actually not what we want. I have made a correction to the workbench.
Update the workbench and create the Curved Array again, it will not be downed then.
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 »

Nice. :D
Curved Array allow to make a surface with only 3 curves.
I still have some trouble at the end or beginning, sometimes a vertex is created.
Attachments
roof_not_scaled.FCStd
(567.51 KiB) Downloaded 82 times
Capture.JPG
Capture.JPG (39.71 KiB) Viewed 2520 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 »

GlouGlou wrote: Sat Jun 27, 2020 8:33 am Nice. :D
Curved Array allow to make a surface with only 3 curves.
I still have some trouble at the end or beginning, sometimes a vertex is created.
In fact this is not a vertex, it is a very small copy of your base object. In most designs we need this to make an ending to the shape, but sometimes a surface to this object looks ugly. You can set StartOffset or EndOffset to a value slightly above zero, this will move the last array item away from the spiky end and it will be scaled a little bit bigger.
Neptune_RC
Posts: 1
Joined: Mon Jul 27, 2020 4:17 pm

Re: Curved Shapes Workbench

Post by Neptune_RC »

Hi Christi,

I have tried downloading it using the addon manager, it is throwing the below error message:

During initialization the error cannot import name reload occurred in C:\Users\...\FreeCAD\Mod\CurvedShapes\InitGui.py
Please look into the log file for further information

Could you please help me?
User avatar
christi
Posts: 203
Joined: Wed Oct 24, 2018 7:03 am
Location: Karlsruhe, Germany
Contact:

Re: Curved Shapes Workbench

Post by christi »

Neptune_RC wrote: Mon Jul 27, 2020 4:20 pm Hi Christi,

I have tried downloading it using the addon manager, it is throwing the below error message:

During initialization the error cannot import name reload occurred in C:\Users\...\FreeCAD\Mod\CurvedShapes\InitGui.py
Please look into the log file for further information

Could you please help me?
I guess you are working with an old version of Python. Install Python 3.
What does the log tell you ? Please open View -> Panels -> Report view
olbetec
Posts: 2
Joined: Tue Sep 29, 2020 8:52 am

Re: Curved Shapes Workbench

Post by olbetec »

Seagul wrote: Fri Jun 12, 2020 7:24 am I have tried several times to install this workbench, each time addon manager shows that it is installed but it does not show in the drop down list.
Any suggestions?
This Workbench seems to be what I'm looking for. BUT...
Same issue mentioned above for me:

"During initialization the error Non-ASCII character '\xc2' in file C:\Users\U443510\AppData\Roaming\FreeCAD\Mod\CurvedShapes\CurvedShapes.py on line 242, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (CurvedShapes.py, line 242) occurred in C:\Users\U443510\AppData\Roaming\FreeCAD\Mod\CurvedShapes\InitGui.py
Please look into the log file for further information"

When I edit the CurvedShapes.py at line 242, I replaced the x³ by x3 but this didn't help. Any suggestions?

My version is:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Curved Shapes Workbench

Post by jmaustpc »

?Your first post, welcome to FreeCAD. :)

olbetec wrote: Tue Sep 29, 2020 9:00 am Version: 0.18.4 (GitTag)
does it also fail in FreeCAD 0.19? It's the dev branch, there are snap shot releases available, its getting close to becoming the release version and has numerous bug fixes.
olbetec wrote: Tue Sep 29, 2020 9:00 am Python version: 2.7.14


Also it's not surprising to find issues with a FreeCAD compiled with the now obsolete Python 2.
olbetec
Posts: 2
Joined: Tue Sep 29, 2020 8:52 am

Re: Curved Shapes Workbench

Post by olbetec »

Ok, I newbee fouled around with installing python 3. But freecad still told me using ver.2.7... Because of the fact, that freecad has a build in python you have to choose a version which is compiled with that python 3...
I took the first portable version 32bit. But this version is unfortunately with build in version 2.7.

Now I tried version 64bit portable and it worked fine!

Sometimes you need to read carefully the small hints:

"Windows

Binary builds, install-able and portable, are available (no compiling necessary)
The Win x64 builds use Conda as a package manager, The binaries use PY3.6, QT5, and VS2015+
The Win x32 builds use Libpack 11.11. The binaries use PY2.7, QT4, and VS2013
..."

Thanx for support
User avatar
rolbit
Posts: 25
Joined: Fri Apr 01, 2011 6:15 am
Location: Switzerland

Re: Curved Shapes Workbench

Post by rolbit »

Hello,
I am trying to understand and use the curved shapes workbench.it looks really impressive.

I would like to use interpolate between 2 curves to create a solid with an additional hull curve. As you can see in the screen grab below freecad is not able to create a solid because the lines are somehow getting twist around. When using 2 rectangles, there is no problem. As soon as an arc is added the problem starts. I was paying attention to draw the 2 sketches in the same direction (clockwise). Still, it looks as if there were issues with the sequence. Can somebody tell me what I am doing wrong?
Thanks,
Roland
curved shapes.png
curved shapes.png (151.6 KiB) Viewed 1876 times

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22522 (Git)
Build type: Release
Branch: master
Hash: d8e476ef428017900dfe0f9359ba448503c216f9
Python version: 3.8.5
Qt version: 5.12.6
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Attachments
curved shape.FCStd
(12.73 KiB) Downloaded 67 times
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 »

CurveSegment seems to have some difficults to not mixed the curves. :D
So I used JoinCurves (Curves wB) to isolate one by one the edges and give right parameters to CurveSegment.
link to file: https://mon-partage.fr/f/6G3coxoQ/
Attachments
Capture.JPG
Capture.JPG (74.87 KiB) Viewed 1847 times
Post Reply