Search found 51 matches

by naxq0
Tue Dec 12, 2023 12:57 pm
Forum: Developers corner
Topic: will be OCCT7.8.0 supported?
Replies: 14
Views: 4035

Re: will be OCCT7.8.0 supported?

/home/adi/FreeCAD/src/Mod/Part/App/TopoShapePyImp.cpp:1309:48: error: ‘class TopoDS_Shape’ has no member named ‘HashCode’ They got rid of that method, so now you have to use: const size_t aHash = std::hash<TopoDS_Shape>{}(aShape); or TopTools_ShapeMapHasher{}(aShape); The difference beetween TopToo...
by naxq0
Thu Aug 10, 2023 3:45 pm
Forum: Developers corner
Topic: lazy_loader import clash & PR proposal
Replies: 0
Views: 439

lazy_loader import clash & PR proposal

I just built FreeCAD 0.21 and so far, so good! One issue I have had is that both my as well as FreeCAD's python code want to "import lazy_loader" my dependencies expect to find the pypi lazy_loader package the FreeCAD python code at FreeCAD/src/Mod/ expects to find FreeCAD/src/3rdParty/laz...
by naxq0
Tue Jul 18, 2023 9:59 am
Forum: Python scripting and macros
Topic: Iterative Export of Part as STEP
Replies: 5
Views: 813

Re: Iterative Export of Part as STEP

Part.export([Part], file_prefix + doc.Label + '_' + text_left + '_' + text_right + '.step') In this line, you are using the Part.export function (inside of the Part workbench) to export [Part] ( a list containing only one element: the part workbench). For STEP files, there are dedicated step export...
by naxq0
Mon May 08, 2023 6:59 am
Forum: Announcements & Features
Topic: [Announcement] GPT4FreeCAD Plug-In
Replies: 20
Views: 9408

Re: [Announcement] GPT4FreeCAD Plug-In

Sounds cool :)

I'm excited to see where these things go, I was blown away by https://github.com/openai/shap-e
by naxq0
Fri May 05, 2023 7:30 am
Forum: Install / Compile
Topic: [SOLVED] Compile stopped working on Arch Linux due to python 3.11 update
Replies: 6
Views: 1588

Re: Compile stopped working on Arch Linux due to python 3.11 update

How can I tell FreeCAD to compile against python 3.11? I'm afraid that it's not as simple as that because some of the other dependencies that FreeCAD depends on have python bindings as well, so you would have to likely recompile everything that depends on python, for example boost Maybe consider us...
by naxq0
Tue May 02, 2023 8:08 am
Forum: Install / Compile
Topic: [SOLVED] Trying to compile against a different version of OCC
Replies: 5
Views: 911

Re: Trying to compile against a different version of OCC

You can take a look at the OpenCASCADE_DIR variable in cmake using cmake -LA or ccmake . For me it's pointing to /usr/local/lib/cmake/opencascade If you previously built and installed another version of opencascade, there's a chance that cmake is using the *.cmake files from the previous opencasde. ...
by naxq0
Mon Mar 20, 2023 2:28 pm
Forum: Python scripting and macros
Topic: pylint segmentation fault when setting Part.Shape placement.
Replies: 1
Views: 335

Re: pylint segmentation fault when setting Part.Shape placement.

I'm not sure what's going on, but you should be able to get more information about where the segmentation fault is coming from by running it under gdb. So, something like

Code: Select all

gdb python
and then

Code: Select all

(gdb) run your-module-to-run.py 
by naxq0
Tue Feb 07, 2023 9:48 am
Forum: Install / Compile
Topic: New Docker Image For Aevelopment Attempt Getting Fail
Replies: 2
Views: 675

Re: New Docker Image For Aevelopment Attempt Getting Fail

Could you post a bit more info about what you're trying to build?

What existing docker image are you referring to? Where is the Dockerfile?
https://hub.docker.com/search?q=freecad

What version of FreeCAD are you trying to build? And what dependencies? (most importantly OCCT)