[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.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

[FreeCAD Volunteer Position] Liason between FreeCAD and OpenCascade

Post by Kunda1 »

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.
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
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

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

Post by looo »

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
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

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

Post by NormandC »

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.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

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

Post by looo »

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
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

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

Post by NormandC »

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.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

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

Post by looo »

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

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

Post by NormandC »

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.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

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

Post by DeepSOIC »

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

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

Post by Kunda1 »

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.
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