DiscussionsIssue archiveOCCT:Visualization

Archived issue #0024756

AIS_ConnectedInteractive does not support nested AIS_ConnectedInteractive

CommunityOCCT:Visualizationclosed9 public notes

Search issues

Description

When AIS_ConnectedInteractive connects to another AIS_ConnectedInteractive (directly or via nested AIS_MultipleConnected), only the location of the most nested one is taken into account. The other locations are ignored.

(No fix is available, I had to work-around by accumulating locations outside and creating a single AIS_ConnectedInteractive).

Steps to reproduce

box b 1 2 3
vdisplay b
vconnect b1 0 0 5 1 0 0 0 0 1 b #creates AIS_ConnectedInteractive connected to AIS_Shape
vconnect b2 0 0 5 1 0 0 0 0 1 b1 #creates AIS_ConnectedInteractive connected to AIS_ConnectedInteractive

b2 is displayed at the same location as b1, while it should be translated by the vector {0,0,-5}

Public activity

9 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Should be fixed by the patch for #0024837, please test on branch CR24837 and close.
02Commenter 1
Dear MKV,

Please recheck and if all OK create testing case
03Commenter 3
Test case:

pload ALL
vinit
box b 1 1 1
vdisplay b
vconnectto b1 2 0 0 b
vconnectto b2 2 0 0 b1
vsetlocation b1 2 1 0
vfit
04Commenter 4
Dear duv,
test case bugs vis(004) bug24756 was created and pushed to git branch CR24837 #0024837
Could you please review it.
05Commenter 5
Dear mkv,

Test case reviewed without remarks.
06Commenter 1
Waiting fix for 24837
07Commenter 7
Dear Commenter 1,

CR24837 is tested.
08Commenter 1
Test case has been integrated with fix for 0024837
09Author
Verified in 6.8.0 beta using the following commands:

box b 1 2 3
vdisplay b
vconnect asm 0 0 5 b
vconnect asm1 5 0 0 asm
vconnect asm2 0 0 3 asm asm1

Related records