SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: Rady on November 01, 2010, 08:32:49 AM

Title: How to create splines from existing vertexes?
Post by: Rady on November 01, 2010, 08:32:49 AM
Hi,

I searched for some hours now but couldn't find an answer to that: for my first BAT project, I'm modelling a small barn and have come so far:


(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg838.imageshack.us%2Fimg838%2F1624%2Froof2i.jpg&hash=edce469c04cfeae4315c90f39bb5c0ff6c1508bb)


Now I came across a small problem I cannot solve: I simply want to create the roof. That is, I would need to create a rectangle that fits atop the edges of the outernmost rafters:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg707.imageshack.us%2Fimg707%2F1396%2Froof1m.jpg&hash=9a545d15e364ca33c77e942516b087d38cb5b7ad)


I tried to create both rectangles and lines by "catching" the vertex ov the rafters, but all the time ended up with a rectangle that is oriented parallel to the basement (XY pane) instead that it already has the proper angle that is given by the rafters.

To be honest, I had the same problem when creating the rafters: I selected the 4 vertexes that build one angled side of the wall (shown in red):

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg207.imageshack.us%2Fimg207%2F2294%2Froof3.jpg&hash=f4d73742fd9de6831f8a5d5132329842ac3397cc)

Those would exactly be those vertexes that would be the base rectangle for my rafter. However, I cannot figure out how to create a new rectangle from those 4 selected vertexes (who belong to the wall, of course). So I created the rafters in horizontal position and rotated them to the right angle so taht they are parallel to the wall.

I browsed through some tutorials, but didn't find anything describing that ... possibly someone can provid me a link to some tutorial?

Thanks,

Rady

Title: Re: How to create splines from existing vertexes?
Post by: Girafe on November 01, 2010, 09:34:21 AM
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fnsa19.casimages.com%2Fimg%2F2010%2F11%2F01%2F101101053251682992.jpg&hash=5412a93f72cb85ca0f3d9036c9198f285456d28f) (http://www.casimages.com)

Maybe

select your green box

convert to mesh

select the upper face in blue

detach this face as clone

after select this face and drag the points on the left to the other part of your roof
Title: Re: How to create splines from existing vertexes?
Post by: Rady on November 01, 2010, 11:44:36 AM
Girafe, not only do I have lots of your BATS and LOTs in my Game, but now you completely made my day!! I wasn't able to select a surcase - possibly because I extruded the rafter from a rectangle and didn't create it as a box, but making a clone and deleting the vertixes not needed finaly made my roof.

Thanks, folk!