# 02.23.16 – David Aldana

```import rhinoscriptsyntax as rs
#Author: David Aldana
#Date: 01.22.16
#Purpose: Demostrate how to write a skeletal code
#Input Parameters: None
#Output Parameters: None
&quot;&quot;&quot;
Purposes: It will add a foundation geometry
Order:Roots done from left to right and bottom to top
&quot;&quot;&quot;
point0= 1,1,0
point1=1,6.5,0
point2=3.934,10,0
points=point0,point1,point2

&quot;&quot;&quot; attempt to create sweep with ellipses
&quot;&quot;&quot;
center = 1,1,0
sec = 0.8,1.10,0
thr = 1,1,.3

center = 1.738,6.014,0
sec = 1.2,7,0
thr = 1,6.014, 1.2

center = 3.934,10,0
sec = 3.473,11.347,0
thr = 3.934,10, 1.3

rail = curve1
shapes = e1,e2,e3

&quot;&quot;&quot;I'm a genious and now the attempt is a reality. GO David!!!
&quot;&quot;&quot;

point3=2.5,1,0
point4=2.5,3.5,0
point5=5.585,7.002,0
points1=point3,point4,point5

&quot;&quot;&quot; second attempt to create sweep with ellipses
&quot;&quot;&quot;
point6=7,1,0
point7=7.5,4,0
point8=5,8,0
points2=point6,point7,point8

point10=3,11,0
point11=3,15,0
points3=point8,point10,point11

point12=3,22,0
point13=9,25,0
points4=point11,point12,point13

center = 7,1,0
sec = 6.5,1,0
thr = 7,1,0.5

center = 5,8,0
sec = 4.5,7.7,0
thr = 5,8,1.3
&quot;&quot;&quot; sweep 2
&quot;&quot;&quot;
rail = curve2
shapes = e4,e5

center = 3,15,0
sec = 1.5,15,0
thr = 3,15,1.5
&quot;&quot;&quot; sweep 3
&quot;&quot;&quot;
rail = curve3
shapes = e5,e6

center = 9,25,0
sec = 7.9,27,0
thr = 9,25,2.5
&quot;&quot;&quot; sweep 4
&quot;&quot;&quot;
rail = curve4
shapes = e6,e7

start=9,25,0
end=14.04,27.48,0

center = 14.04,27.48,0
sec = 12.88,29.52,0
thr = 14.04,27.48,2.5

&quot;&quot;&quot; sweep 5
&quot;&quot;&quot;
rail = line1
shapes = e7,e8

point14=14.04,27.48,0
point15=18.5,30,0
point16=20,35,0
points1=point14,point15,point16

center = 20,35,0
sec = 17.3,35.8,0
thr = 20,35,2.5

&quot;&quot;&quot; sweep 6
&quot;&quot;&quot;
rail = curve5
shapes = e8,e9

&quot;&quot;&quot;so far so good champ
&quot;&quot;&quot;

point17=15,1,0
point18=14,8,0
point19=9,12,0
points1=point17,point18,point19

point20=5,16,0
point21=6.104,23,0
points4=point19,point20,point21

object= rs.GetObjects()
start= 20,1,0
end= 20,35,0
rs.MirrorObject (object,start , end, copy=True)

pass

pass