I tried with tolerance=0,1 for extrados/intrados and it's quite perfect.
Curves workbench
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Curves workbench
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
To succeed with this last step, I have to increase the tolerance to 0.5.12:19:05 <Part> ViewProviderExt.cpp(1340): Cannot compute Inventor representation for the shape of test__1_#Common
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
www.simturb.com
Re: Curves workbench
I used an other way with Part Compound : shell then solid
Re: Curves workbench
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.
- Attachments
-
- turbine_test_rev1.png (64.32 KiB) Viewed 2585 times
Michel Sabourin (Sabm01)
www.simturb.com
www.simturb.com
Re: Curves workbench
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.
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.
Re: Curves workbench
Hi Chris,
Do you think its possible to automatize this kind of surface (build as a pie). I mean for the discretize number parameter.
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
Re: Curves workbench
Potential new bug since that post:
I have to add the following code: "Approx_surf".LastIndex= "new value" before recompute()
when the number of discretized curves increases in the PointObject.
At that time it was working perfectly. But recently, it was not.Sabm01 wrote: ↑Mon Sep 06, 2021 6:52 pmThis is the answer I was looking for. It works perfectly!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)
Thank you very much!
Michel
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
www.simturb.com
Re: Curves workbench
Hi,
With today's fix, you can now set LastIndex to -1, to always use all available Point objects.
With today's fix, you can now set LastIndex to -1, to always use all available Point objects.
Re: Curves workbench
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)
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 (18.68 KiB) Viewed 2019 times
Re: Curves workbench
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)
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)