Repository navigation
Open
Description
Describe the bug
There is a problem with RV_session files.
When I try to load a session with a force diagram, the force diagram is not displayed, even if I try to recompute or redraw the scene.
As shown in the video, the force diagram is displayed correctly for files that contain only the form diagram. However, in later steps, the force diagram display is lost.
Traceback (most recent call last):
File "file:///C:/Users/petras/.rhinocode/stage/a3bfn3gm.z5f", line 133, in <module>
File "file:///C:/Users/petras/.rhinocode/stage/a3bfn3gm.z5f", line 102, in RunCommand
File "C:\Users\petras\.rhinocode\libs\RckI5krZ\compas_rv\datastructures\forcediagram.py", line 81, in update_position
bbox_form = Box.from_bounding_box(bounding_box(primal.vertices_attributes("xyz")))
AttributeError: 'NoneType' object has no attribute 'vertices_attributes'
Error occured running command "4cc0e5c1-9aa7-4228-8ca9-bc405891fa61" | Traceback (most recent call last):
File "file:///C:/Users/petras/.rhinocode/stage/a3bfn3gm.z5f", line 133, in <module>
File "file:///C:/Users/petras/.rhinocode/stage/a3bfn3gm.z5f", line 102, in RunCommand
File "C:\Users\petras\.rhinocode\libs\RckI5krZ\compas_rv\datastructures\forcediagram.py", line 81, in update_position
bbox_form = Box.from_bounding_box(bounding_box(primal.vertices_attributes("xyz")))
AttributeError: 'NoneType' object has no attribute 'vertices_attribute
To Reproduce
Try to load these files and ckeck if force diagram is shown:
examples_barrel_3.json
examples_barrel_4.json
Expected behavior
Force diagram has to be shown.
Screenshots
Aufzeichnung.2025-01-30.160445.mp4
Desktop (please complete the following information):
- Win OS: [e.g. iOS]
- Python version [e.g. 2.7]
- Python package manager [e.g. macports, pip, conda]
Metadata
Metadata
Assignees
Labels
No labels
Activity