Ubuntu Daily Builds PPA now using OCC 7.1.0

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
NormandC
Posts: 12077
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby NormandC » Sat Mar 11, 2017 7:24 am

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!
bejant
Posts: 4094
Joined: Thu Jul 11, 2013 3:06 pm

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby bejant » Sat Mar 11, 2017 7:51 am

@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)
My Part Design tutorials on YouTube (aimed at beginners).
triplus
Posts: 4860
Joined: Mon Dec 12, 2011 4:45 pm

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby triplus » Sat Mar 11, 2017 12:37 pm

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

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby Chris_G » Sat Mar 11, 2017 9:15 pm

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
Posts: 8075
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby jmaustpc » Sun Mar 12, 2017 11:16 am

NormandC wrote:@ mods could this be pinned at the top for the time being? Thanks!

your request is granted. :)

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

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby abdullah » Sat Mar 18, 2017 9:34 pm

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

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby m42kus » Sun Mar 19, 2017 10:08 am

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?
User avatar
NormandC
Posts: 12077
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby NormandC » Sun Mar 19, 2017 4:30 pm

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.php?f=4&t=17501&start=200#p165769

Further info on what options to compile with starting here: https://forum.freecadweb.org/viewtopic.php?f=4&t=17501&start=190#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: 22
Joined: Tue Sep 02, 2014 9:41 am

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby m42kus » Tue Mar 28, 2017 9:16 am

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.php?f=4&t=17501&start=200#p165769

Further info on what options to compile with starting here: https://forum.freecadweb.org/viewtopic.php?f=4&t=17501&start=190#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 ;)
User avatar
Kunda1
Posts: 637
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ubuntu Daily Builds PPA now using OCC 7.1.0

Postby Kunda1 » Tue Mar 28, 2017 7:31 pm

m42kus wrote:Thanks a bunch for the reference. The freecad-git package on arch now includes support for netgen ;)

Beast! 8-)