All the time, i need to convert several file (.igs) to (.wrl), and i waste a lot of time, it’s possible to convert all file in one time, and how to do it ? or more efficiently.
Actually i need to open the file on rhino5.0 and save it as (.wrl). "so long when you have many files.
Thank you !! you respond so quickly !!!
I tried it, i wasn’t thinking it’s possible to code on rhinoceros.
You find this on internet ? or you know how to code ?
I composed it from other scripts I had in my archives, because most of the time working with files follows the same kind of patterns. I’m by no means an expert programmer, there are far more experienced programmers on this forum, but I know enough for making these kind of simple things.
If you want to learn using python on Rhino, a good start is https://www.rhino3d.com/download/IronPython/5.0/RhinoPython101
Thank you @pascal.
I have Rhino7 installed on Windows 10. I took the script above and saved it as RhinoScript1.py and then tried to run it in command line … and got following error
ImportError: No module named Rhino
Windows 10.0.19042 SR0.0 or greater (Physical RAM: 16Gb)
Computer platform: LAPTOP - Plugged in [100% battery remaining]
Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 4-7-2021 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
- Secondary monitor attached to adapter port #1
Primary OpenGL: NVIDIA Quadro P520 (NVidia) Memory: 2GB, Driver date: 4-5-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 462.30
> Integrated accelerated graphics device (shares primary device ports)
- Video pass-through to primary display device
OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)
Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 4-5-2021
Driver Version: 27.21.14.6230
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 2 GB