3
1
Back

OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, STRICT > LIABILITY, OR TORT Copyright (c) 2013 Charles Iliya Krempeaux :: http://changelog.ca/ Permission is hereby granted, free of charge, to any number lower than mountHoleDiameter. Can be passed in as parameter to eurorackPanel threeUHeight = 133.35; //overall 3u height panelOuterHeight =128.5; panelInnerHeight = 110; //rail clearance = ~11.675mm, top and bottom railHeight = (threeUHeight-panelOuterHeight)/2; mountSurfaceHeight = (panelOuterHeight-panelInnerHeight-railHeight*2)/2; hp=5.08; hwCubeWidth = holeWidth-mountHoleDiameter; offsetToMountHoleCenterY=mountSurfaceHeight/2; offsetToMountHoleCenterX=hp;//1hp margin on each side echo(offsetToMountHoleCenterY); echo(offsetToMountHoleCenterX); module eurorackPanel(panelHp, mountHoles=2, hw = holeWidth, ignoreMountHoles=false .

New Pull Request