Global Bounding Box error #3875
Replies: 7 comments 10 replies
-
|
Thanks for posting this. However, this might be the symptom of a hidden issue in your scene file. |
Beta Was this translation helpful? Give feedback.
-
|
@hugtalbot thanks! rootNode.bbox.value=[-1, -1, -1, 1, 1, 1] |
Beta Was this translation helpful? Give feedback.
-
|
Hi @AngelicaScamarcia, @hugtalbot print(root.bbox.value.shape)shows that bbox is a two dimentional array of size 2,3 (because there is 2 Vector3d). So I think the proper setting of the bbox is: root.bbox.value = [[0,0,0],[1,1,1]] |
Beta Was this translation helpful? Give feedback.
-
|
Weird, Can you try this scene (because adding the setting of the bbox remove the message on my side): import Sofa
def createScene(root):
print(root.bbox.value)
root.bbox.value = [[0,0,0],[1,1,1]]
print(root.bbox.value) |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I have a code from an old version of Sofa (v20.12.02), and I would like to improve it since I downloaded the new version of Sofa (v.22.12) on my laptop.
I enabled the Geomagic plugin (the demo works in a properly way!), even though I'm struggling with these warnings, since I'm not able to see the scene of this old code with the new version.
How can I fix it?
Beta Was this translation helpful? Give feedback.
All reactions