3drepo / 3drepobouncer

A C++ library providing 3D Repo Scene Graph definition, repository management logic and manipulation logic. It is is essentially the refactored 3DRepoCore and (parts of) 3DRepoGUI
GNU Affero General Public License v3.0
29 stars 13 forks source link

Issue 632 - Expose LOD parameter for FileProcessorRvt #644

Closed sebjf closed 11 months ago

sebjf commented 11 months ago

This fixes #632

Description

Configures the wrTriangulationParams parameter of the ODA library in FileProcessorRvt, based on an integer value delivered via the import config. The values of the wrTriangulationParams are hand calibrated.

This PR relies on https://github.com/3drepo/3drepo.io/pull/4203 in order to get the LOD parameters from the web, however, it is backwards compatible with previous configs.

If the import config parameter is missing or zero, the behaviour is as it was before.

Though this will work without changes to .io, it should be held until https://github.com/3drepo/3drepo.io/pull/4203 is approved, so we know the hardcoded settings are correct.