Search found 3104 matches

by ickby
Sat Oct 23, 2021 4:25 am
Forum: Part Design module development
Topic: BUG! in Shape.isInside
Replies: 7
Views: 5795

Re: BUG! in Shape.isInside

It is not a bug. A part line is a geometric object describing a line, hence is of infinite length. The two points you give to the constructor are two points it oaases through. Hence the edge you created like this is also infinite, and hence the point you check for is on the edge. You can see that th...
by ickby
Sun Oct 10, 2021 5:42 am
Forum: Python scripting and macros
Topic: VTK scene
Replies: 19
Views: 6568

Re: VTK scene

It uses a completely different rendering pipeline, so no, you cannot add it to the same scene graph. However, seems it would be possible with some scripting to add a new tab in freecad document window with the Vedo rendering inside.
by ickby
Sun Oct 10, 2021 5:38 am
Forum: Open discussion
Topic: Not understandable sometimes (some functionalities in FreeCAD)
Replies: 17
Views: 3928

Re: Not understandable sometimes (some functionalities in FreeCAD)

What could help, at least it does for me, is to make a very clear distinction between things and purposes in freecad. If freecad would be a python library only, no UI etc., You would have only things like Part.Shape, or FEM.Mesh etc. These are data structures containing information and allow to work...
by ickby
Sat Oct 09, 2021 5:16 pm
Forum: Open discussion
Topic: Not understandable sometimes (some functionalities in FreeCAD)
Replies: 17
Views: 3928

Re: Not understandable sometimes (some functionalities in FreeCAD)

It will make sense once you digged deep into it :)
by ickby
Sat Oct 09, 2021 11:57 am
Forum: Python scripting and macros
Topic: VTK scene
Replies: 19
Views: 6568

Re: VTK scene

Is there any incentive to embed Paraview into FreeCAD (as in Salome)? That would do the job, although ParaView is a massive library, and FreeCAD is a CAD application, not a CAE environment... Before implementing the current way of FreeCADs vtk integrtion I was thinking about that way, but decided a...
by ickby
Sat Oct 09, 2021 11:11 am
Forum: Open discussion
Topic: Not understandable sometimes (some functionalities in FreeCAD)
Replies: 17
Views: 3928

Re: Not understandable sometimes (some functionality in FreeCAD)

I think your problem comes from a naming confusion, and I can totally understand it. FreeCAD uses the wording Placement in different Object types for different purposes, they are named the same and have the same property type, but have different meaning depending on object. For example in context of...
by ickby
Fri Oct 08, 2021 2:03 pm
Forum: Python scripting and macros
Topic: VTK scene
Replies: 19
Views: 6568

Re: VTK scene

Open a new document, and then use menu file->import. There you can choose FEM result vtk/vtu and then select your file. If the vtk data is a volume you will most likely be able to use some vtk filters to convert it to a triangulated shape, or an image. But it is not implemented in freecad, and also ...
by ickby
Fri Oct 08, 2021 12:46 pm
Forum: Python scripting and macros
Topic: VTK scene
Replies: 19
Views: 6568

Re: VTK scene

Freecad can load some vtk data and visualize it, but I'm unsure if the image data is supported, as I never worked with it and don't know what it is about. You can just try to get a vtk file containing it and try to load it into freecad with the import function. In general freecad is searching for tr...
by ickby
Thu Sep 23, 2021 10:46 am
Forum: Python scripting and macros
Topic: [SOLVED] External workbench mixed python/C++
Replies: 7
Views: 1888

Re: External workbench mixed python/C++

One point that may not yet be clear: when the c++ workbench is compiled it uses the exact same library versions as freecad (that's the reason you compile yourself). Hence it only works with this very special set of libraries, and only on the OS you compiled it. This basically makes your workbench im...
by ickby
Thu Sep 16, 2021 5:07 pm
Forum: Open discussion
Topic: Werner Mayer
Replies: 51
Views: 15649

Re: Werner Mayer

Nice to have you back fresh and motivated!