Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » Eclipse Sumo » export road geometry to blender(Trying to use sumo-web3d but can't figure out how to correctly install sumo-wb3d)
export road geometry to blender [message #1859568] Thu, 15 June 2023 23:09 Go to next message
Doug Frasher is currently offline Doug FrasherFriend
Messages: 1
Registered: June 2023
Junior Member
I am trying to find a way to export Sumo road geometry for use in Blender.

I Found a thread on this website indicating that a program from sidewalklabs on github,

https://github.com/sidewalklabs/sumo-web3d

should be able to help me go from SUMO to blender by converting json files of road geometry.
I cannot figure out how to install sumo-web3d. The documentation there is confusing to me as I am new to python and js. I have the sumo-web3d.py file but I presume I have not done the correct initializing setup to get it to run.

Any help in setting up sumo-web3d would be greatly appreciated, or
suggestions as to how to export Sumo network road geometry for import to Blender (obj file) would be great as well.

Thanks!
Re: export road geometry to blender [message #1859677 is a reply to message #1859568] Thu, 22 June 2023 08:20 Go to previous message
Kabiru Usman is currently offline Kabiru UsmanFriend
Messages: 42
Registered: April 2023
Member
Sounds like you're diving into some pretty cool stuff! Don't sweat it, setting up Python and JS projects can be a bit of a learning curve.

For sumo-web3d, you'd first need Python (preferably 3.x) and pip installed on your system. Then, you'd want to clone the GitHub repo and install the requirements using pip. If you're on a Unix-like system (like Linux or macOS), the commands would look something like this:

git clone https://github.com/sidewalklabs/sumo-web3d.git
cd sumo-web3d
pip install -r requirements.txt


After that, you should be able to run the script. If you're on Windows, the commands are similar, but you'll need to use a Git Bash or similar terminal emulator.

As for Blender, you might want to check out the netconvert tool from SUMO. It can export to .obj, which you can import directly into Blender.
Previous Topic:Does SUMO have a functionality where I might get coordinates and timestamps of the future path it
Next Topic:Waiting time in milliseconds or seconds?
Goto Forum:
  


Current Time: Sun Mar 03 13:03:35 GMT 2024

Powered by FUDForum. Page generated in 0.02958 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top