Ubuntu Daily Builds PPA now using OCC 7.1.0

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by NormandC »

Hello,

For anyone who hasn't followed our progress here, this week we switched the Daily Builds PPA from using OCE 0.17 to Open CASCADE (OCC) 7.1.0.

OCC / OCE (Open CASCADE Community Edition) is a CAD development platform, it is used by FreeCAD for its geometric modeling kernel.

The reason for this switch is that OCE development has been mostly stalled for the past 2 years. OCE 0.17 (the latest version available in the Ubuntu repositories) is based on OCC 6.8.0 released in November 2014. Moreover, OCE 0.18 released in January 2017 is still only based on OCC 6.9.1. OCC 7.1.0 contains tons of bug fixes, and it is also required to leverage all the latest stuff in the FEM workbench.

A nice consequence of this is that the Boolean Fragments tools from the Part workbench are now available (they require OCC 6.9+). They're useful for FEM.

This change required that we temporarily disable netgen because the old v4.9.13 version from the Ubuntu repositories conflicts with OCC 7.x. (netgen is one of two tetrahedral mesh generators available in FreeCAD).

We will work to package newer libraries for the FEM workbench: netgen 5.3.1 and VTK 7. Hopefully we can implement them soon.

This work wouldn't be possible without the help of the FreeCAD community (sgrogan, looo, vejmarie, blacey, bernd, gdo35 - sorry if I'm forgetting anyone!). Big thanks to you guys!

- NormandC for the FreeCAD Maintainers team

@ mods could this be pinned at the top for the time being? Thanks!
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by bejant »

@NormandC and all: You bet I find it useful and thank you all again again for your diligence!
(I posted here because it seems more appropriate and to avoid further hijacking of the other topic)
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by triplus »

Sounds good and thanks for investing effort in this area.
User avatar
Chris_G
Veteran
Posts: 2578
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by Chris_G »

So many thanks to all members involved in this packaging work.
I keep in mind that a lot of hard work is hidden behind my simple "sudo apt upgrade".
Thanks a lot, guys !
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by jmaustpc »

NormandC wrote:@ mods could this be pinned at the top for the time being? Thanks!
your request is granted. :)

Thanks everyone involved. :)
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by abdullah »

It is indeed great! Thanks a lot to all for investing your time in it.
m42kus
Posts: 159
Joined: Tue Sep 02, 2014 9:41 am

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by m42kus »

NormandC wrote: This change required that we temporarily disable netgen because the old v4.9.13 version from the Ubuntu repositories conflicts with OCC 7.x. (netgen is one of two tetrahedral mesh generators available in FreeCAD).

We will work to package newer libraries for the FEM workbench: netgen 5.3.1 and VTK 7. Hopefully we can implement them soon.
Hey NormandC,
I'm the maintainer of freecad-git for arch linux (https://aur.archlinux.org/packages/freecad-git/) and also recently switched to OCC 7, specifically to OCC 7.1.0. I already use netgen 5.3.1 for some time but I wasn't able to build it against OCC 7.1. The only version of netgen that built successfully was the master branch of the netgen project which isn't supported by freecad... Have you hand any success with this?
My GSoC Devlog: ceeli.github.io/gsoc
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by NormandC »

Hi m42kus,

netgen 5.3.1 needs to be patched. The guys packaging the MacOS X builds came up with a working patch. For Ubuntu we're basing our package on it, see our coordination topic:

Latest patch: https://forum.freecadweb.org/viewtopic. ... 00#p165769

Further info on what options to compile with starting here: https://forum.freecadweb.org/viewtopic. ... 90#p164833 (On Ubuntu we need to use C++11)

Sorry for the high noise ratio, I'm really just an end user fumbling through this... :roll:

FYI for much more expert help than I could provide, blacey is the man. He's active on the FreeCAD Gitter. (If you prefer IRC there's a Bot that syncs both channels)
m42kus
Posts: 159
Joined: Tue Sep 02, 2014 9:41 am

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by m42kus »

NormandC wrote:Hi m42kus,

netgen 5.3.1 needs to be patched. The guys packaging the MacOS X builds came up with a working patch. For Ubuntu we're basing our package on it, see our coordination topic:

Latest patch: https://forum.freecadweb.org/viewtopic. ... 00#p165769

Further info on what options to compile with starting here: https://forum.freecadweb.org/viewtopic. ... 90#p164833 (On Ubuntu we need to use C++11)
Thanks a bunch for the reference. The freecad-git package on arch now includes support for netgen ;)
My GSoC Devlog: ceeli.github.io/gsoc
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Post by Kunda1 »

m42kus wrote:Thanks a bunch for the reference. The freecad-git package on arch now includes support for netgen ;)
Beast! 8-)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply