itwinjs-core icon indicating copy to clipboard operation
itwinjs-core copied to clipboard

Import and apply ScalableMesh clips from backend.

Open rbois-bentley opened this issue 4 years ago • 8 comments

Existing or newly created iModels stored in the Hub can contain clipping information that applies to Reality Meshes. The changes contained in this pull request will access this information if it exists and then apply the clipping accordingly. This allows WYSIWYG from DGN to iTwin.

rbois-bentley avatar Nov 15 '21 21:11 rbois-bentley

@rbois-bentley could you provide an iModel containing a ScalableMeshModel with clips defined?

pmconne avatar Nov 15 '21 21:11 pmconne

@rbois-bentley what is the difference between the jsonProperties.scalablemesh.clip property and the SmModelClips and SmModelClipVectors columns in the ScalableMeshModel table? Is the former no longer reliable?

pmconne avatar Nov 16 '21 21:11 pmconne

@pmconne The clip information stored in the jsonProperties.scalablemesh.clip property are old QV reality mesh clips and we need to keep them for legacy reasons. The clip information stored in the SmModelClips and the SmModelClipVectors in the backend are newer and we use those to support a more scalable way of applying clips in PowerPlatform based apps.

rbois-bentley avatar Nov 17 '21 13:11 rbois-bentley

@Mergifyio update

rbois-bentley avatar Nov 23 '21 14:11 rbois-bentley

update

✅ Branch has been successfully updated

mergify[bot] avatar Nov 23 '21 14:11 mergify[bot]

@Mergifyio update

rbois-bentley avatar Nov 29 '21 18:11 rbois-bentley

update

✅ Branch has been successfully updated

mergify[bot] avatar Nov 29 '21 18:11 mergify[bot]

moved this to draft state for the time being due to the inactivity.

calebmshafer avatar Sep 29 '22 17:09 calebmshafer