Search found 75 matches

by hrhassan
Sat Nov 21, 2020 8:17 pm
Forum: Install / Compile
Topic: Question about LibPack
Replies: 1
Views: 556

Re: Question about LibPack

Another question:
How are the other folders used in compilation like "resources", "lib", "inc", etc? Any documentation that could give me descriptions of what each folder is utilized for?

Thank you
by hrhassan
Sat Nov 21, 2020 7:44 pm
Forum: Install / Compile
Topic: Question about LibPack
Replies: 1
Views: 556

Question about LibPack

Hello, I want to edit the libraries (QT and Boost, for example) in the LibPack under the include directory. My question is why there are dlls in the bin file? If I were to compile the header files in the include directory, would a new dll replace the ones in the bin folder? Also, do the references t...
by hrhassan
Tue Jul 21, 2020 6:17 pm
Forum: Developers corner
Topic: Is it possible to write a module in C#?
Replies: 11
Views: 2555

Re: Is it possible to write a module in C#?

My goal is to have the FreeCAD source code on the .net framework as I am more comfortable with C# and VB.net. IMHO it would be much easier to learn Python than to convert FreeCAD to use .net framework. I know, but I would like to delve more into code conversion and working with the .Net Core/Framew...
by hrhassan
Tue Jul 21, 2020 12:27 am
Forum: Developers corner
Topic: Is it possible to write a module in C#?
Replies: 11
Views: 2555

Re: Is it possible to write a module in C#?

Regarding the .NET architecture this should be possible for Windows, translating to the common intermediate language. However, consider that there are Linux and MacOS users as well. My goal is to have the FreeCAD source code on the .net framework as I am more comfortable with C# and VB.net. I am on...
by hrhassan
Mon Jul 20, 2020 10:06 pm
Forum: Developers corner
Topic: Is it possible to write a module in C#?
Replies: 11
Views: 2555

Is it possible to write a module in C#?

I know you can write a module in Python or C++, but what about C# or VB.net?

Thank you for your time.
by hrhassan
Thu Jul 16, 2020 12:42 am
Forum: Install / Compile
Topic: Start the CMAKE compilation over.
Replies: 7
Views: 1794

Re: Start the CMAKE compilation over.

I still try to understand what you mean by your question. As far as I know there is not a single C++ macro in the code that is related to a CMAKE defintion and it also shouldn't be. Also these #if etc. C++ preprocessor directives are unrelated to CMAKE. What CMAKE does is that it provides the user ...
by hrhassan
Wed Jul 15, 2020 1:17 am
Forum: Install / Compile
Topic: Start the CMAKE compilation over.
Replies: 7
Views: 1794

Is there a FreeCAD Source code available without preprocessor/CMAKE configuration?

Hello, I am in the process of converting FreeCAD's source code to C# and was wondering if there is a version of the source code without the CMAKE configuration to make the conversion easier.
by hrhassan
Thu Jul 09, 2020 2:57 pm
Forum: Install / Compile
Topic: Start the CMAKE compilation over.
Replies: 7
Views: 1794

Re: Start the CMAKE compilation over.

johnwang wrote: Thu Jul 09, 2020 8:00 am If you use c#, do you need cmake?
Not sure, I would just like to get rid of the cmake configuration and preprocessors so I am able to run it through a C# converter.
by hrhassan
Wed Jul 08, 2020 2:47 am
Forum: Install / Compile
Topic: Start the CMAKE compilation over.
Replies: 7
Views: 1794

Start the CMAKE compilation over.

Simple question, how do I get rid of all of CMAKE's configuration and preprocessors? I would like to start the CMAKE configuration from scratch for a project I am doing where I convert the source code to C#. However, there are the #if #else preprocessors in the code. How can decompile these?
by hrhassan
Mon Jul 06, 2020 7:36 pm
Forum: Python scripting and macros
Topic: Pointer at global center of mass?
Replies: 6
Views: 1453

Re: Pointer at global center of mass?

import FreeCAD as App import FreeCADGui as Gui import Part from PySide2 import QtWidgets class MyMsgBox(QtWidgets.QDialog): """This function defines a custom message box with a scrollable text edit to display message The displayed text can be get/set with the 'content' property"...