The online racing simulator
Quote from scania :can I load a Google map into this editor?

From Blender you can upload a background and with a curve you can use "duplicate from curve plugin" for design your track. You can use also the GIS plugin:


You can import a path and a house... After that it is easy to reproduce a house with LFS objects for example.
Hi, for helping you guys, this is a tutorial video, hope you like it. Sorry for my bad english Smile

The finished layout doesn't match what I see in Blender
Hi Vritrasura and NENE87,

Hope you’re both doing well! I wanted to start by saying a huge thank you for your work.

However, I just encountered a minor problem, and I'm hoping you might offer some advice. The finished layout doesn't match what I see in Blender when I use wall models in Blender and export them for usage in LFS.

Blende:V4.5.3
LFS:0.7G
LFS_Layout_Editor_Blender_Tool_v10

Again, thank you both so much for all you’ve built—it’s made LFS layout creation feel manageable,

Best regards,

Leon


Attached files
LA1_2.lyt - 1.1 KB - 16 views
LA1_2.lyt - 1.1 KB - 19 views
Layout_Plugin_Leon.zip - 2.7 MB - 14 views
Quote from Leon___H :Hi Vritrasura and NENE87...

I asked AI for help, and it told me to add deg += 90 to the code. Then it worked.

deg = math.degrees(obj.rotation_euler[2])
while(deg < 0):
deg += 360
rotation = round((deg + 180) * 256 / 360)
while(rotation > 255):
rotation -= 256

deg = math.degrees(obj.rotation_euler[2])
deg += 90 # Added
while(deg < 0):
deg += 360
rotation = round((deg + 180) * 256 / 360)
while(rotation > 255):
rotation -= 256

Quote from Leon___H :I asked AI for help, and it told me to add deg += 90 to the code. Then it...

This might help in your specific case, but may break other blocks. because if equation was wrong it would be wrong for all blocks. What I think is that i have models wrongly oriented. if you rotate them in edit mode that should fix them. I will have to revisit all blocks and check that their orientation is correct. Will try to do it this weekend.
Quote from Vritrasura :This might help in your specific case, but may break other blocks. because if...

Can't wait for your new version!
2

LFS Layout Editor Blender Tool
(31 posts, started )
FGED GREDG RDFGDR GSFDG