Search found 3941 matches

by looo
Tue Sep 27, 2016 5:06 pm
Forum: Open discussion
Topic: Reconstructing terrain from contours
Replies: 29
Views: 12002

Re: Reconstructing terrain from contours

I think microelly knows this best (he has shown some nice work in this direction) You can scale a uv-space up to the rectangular domain and least-square solve all interpolation-points. Therefor create a matrix from the influence of all base functions on the uv position of the interpolation points. U...
by looo
Sun Sep 25, 2016 3:56 pm
Forum: Install / Compile
Topic: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...
Replies: 288
Views: 68980

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

I was referring to the compressed package. I really don't see the advantages of splitting. But as you have sorted it out anyway, maybe it's the better solution. ;)

the uncompressed conda packages have:
occt 164 mb
freecad 140 mb
by looo
Sun Sep 25, 2016 11:48 am
Forum: FEM
Topic: import vtk got segmentation fault on freecad-daily ubuntu 16.04
Replies: 2
Views: 1310

Re: import vtk got segmentation fault on freecad-daily ubuntu 16.04

vtk has to be compiled with the same qt version as freecad. You can try import vtk and pyside in a python console. On my machine (ubuntu) I have vtk compiled with qt5 and pyside with qt4. Maybe it's the same in your case. (You can try conda to get latest freecad with occt and vtk, but still only tes...
by looo
Sun Sep 25, 2016 10:32 am
Forum: Install / Compile
Topic: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...
Replies: 288
Views: 68980

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

I wouldn't split the package, if it makes that much headache. On conda the full package is about 38 mb. This isn't too much. It's easier for ubuntu users and for you.
by looo
Thu Sep 22, 2016 6:32 pm
Forum: Developers corner
Topic: FreeCAD wide GUI Python module (run)
Replies: 19
Views: 4365

Re: FreeCAD wide GUI Python module (run)

This naming issue is caused by the way how freecad runs and loads Init files. They get called with exec(Init_file_as_string).

ps.:
python is normally simple, but sometimes freecad tries to make python as complex as c++ ;)
by looo
Wed Sep 21, 2016 7:20 am
Forum: Install / Compile
Topic: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...
Replies: 288
Views: 68980

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Just to clarify, we are not talking about the FreeCAD Github here, but about creating a Launchpad git repo associated with the FreeCAD Maintainers team, and specifically to package OCCT for Ubuntu. I'm not sure it's a good idea to include OCCT in FreeCAD sources. If we go there, do we also include ...
by looo
Tue Sep 20, 2016 1:52 pm
Forum: Install / Compile
Topic: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...
Replies: 288
Views: 68980

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Doesn't netgen 6.x require python3? That's the impression I had when I looked at it a few months ago. smesh doesn't need the netgen python stuff. So you can disable python with cmake. This is how I have done for conda packages: https://github.com/looooo/FreeCAD_Conda/blob/master/netgen/build.sh (Th...
by looo
Mon Sep 19, 2016 7:15 am
Forum: Install / Compile
Topic: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...
Replies: 288
Views: 68980

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

I've downloaded the freecad_build_env.yml build file, I'm seeing many dependencies I'm not familiar with... OK, that's just specific-conda packages I think. OT: This was only a test, and actually it doesn't work right now with current conda... It is a nice idea to have such enviroment-snapshots. Th...
by looo
Sun Sep 18, 2016 9:12 pm
Forum: Install / Compile
Topic: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...
Replies: 288
Views: 68980

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Using patches is fine, but only works as long as there are no changes in the corresponding source... With conda it is possible to use git patches, which are created with "git format-patch ...". I did this with netgen, but after some changes made by the netgen developers the patches were no...
by looo
Sun Sep 18, 2016 4:53 pm
Forum: Install / Compile
Topic: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...
Replies: 288
Views: 68980

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

thanks for your efforts. This seems to be a monster task. regarding netgen: I have contacted the netgen developer, and he will apply patches from vejmarie and wmayer to the netgen master branch. The patch for making FreeCAD work with netgen master is here: http://forum.freecadweb.org/viewtopic.php?f...