[FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Post here if you have a FreeCAD-related job to offer to the FreeCAD community. This can include programming or modeling.
User avatar
Kunda1
Posts: 3223
Joined: Thu Jan 05, 2017 9:03 pm

[FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby Kunda1 » Fri Jul 07, 2017 1:04 am

FreeCAD uses OpenCascade (OCC) as it's CAD engine. Naturally there is a need to keep a open rapport with the upstream OCC issues that FC encounters. This is a volunteer position for the FreeCAD project to improve, streamline, report, and monitor upstream OCC issues. There are some requirements by the OCC devs for one to be able to have access to their bugtracker.

Requirements:
  • In order to get permissions to report on the OCC bugtracker you have to sign the CLA (contributors license agreement)
  • Ability to build the latest OpenCascade master
  • Ability to rebuild FreeCAD with said OCC master version to verify the bug still exists
  • Learn the OCC draw syntax to reproduce the bug for reporting in an appropriate format in the OCC bugtracker
References:
Last edited by Kunda1 on Sat Jul 08, 2017 11:34 am, edited 1 time in total.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
looo
Posts: 2066
Joined: Mon Nov 11, 2013 5:29 pm

Re: [FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby looo » Fri Jul 07, 2017 5:31 am

In my opinion it would be much easier to work with oce, as they are on github, and I think contributions are accepted faster. In the long run we should use oce-sources again. Therefore oce should move to occt7.x. I already asked something in this direction:
https://github.com/tpaviot/smesh/issues/46
User avatar
NormandC
Posts: 16982
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby NormandC » Sat Jul 08, 2017 6:30 pm

looo wrote:
Fri Jul 07, 2017 5:31 am
Therefore oce should move to occt7.x.
You have to face the sad truth that the OCE project is dead. The project's pillars have apparently moved on to other things. Their last update from May 2017 was based on OCC 6.9.1 which itself came out on 28 September 2015 (!!!), and based on work tanderson69 (blobfish) did more than a year before.

Thomas admits what I consider is the failing of OCE:
tpaviot wrote:The difference between oce and occt is just the timeline, i.e. oce has a delay over occt release cycle.
A delay of two years (and still counting) is simply unacceptable. FreeCAD has benefited from huge gains in going from OCE 0.17.1/OCC 6.8.0 to OCC 7.1.0. Countless geometry bugs encountered by end users are now gone. Proper projections and HLR in TechDraw would be impossible with the current OCE.

Thinking that OCE can be brought to OCCT 7.1.0 in a timely manner is wishful thinking. OCCT will probably already be at 7.5.0 when/if that happens.
looo
Posts: 2066
Joined: Mon Nov 11, 2013 5:29 pm

Re: [FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby looo » Sat Jul 08, 2017 7:30 pm

NormandC wrote:FreeCAD has benefited from huge gains in going from OCE 0.17.1/OCC 6.8.0 to OCC 7.1.0.
That is true. My suggestion to oce is quite simple: Adopt latest occt7.1, try to apply some of the patches and update the dependencies. This is more like a restart and shouldn't be that much work. Patches can be applied one by one...
User avatar
NormandC
Posts: 16982
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby NormandC » Sat Jul 08, 2017 7:39 pm

looo wrote:
Sat Jul 08, 2017 7:30 pm
My suggestion to oce is quite simple: Adopt latest occt7.1, try to apply some of the patches and update the dependencies. This is more like a restart and shouldn't be that much work.
Are you not aware that there is nobody left anymore to do even little work (I doubt what you're proposing represents little work but anyway)? You can hear crickets on the oce-dev mailing list.
looo
Posts: 2066
Joined: Mon Nov 11, 2013 5:29 pm

Re: [FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby looo » Sat Jul 08, 2017 7:41 pm

at least I got some fast replies on github.
User avatar
NormandC
Posts: 16982
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby NormandC » Sat Jul 08, 2017 7:46 pm

Yes, I'm actually quite surprised by that. If you look at OCE's commits, the latest upgrade and occasional commit notwithstanding, there is no actual work being done anymore and hasn't been for the past year or two.
DeepSOIC
Posts: 6076
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: [FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby DeepSOIC » Tue Sep 11, 2018 10:59 pm

Can we (FreeCAD) pay OCCT to have some sweep across FreeCAD bugs marked as OCC bugs, I wonder?
User avatar
Kunda1
Posts: 3223
Joined: Thu Jan 05, 2017 9:03 pm

Re: [FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Postby Kunda1 » Fri Sep 14, 2018 1:10 pm

DeepSOIC wrote:
Tue Sep 11, 2018 10:59 pm
Can we (FreeCAD) pay OCCT to have some sweep across FreeCAD bugs marked as OCC bugs, I wonder?
I actually think this is pretty good idea. Case in point, Defeaturing WB.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features