Commit 6a30a1ad by mehtank

bugfix

1 parent 987ec1b7
......@@ -12,6 +12,7 @@ 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.")
c.addConstConstraint(("port","flip"), False)
c.addConstraint(("star","width"), ("length", "depth", "width"), "(x[0]+x[1])/10. + x[2]")
c.addConstraint(("star","height"), ("length", "depth"), "sum(x)/3.")
......
......@@ -34,7 +34,7 @@ subcomponents:
parameters:
depth: {parameter: depth}
dl: {parameter: dl}
flip: {parameter: flip}
flip: false
height:
function: sum(x)/3.
parameter: [length, depth]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!