Search found 18629 matches

by wmayer
Sun Aug 07, 2022 5:20 pm
Forum: Install / Compile
Topic: Compilation failure.
Replies: 7
Views: 446

Re: Compilation failure.

[ 80%] Built target area-native_autogen [ 80%] Linking CXX shared library ../../../../Mod/Path/libarea-native.so /usr/bin/ld : ne peut trouver -lTKFillet Is area-native the one and only module that is affected by the failure? Possibly its CMakeLists.txt file needs an explicit call of link_directori...
by wmayer
Sun Aug 07, 2022 5:05 pm
Forum: Python scripting and macros
Topic: Creation of Surfaces
Replies: 15
Views: 641

Re: Creation of Surfaces

You can give this a try:

Code: Select all

import ReverseEngineering as reen
reen.approxSurface
In the forum there once was the user microelly2 (not active any more) who was written some functionality for this kind of purpose. Check some forum postings about Gordon surface if this is of any help for you.
by wmayer
Sun Aug 07, 2022 4:33 pm
Forum: Python scripting and macros
Topic: Creation of Surfaces
Replies: 15
Views: 641

Re: Creation of Surfaces

Sorry for this bothering, but I wonder how to obtain this sort of solids, with some surface defined from points.
That's a weakness of the GeomPlate algorithm that it starts to swing when there are too many (point) constraints. I don't think it's supposed to fit well a point cloud.
by wmayer
Sun Aug 07, 2022 3:57 pm
Forum: Python scripting and macros
Topic: Creation of Surfaces
Replies: 15
Views: 641

Re: Creation of Surfaces

Help says that it "returns the initial surface" but being assigned to a variable, I don't guess what is the scope.
If no user-defined initial surface is passed to the algorithm it will create one.
by wmayer
Sun Aug 07, 2022 3:41 pm
Forum: Open discussion
Topic: [Resolved] 3 lines to crash FreeCAD (reproducible) in Python console
Replies: 17
Views: 902

Re: 3 lines to crash FreeCAD (reproducible) in Python console

@wmayer Can you review this when you get a chance please? If fixes the crash but the preferred method is Py_XDECREF because compared to Py_DECREF it checks whether the argument is null and only if it's non-null it decrements the counter. However, the PR won't fix the problem why Py_BuildValue() fai...
by wmayer
Sun Aug 07, 2022 1:35 pm
Forum: Python scripting and macros
Topic: Creation of Surfaces
Replies: 15
Views: 641

Re: Creation of Surfaces

Could you please advise me on how to use the methods to trim the obtained surface. The four boundary curves do not exactly lie on the face. So, in a first step you must project them onto the surface. And then you can create a surface from the four boundary edges and the given face as support surfac...
by wmayer
Sun Aug 07, 2022 11:31 am
Forum: Install / Compile
Topic: master build - shibroken- resolved
Replies: 8
Views: 394

Re: master build - shibroken

Is the Mod/Mesh problem related to smesh ? No, it's totally unrelated. /svn/freecad-build-master/Mod/Mesh/Mesh.so: undefined symbol: _ZN4Base5Line3IdEC1ERKNS_7Vector3IdEES5_ This function requires this type . For some reason your libFreeCADBase.so seem to lack of the symbols of Base::Line3f and Bas...
by wmayer
Sun Aug 07, 2022 11:10 am
Forum: Help on using FreeCAD
Topic: Segmentation fault running test MeshTestsApp.PivyTestCases on archlinux
Replies: 3
Views: 279

Re: Segmentation fault running test MeshTestsApp.PivyTestCases on archlinux

I have created a debug build with gcc and when running the snippet from pivy import coin det = coin.SoFaceDetail() coin.cast(det, "SoFaceDetail") to debug the function cast(PyObject * self, PyObject * args) there is something weird. After the line if (!PyArg_ParseTuple(args, "Os#:cast...
by wmayer
Sun Aug 07, 2022 8:59 am
Forum: Help on using FreeCAD
Topic: Segmentation fault running test MeshTestsApp.PivyTestCases on archlinux
Replies: 3
Views: 279

Re: Segmentation fault running test MeshTestsApp.PivyTestCases on archlinux

It's quite a surprise that the crash also occurs with Py 3.10 because according to https://github.com/coin3d/pivy/commit/4b919a3f6b9f477d0e95a2fd2b6a149a55eb9792 the PR was supposed to fix the crash for this Py version. In this thread we have figured out that at least for older Py version the change...