What is the current behavior?
When I put merge_meshes=False iin babylonjs call, I get this error:
Traceback (most recent call last): File "/home/younes/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3442, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-3-390ebcf17e5e>", line 1, in <module> volume_.babylonjs(merge_meshes=False) File "/home/younes/Bureau/DESSIA_WORK/volmdlr/volmdlr/core.py", line 1469, in babylonjs babylon_data = self.babylon_data(merge_meshes=merge_meshes) File "/home/younes/Bureau/DESSIA_WORK/volmdlr/volmdlr/core.py", line 1447, in babylon_data return helper_babylon_data(babylon_data, display_points) File "/home/younes/Bureau/DESSIA_WORK/volmdlr/volmdlr/core.py", line 193, in helper_babylon_data positions = mesh["positions"] KeyError: 'positions'
I reproduce this on simple model (volume model with closedsheel as primitives) and also volumemiodel with assembly.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem Avoid reference to other packages
What is the expected behavior?
What is the motivation / use case for changing the behavior?
I'm submitting a ...
What is the current behavior? When I put merge_meshes=False iin babylonjs call, I get this error:
Traceback (most recent call last): File "/home/younes/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3442, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-3-390ebcf17e5e>", line 1, in <module> volume_.babylonjs(merge_meshes=False) File "/home/younes/Bureau/DESSIA_WORK/volmdlr/volmdlr/core.py", line 1469, in babylonjs babylon_data = self.babylon_data(merge_meshes=merge_meshes) File "/home/younes/Bureau/DESSIA_WORK/volmdlr/volmdlr/core.py", line 1447, in babylon_data return helper_babylon_data(babylon_data, display_points) File "/home/younes/Bureau/DESSIA_WORK/volmdlr/volmdlr/core.py", line 193, in helper_babylon_data positions = mesh["positions"] KeyError: 'positions'
I reproduce this on simple model (volume model with closedsheel as primitives) and also volumemiodel with assembly.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem Avoid reference to other packages
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Possible fixes
Please tell us about your environment: