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!
Ramses
Posts: 31
Joined: Fri Sep 28, 2018 6:16 pm

Re: Curves workbench

Post by Ramses »

Sabm01 wrote: Sun Sep 12, 2021 8:32 pm Do you have an advise to correct that?
I tried with tolerance=0,1 for extrados/intrados and it's quite perfect.
User avatar
Sabm01
Posts: 58
Joined: Sun Jun 21, 2020 7:43 pm
Location: Canada
Contact:

Re: Curves workbench

Post by Sabm01 »

Ramses wrote: Sat Sep 18, 2021 7:26 pm
Sabm01 wrote: Sun Sep 12, 2021 8:32 pm Do you have an advise to correct that?
I tried with tolerance=0,1 for extrados/intrados and it's quite perfect.
Effectively with extrados/intrados surfaces it is ok. Also with Revolve volumes it follows.

However, to create the Common by intersection the volumes, it does not follow. I got this messages
12:19:05 <Part> ViewProviderExt.cpp(1340): Cannot compute Inventor representation for the shape of test__1_#Common
To succeed with this last step, I have to increase the tolerance to 0.5.

How to obtain a "solid" blade sufficiently precise?
Other kind of surface than approximate?
Why interpolate does not provide the capability of surface generation?

Regards,

Michel
Michel Sabourin (Sabm01)
www.simturb.com
Ramses
Posts: 31
Joined: Fri Sep 28, 2018 6:16 pm

Re: Curves workbench

Post by Ramses »

turbine_test.FCStd
(629.07 KiB) Downloaded 54 times
I used an other way with Part Compound : shell then solid
User avatar
Sabm01
Posts: 58
Joined: Sun Jun 21, 2020 7:43 pm
Location: Canada
Contact:

Re: Curves workbench

Post by Sabm01 »

Ramses wrote: Thu Sep 23, 2021 8:29 am turbine_test.FCStdI used an other way with Part Compound : shell then solid
Very interesting!
However, the boundary surfaces (ruled ones) does not strickly represent the mathematics of the desired surfaces. Anyway, it can be acceptable as they are boundaries. But, the disqualification of this method comes from the gap between the generated compound volume and the boundary surfaces. See, it reaches 2,31 mm.
turbine_test_rev1.FCStd
(625.22 KiB) Downloaded 58 times
Attachments
turbine_test_rev1.png
turbine_test_rev1.png (64.32 KiB) Viewed 2584 times
Michel Sabourin (Sabm01)
www.simturb.com
Ramses
Posts: 31
Joined: Fri Sep 28, 2018 6:16 pm

Re: Curves workbench

Post by Ramses »

That's right. I don't understand why a difference between compound(shell) and compound(solid). Compound shell follow exactly extrados.
From compound(shell) I did a mesh and it's all right.
I think that boundaries surfaces up and down are the same with both methods. Just the exterior and interior surfaces are different, but don't have impact to do the job.
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 Chris,
Do you think its possible to automatize this kind of surface (build as a pie). I mean for the discretize number parameter.
Attachments
pie2.FCStd
(54.65 KiB) Downloaded 51 times
Sworm.FCStd
(190.27 KiB) Downloaded 57 times
pie_surface.FCStd
(44.22 KiB) Downloaded 65 times
User avatar
Sabm01
Posts: 58
Joined: Sun Jun 21, 2020 7:43 pm
Location: Canada
Contact:

Re: Curves workbench

Post by Sabm01 »

Potential new bug since that post:
Sabm01 wrote: Mon Sep 06, 2021 6:52 pm
Chris_G wrote: Mon Sep 06, 2021 3:35 pm In Gui, you must clic the ... button of the PointObject property, validate with OK, and recompute.
in python :

Code: Select all

FreeCAD.getDocument('test2').getObject('Approximation_Surface').PointObject = FreeCAD.getDocument('test2').getObject('Group')
App.activeDocument().recompute(None,True,True)
This is the answer I was looking for. It works perfectly!

Thank you very much!
Michel
At that time it was working perfectly. But recently, it was not.

I have to add the following code: "Approx_surf".LastIndex= "new value" before recompute()
when the number of discretized curves increases in the PointObject.
Michel Sabourin (Sabm01)
www.simturb.com
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 »

Hi,
With today's fix, you can now set LastIndex to -1, to always use all available Point objects.
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.

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)
Attachments
freecadError.png
freecadError.png (18.68 KiB) Viewed 2018 times
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.

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)
Post Reply