def addPositivePeg(derivation, positives, x, y):
 positivePegRadius = (derivation.pegRadiusArealized - derivation.halfPegClearance)
 radiusArealized = complex(positivePegRadius, positivePegRadius)
 copyShallow = derivation.elementNode.getCopyShallow()
 start = Vector3(x, y, derivation.demiheight)
 endZ = derivation.height
 peg.addPegOutput(derivation.pegBevel, endZ, positives, radiusArealized, derivation.sides, start, derivation.topOverBottom)

def addPositivePeg ( derivation , positives , x , y ) : positivePegRadius = ( derivation . pegRadiusArealized - derivation . halfPegClearance ) radiusArealized = complex ( positivePegRadius , positivePegRadius ) copyShallow = derivation . elementNode . getCopyShallow ( ) start = Vector3 ( x , y , derivation . demiheight ) endZ = derivation . height peg . addPegOutput ( derivation . pegBevel , endZ , positives , radiusArealized , derivation . sides , start , derivation . topOverBottom )
add positive cylinder at x and y .