Curves workbench

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!
Kirjaissa
Posts: 64
Joined: Wed Jun 16, 2021 11:48 am

Re: Curves workbench

Post by Kirjaissa »

I don't manage to use Sketch On Surface in Curves Workbench.
Whatever I do - I tried the two methods on the documentation page https://wiki.freecadweb.org/Curves_SketchOnSurface
I end up with:

' Part.:LineSegment' object has no attribute 'Construction'

which sounds like a Python error.
freecadError.png
freecadError.png (18.68 KiB) Viewed 2443 times
Is it possible for you to upload a minimal working example ?

Using

OS: Linux Mint 20 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.25943 (Git) AppImage
Build type: Release
Branch: master
Hash: a65464b722a846bd2999aa2fecdff1132b15b297
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Is your Curves workbench up-to-date ?
Here is an example file.
Attachments
SOS.FCStd
(10.99 KiB) Downloaded 56 times
Kirjaissa
Posts: 64
Joined: Wed Jun 16, 2021 11:48 am

Re: Curves workbench

Post by Kirjaissa »

Chris_G wrote: Wed Oct 13, 2021 6:03 pm Is your Curves workbench up-to-date ?
Here is an example file.
Thanks that did it. I didn't realize it was a separate installation that may need updating
Kirjaissa
Posts: 64
Joined: Wed Jun 16, 2021 11:48 am

Re: Curves workbench

Post by Kirjaissa »

Kirjaissa wrote: Wed Oct 13, 2021 6:25 pm
Chris_G wrote: Wed Oct 13, 2021 6:03 pm Is your Curves workbench up-to-date ?
Here is an example file.
Thanks that did it. I didn't realize it was a separate installation that may need updating
Is there a way to compensate for the way the face is parametrized in order to minimize the deformation of the sketch ?
oblong1.png
oblong1.png (11.08 KiB) Viewed 2349 times
oblong2.png
oblong2.png (4.46 KiB) Viewed 2349 times
User avatar
Sabm01
Posts: 58
Joined: Sun Jun 21, 2020 7:43 pm
Location: Canada
Contact:

Re: Curves workbench

Post by Sabm01 »

Chris_G wrote: Wed Oct 13, 2021 1:13 pm Hi,
With today's fix, you can now set LastIndex to -1, to always use all available Point objects.
It works!

Thanks,

Michel
Michel Sabourin (Sabm01)
www.simturb.com
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Hi,
Trying to round a closed curve, but as his start begin on the first discretized point, there are still a corner on the curve.
Any tricks?
Attachments
CloseCurve.FCStd
(12.99 KiB) Downloaded 40 times
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

First, you should be careful with the Distance method of the Discretize tool, because your setting (0.75mm) puts the last point pretty close to the start point.
The Number method should be preferred if possible to ensure a uniform spacing of the points.
Then, in the Approximate feature, you can use the "Start Offset" property (in the "Range" property group) to move the start point in a straight zone.
This is just a tweak, as this does not ensure smoothness at the join-point.
Attachments
CloseCurve-2.FCStd
(12.45 KiB) Downloaded 42 times
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Thanks a lot, moving the start and end point works nice.
I've thank about to work with an half curve as it's symmetrical.
Attachments
Half_RoundCurve.FCStd
(15.2 KiB) Downloaded 45 times
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Brown Solid feature icon for a shell I guess?
Why the shell is made instead a green solid?
Maybe because some faces are reversed?
Attachments
Capture.JPG
Capture.JPG (11.99 KiB) Viewed 1893 times
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

The feature first tries to build a shell from the input faces, then it tries to build a solid from the shell.
Here, the solid creation failed, hence the shell result.
Usually, it comes from a poor contact of the input faces.
Post Reply