Commit 7051b49a by mehtank

wider cat pontoons

1 parent f18ac382
......@@ -9,13 +9,13 @@ c.addSubcomponent("port","BoatBase")
c.addSubcomponent("star","BoatBase")
c.addConstraint(("port","length"), ("length", "depth"), "sum(x)")
c.addConstraint(("port","width"), "width", "x/8.")
c.addConstraint(("port","width"), "width", "x/4.")
c.addConstraint(("port","depth"), ("length", "depth"), "sum(x)/20.")
c.addConstraint(("port","bow"), "length", "x/2.")
c.addConstraint(("port","stern"), "length", "x/8.")
c.addConstraint(("star","length"), ("length", "depth"), "sum(x)")
c.addConstraint(("star","width"), "width", "x/8.")
c.addConstraint(("star","width"), "width", "x/4.")
c.addConstraint(("star","depth"), ("length", "depth"), "sum(x)/20.")
c.addConstraint(("star","bow"), "length", "x/2.")
c.addConstraint(("star","stern"), "length", "x/8.")
......
......@@ -10,11 +10,11 @@ c.addSubcomponent("star","Foil", inherit=True, prefix=None)
c.delParameter("flip")
c.addConstraint(("port","width"), "width", "x*3./8.")
c.addConstraint(("port","width"), "width", "x/4.")
c.addConstraint(("port","height"), ("length", "depth"), "sum(x)/3.")
c.addConstConstraint(("port","flip"), True)
c.addConstraint(("star","width"), "width", "x*3./8.")
c.addConstraint(("star","width"), "width", "x/4.")
c.addConstraint(("star","height"), ("length", "depth"), "sum(x)/3.")
c.addConstConstraint(("star","flip"), False)
......
......@@ -39,7 +39,7 @@ subcomponents:
function: sum(x)/3.
parameter: [length, depth]
length: {parameter: length}
width: {function: x*3./8., parameter: width}
width: {function: x/4., parameter: width}
star:
classname: Foil
kwargs: {}
......@@ -51,4 +51,4 @@ subcomponents:
function: sum(x)/3.
parameter: [length, depth]
length: {parameter: length}
width: {function: x*3./8., parameter: width}
width: {function: x/4., parameter: width}
......@@ -39,7 +39,7 @@ subcomponents:
function: sum(x)
parameter: [length, depth]
stern: {function: x/8., parameter: length}
width: {function: x/8., parameter: width}
width: {function: x/4., parameter: width}
star:
classname: BoatBase
kwargs: {}
......@@ -52,4 +52,4 @@ subcomponents:
function: sum(x)
parameter: [length, depth]
stern: {function: x/8., parameter: length}
width: {function: x/8., parameter: width}
width: {function: x/4., parameter: width}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!