Commit 987ec1b7 by mehtank

Removed unused param

1 parent 1ac71a96
......@@ -8,6 +8,8 @@ c.addSubcomponent("boat","Catamaran", inherit=True, prefix=None)
c.addSubcomponent("port","Foil", invert=True, inherit=True, prefix=None)
c.addSubcomponent("star","Foil", invert=True, inherit=True, prefix=None)
c.delParameter("flip")
c.addConstraint(("port","width"), ("length", "depth", "width"), "(x[0]+x[1])/10. + x[2]")
c.addConstraint(("port","height"), ("length", "depth"), "sum(x)/3.")
......
......@@ -15,11 +15,10 @@ interfaces: {}
metadata:
depth: {default: 50}
dl: {default: 0.1}
flip: {default: null}
height: {default: 30}
length: {default: 200}
width: {default: 60}
parameters: {depth: 50, dl: 0.1, flip: null, height: 30, length: 200, width: 60}
parameters: {depth: 50, dl: 0.1, height: 30, length: 200, width: 60}
subcomponents:
boat:
classname: Catamaran
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!