Search found 90 matches

by Bayesian
Sun May 07, 2023 12:42 pm
Forum: Python scripting and macros
Topic: About FreeCAD and Blender Integration
Replies: 2
Views: 598

Re: About FreeCAD and Blender Integration

Not sure why you need FreeCAD for this. For a Webshop that just wants to replace the texture on a bag, you should just use something like threejs, use Blender to create a UV map once, then replace the texture at runtime. It's not difficult to export a FreeCAD model to stl, then import it in Blender....
by Bayesian
Sun May 07, 2023 12:34 pm
Forum: Python scripting and macros
Topic: Python API and Jupyter problems
Replies: 2
Views: 495

Re: Python API and Jupyter problems

Part of the solution is to import FreeCAD as App. Somehow import App worked before? The loading issue remains. FreeCAD/Jupyter is eating up most CPU during loading, crippling the whole system despite 32gb RAM. Not sure what that is about. My current solution to that is that I use "%init_freecad...
by Bayesian
Sun May 07, 2023 11:28 am
Forum: Python scripting and macros
Topic: Python API and Jupyter problems
Replies: 2
Views: 495

Python API and Jupyter problems

For quite a while I have been using FreeCAD from Jupyter, both with and without a GUI window opened. That worked quite ok for a long time. Recently, I have more trouble. For one thing I couldn't load documents from files any more. While those files would open quite quickly in a normal FreeCAD sessio...
by Bayesian
Sun Dec 27, 2020 2:25 pm
Forum: Install / Compile
Topic: Let's talk about Conda
Replies: 17
Views: 7615

Re: Let's talk about Conda

The reason, as far as I understand it, seems to be that the latest build uploaded to freecad/label/dev requires a numpy version whose package in the standard repository doesn't support python 3.8 right now or anymore. But there is a package in conda-forge for 3.8. So you "just" need to add...
by Bayesian
Fri Dec 25, 2020 6:27 am
Forum: Install / Compile
Topic: Let's talk about Conda
Replies: 17
Views: 7615

Re: Let's talk about Conda

I currently have a strange issue with the conda repositories. With an older conda install on a Ubuntu system, I can run the following command just fine: > conda create --name fcenv-dev --channel freecad/label/dev freecad In a fresh Ubuntu VM, with a fresh miniconda3 64 bit setup, the following happe...
by Bayesian
Wed Dec 23, 2020 9:03 am
Forum: Developers corner
Topic: Did something happen to the Application startup?
Replies: 1
Views: 609

Re: Did something happen to the Application startup?

Hm, or not. I now managed to make everything work with the current conda dev channel build...

It's just confusing as heck every time...

I'll try to reproduce the install from a vanilla VM so that I can finally provide concrete installation instructions for my package.
by Bayesian
Wed Dec 23, 2020 8:06 am
Forum: Developers corner
Topic: Did something happen to the Application startup?
Replies: 1
Views: 609

Did something happen to the Application startup?

I know I may be annoying some people with these questions or complaints. For about two years I've been experimenting and often succeeding in making the current FreeCAD builds work well with the Jupyter Notebook / Jupyter Lab ecosystem. I found this useful when scripting in FreeCAD or creating object...
by Bayesian
Wed Dec 23, 2020 6:47 am
Forum: Python scripting and macros
Topic: Problems with FreeCAD GUI when importing in external application
Replies: 1
Views: 543

Re: Problems with FreeCAD GUI when importing in external application

Right now I'm trying to circumvent the problem by running the kernel inside freecadcmd-daily. Which (undocumentedly) takes a Python file as an input to run. Unfortunately, you can't pass any arguments to that script/program/module. But I need to pass the path to the connection file (json) in there. ...
by Bayesian
Tue Dec 22, 2020 2:04 pm
Forum: Python scripting and macros
Topic: Problems with FreeCAD GUI when importing in external application
Replies: 1
Views: 543

Problems with FreeCAD GUI when importing in external application

I tried to update my FreeCAD Jupyter kernel to work with freecad-daily on Ubuntu. And it mostly works now, except that the applications seems to be missing most Modules/Extensions/Workbenchens that are not installed from the Addon Manager. Meaning I can use the Mainwindow to display Geometry I add f...
by Bayesian
Tue Apr 14, 2020 4:09 pm
Forum: Python scripting and macros
Topic: Importing STEP Files
Replies: 4
Views: 3554

Re: Importing STEP Files

Thank you, "Part.read" is what I was looking for.

The other way is extremely clumsy...