Opencascade for the masses?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
triplus
Posts: 9431
Joined: Mon Dec 12, 2011 4:45 pm

Re: Opencascade for the masses?

Postby triplus » Tue Dec 19, 2017 9:47 pm

I did a few tests and things like different access time are affecting the sha outcome. There might be a way to download the snapshot and extract it. And after to compress it again in a way the sha would match. But i don't feel that would be as desirable as the archive provided in some place that can be easily downloaded in the first place. Therefore i guess best to wait on the response first:
blacey wrote:
Tue Dec 19, 2017 2:10 pm
@Quaoar provided the contact information for the Opencascade Kernel project manager. I have reached out to him and he is interested in finding a solution to support Homebrew and said he will get back to my later this week. Fingers-crossed that this will bear fruit.
Dex
Posts: 56
Joined: Tue Sep 26, 2017 4:52 pm

Re: Opencascade for the masses?

Postby Dex » Fri Dec 22, 2017 6:41 am

Just to mention: In OpenCascade v7.2.0 release notes there is note about Improved handling of translucent objects in 3D Viewer. It could be nice improvement as currently on version: 0.17.12847 (Git) OCC version: 7.1.0 there are some transparency flickering and sometimes it interferes with work. See how colours change after a little camera change in viewport:
2017-12-22 07_36_57-FreeCAD.png
2017-12-22 07_36_57-FreeCAD.png (208.31 KiB) Viewed 451 times
2017-12-22 07_36_44-FreeCAD.png
2017-12-22 07_36_44-FreeCAD.png (165.2 KiB) Viewed 451 times
wmayer
Site Admin
Posts: 15755
Joined: Thu Feb 19, 2009 10:32 am

Re: Opencascade for the masses?

Postby wmayer » Fri Dec 22, 2017 8:53 am

Just to mention: In OpenCascade v7.2.0 release notes there is note about Improved handling of translucent objects in 3D Viewer. It could be nice improvement as currently on version: 0.17.12847 (Git) OCC version: 7.1.0 there are some transparency flickering and sometimes it interferes with work. See how colours change after a little camera change in viewport:
The only problem is that we don't use OCC's 3D viewer but Coin3d (an OpenInventor clone) and Quarter (the successor of SoQt). The problem you show in the 2nd picture is well-known and happens when hovering over a transparent face. In this case the (pre-)selection superposes everything underneath.
blacey
Posts: 370
Joined: Tue Dec 08, 2015 11:28 pm

Re: Opencascade for the masses?

Postby blacey » Fri Dec 22, 2017 2:45 pm

Here's an update:

Andrey, the project manager for Opencascade, worked with me behind the scenes to provide an anonymous means to download the source code. There was a bug in their gitweb interface that caused the downloaded tarball to vary by 1 byte that caused the varying sha problem that I mentioned. Andrey fixed the root cause very quickly.

Thanks to @saso for pointing me to @Quaoar
Thanks to @Quaor for providing the Opencascade Kernel Project Manager's contact information - Andrey
Thanks to Andrey for the support and quickly working with me to resolve the issue!!

Now the rest is up to me to resume my finish the opencascade formula revs sufficient to get it accepted into Core because Homebrew/Science is being deprecated. I'm traveling for the Holidays so I hope to wrap it up circa the first of the year.
User avatar
Kunda1
Posts: 7352
Joined: Thu Jan 05, 2017 9:03 pm

Re: Opencascade for the masses?

Postby Kunda1 » Fri Dec 22, 2017 5:34 pm

+1
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
triplus
Posts: 9431
Joined: Mon Dec 12, 2011 4:45 pm

Re: Opencascade for the masses?

Postby triplus » Fri Dec 22, 2017 5:34 pm

I see therefore the strategy to use a snapshot downloaded from GitWeb was selected after all. Good to hear that.