removeNURBS crashes VRED Pro 2024.1

removeNURBS crashes VRED Pro 2024.1

flavien_picon
Explorer Explorer
768 Views
3 Replies
Message 1 of 4

removeNURBS crashes VRED Pro 2024.1

flavien_picon
Explorer
Explorer

If I convert surface to mesh in UI it works fine, but when I use the 

vrOptimize.removeNURBS function it crashes VRED 2024.1.
 
Am I not using the good function?
flavien_picon_0-1702043326265.png

 

0 Likes
Accepted solutions (1)
769 Views
3 Replies
Replies (3)
Message 2 of 4

Christian_Garimberti
Advisor
Advisor
Accepted solution

Hi, waiting for an official solution to this bug (i tried and it does the same to me) you can try to use vrScenegraphService.convertToMesh(nodes) instead from API V2.

It should do the same and it doesn't crash....

node = vrScenegraphService.getSelectedNode()
vrScenegraphService.convertToMesh([node])

Best

Chris

Christian Garimberti
Technical Manager and Visualization Enthusiast
Qs Informatica S.r.l. | Qs Infor S.r.l. | My Website
Facebook | Instagram | Youtube | LinkedIn

EESignature

Message 3 of 4

seiferp
Community Manager
Community Manager

DatasmithExporter Refactoring VRED? 

0 Likes
Message 4 of 4

flavien_picon
Explorer
Explorer

@Christian_Garimberti Grazie! It worked. I was looking for such a function but seems like did not look properly enough.

@seiferp Yes, Vred 2024 comes with updated python libraries so we need to update our exporter. Do you recommend moving all function on the V2 API? At the moment I will keep API V1 function unless they are marked deprecated.