Skip to content
Snippets Groups Projects
Commit bbf6fc5f authored by mehtank's avatar mehtank
Browse files

Properly center mounting holes for brains

parent d5e8f765
Branches
No related merge requests found
......@@ -24,7 +24,7 @@ for dx in (-1, 1):
c.addConstraint((sc, "d"), "mount-id")
c.addConnection(("body", "face"),
(sc, "decoration"),
mode="hole", offset=Function(("brain-l", "brain-w", "mount-id"), f"({dx}/2*(x[0]-x[2]), {dy}/2*(x[1]-x[2]))"))
mode="hole", offset=Function(("brain-l", "brain-w", "mount-od"), f"({dx}/2*(x[0]-x[2]), {dy}/2*(x[1]-x[2]))"))
c.inheritAllInterfaces("body", prefix=None)
c.addConnection(("body", "face"),
......
......@@ -11,7 +11,7 @@ connections:
parameter: &id002
- brain-l
- brain-w
- mount-id
- mount-od
connection1:
- *id001
- - mount-11
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment