Building Walls
-
Thomthom you are a genius! You must be a Norwegian (as was my father - from Hammerfest). I just installed and ran CityGenerator and Street Generator. Works a dream.
No need for the radius of 0. Just set the threshold angle to 179 degrees and no corners get rounded.
It generates hidden diagonal lines across all corners as part of the face generation. They are not wanted but are fairly easy to delete.
- In wireframe mode turn off hidden lines, select all other lines and move them to a new layer.
- Turn on hidden lines, select all lines and delete.
Voila!!!!
The faces can then be pulled up into a wall with the push/pull tool or all faces can be selected and pulled up into a wall in one step using Joint push/pull (Normal push pull option).
-
One interesting quirk with Streetgenerator relating to short lines.
Draw an L shape where one leg is tiny (shorter than the desired road width). When you do the Street Gen you end up with a the long leg being the correct width and length, but is has a corner chopped out of it where the short piece branched off. The hidden diagonal lines are also "funny".
It is perfectly logical when you think about it but probably not desirable.
The other problem is that something in the above chain of actions resulted in that piece not having a face at all. Actually it was not an L. It was supposed to be but it was actually a T because the two lines did not quite join at the ends but about 1mm from the end of one.
The code should probably ignore any short segments at the end of a group of lines to avoid the anomaly.
-
Hmmm. Starting to notice some other anomalies. Maybe they are "design features".
Imagine a capital T where the top left part of the T is at right angles to the upright but the top right part of the T is angled slightly upwards. When the "road" is built there should be a corresponding bend in the road on both sides along the "top" of the T.
There is a bend in the lower two parts closest to the upright of the T but the edge of the road on the "top" of the T took a shortcut. Instead of being two separate segments with a kink in the middle it is one straight line, meaning the road is of varying width over that section when created.
The big problem with that is that when you create a wall then start to make modifications to it, (eg. sloping the top of the wall) things start to get horrible.
-
Another problem rears its ugly head. One I have run into before.
After building the walls I select a wall texture and shift-click on one of the walls which should paint them all. It does, but on a lot of the faces the texture runs up at 45 degrees instead of parallel to the ground.
Sometimes I can correct them by sampling nearby walls and repainting those ones. Other times they refuse to correct themselves no matter how much I sample other textures and paint on those ones. I either have to reposition the texture manually, or paint the area and surrounding walls with default texture. They will then paint correctly with the wall texture. Definitely feels like a SU bug.
-
-
dtrarch
Plan B seems to have all the walls at an angle..
-
chrisjk
Right on and good call.
Just a sloppy vector PP but system works OK if one is not in a hurry.
FYI:Short strokes basics
extrude line by 2 points
select all
pp vector (enter #)for wall thickness
flatten to 2d
make faces
extrude
cleanupdtr
-
Profile builder does not a bad job albeit needing some work
-
Chris
Good call and you beat me to it
Note that every wall segment is now a group and now can be edited separately.
(both width and height + openings etc)
Exterior walls are generally different in width easy to edit with a pp.
Could also have been selected separately with different wall thickness.
One can Boolean selected walls together as needed too.
Killer idea and congratsThat's all folks
Thanks to you and Whaat
dtr
-
Looks a mess to me. Sharp corners and walls leaning over. Am I missing something?
-
Of course
-
how about Double Line? you can set the width and height and trace it along the lines. testing on the detailed SU file took about 2 minutes for about 30% and the walls are all straight and even. downside - no grouping but easy enough to then punch holes etc.
-
Double Line cannot handle T junctions, only a simple path. As I pointed out that detailed plan is less than 1% of the total area to be modelled so I am not wanting anything that requires "cleanup". I was looking for a single-step solution. Streetgen gives that with virtually no cleanup required.
-
@unknownuser said:
Double Line cannot handle T junctions, only a simple path.
Right.
Since your walls are groups they also are 'solids', then performing 'union' gives good results.
But more parameters in the dialog box would be handy and useful.
Keep on the good work.
Advertisement