FS#68816 - [opencascade] Add support for RapidJSON

Attached to Project: Community Packages
Opened by Clemmitt Sigler (cmsigler) - Wednesday, 02 December 2020, 10:31 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 04 December 2020, 06:52 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Opencascade 7.5 offers glTF format support. However, this requires it to be built with RapidJSON support. Please see these URLs:

https://forum.freecadweb.org/viewtopic.php?f=8&t=31680&start=10
https://old.opencascade.com/content/building-linux-rapidjson

Once RapidJSON is enabled, glTF support is then also available in FreeCAD, which depends on Opencascade. For more info, please see  FS#68752 

Additional info:

opencascade 7.5.0-2
https://bugs.archlinux.org/task/68752#comment194602

HTH :)

Clemmitt Sigler
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 04 December 2020, 06:52 GMT
Reason for closing:  Implemented
Additional comments about closing:  Feature request complete and working
Comment by Kyle Keen (keenerd) - Thursday, 03 December 2020, 09:49 GMT
How is opencascade 7.5.0-3 for you?
Comment by Clemmitt Sigler (cmsigler) - Thursday, 03 December 2020, 15:57 GMT
Hi,

I thought I would download a couple of simple glTF models and open them in freecad-git to test glTF support via the new version of opencascade you built. However:

https://wiki.freecadweb.org/GlTF

glTF import is not supported in FreeCAD :( Export is, however, so I created a solid box in FreeCAD, selected it, then exported it as glTF. Success!!! Thank you for adding this support to opencascade! :)

For reference, freecat-git About version info:

OS: Arch Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23219 (Git)
Build type: Release
Branch: master
Hash: f13c8974b5b14046fe844de6bbbc104ed50be9ac
Python version: 3.9.0
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)

opencascade 7.5.0-3 System Information:

Open CASCADE Technology 7.5.0
TBB enabled (HAVE_TBB)
FreeImage enabled (HAVE_FREEIMAGE)
FFmpeg enabled (HAVE_FFMPEG)
OpenGL: desktop
OpenVR disabled
RapidJSON enabled (HAVE_RAPIDJSON)
VTK enabled (HAVE_VTK)
Exceptions enabled
Compiler: GCC 10.2.0
Architecture: AMD64
OS: Linux

Requesting closing as complete.

Clemmitt

Loading...