|
Sweet Home 3D Forum » List all forums » » Forum: New versions » » » Thread: Terrain Generator plug-in » » » » Post: Re: Terrain Generator plug-in |
Print at Dec 18, 2025, 10:52:57 AM |
| Posted by Keet at May 3, 2022, 1:02:45 PM |
|
Re: Terrain Generator plug-in Well, you can't say I'm not persistent, so I cheated. For those who want to start with an equal elevation like I explained: 1. Create the room. 2. Switch off ceiling. 3. Optionally set a color or texture. 4. Select the room and start the Terrain Generator. 5. Set the expansion scale to 100000. 6. With the Shift key raise everything to a level >0. 7. Generate the terrain (OK button). 8. Save your Plan. So far just like creating a normal terrain. Now the 'cheating': 1. Unzip the SH3D file (you might need to add a zip extension first). 2. Make a copy of the Home.xml file in the unzipped directory to a working directory. 3. Open the the copied file and replace the value part on every line with "terrainElevationAt" with a value "250.000". 250 is the height, set it to the height you want. Since this can be a lot of lines (300000+ for me) I wrote a little Python routine to do this. 4. Save the file and copy it to the previously unzipped directory (overwriting the original file). 5. Zip all the files in your unzipped directory and remove the .zip extension from the resulting zip file. This should leave you with the original .sh3d file but with the changed Home.xml file. 6. Open the updated .sh3d file with SH3D and remove the terrain object (NOT the room!). 7. Select the room and start the Terrain Generator again. 8. You now have a terrain set at the height 250 and you can depress or raise parts to create a new terrain. 9. Save the terrain with OK button and you get a new terrain object. Keet ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 18, 2025, 10:52:57 AM |