示例#1
0
def getGeometryOutput(derivation, xmlElement):
	'Get vector3 vertexes from attribute dictionary.'
	if derivation == None:
		derivation = PegDerivation(xmlElement)
	positives = []
	radius = complex(derivation.radius, derivation.radius)
	addPeg(derivation.bevel, derivation.endZ, positives, radius, derivation.start, derivation.topOverBottom, xmlElement)
	return extrude.getGeometryOutputByNegativesPositivesOnly([], positives, xmlElement)
示例#2
0
def getGeometryOutput(derivation, xmlElement):
    'Get vector3 vertexes from attribute dictionary.'
    if derivation == None:
        derivation = PegDerivation(xmlElement)
    positives = []
    radius = complex(derivation.radius, derivation.radius)
    addPeg(derivation.bevel, derivation.endZ, positives, radius,
           derivation.start, derivation.topOverBottom, xmlElement)
    return extrude.getGeometryOutputByNegativesPositivesOnly([], positives,
                                                             xmlElement)
def getGeometryOutput(derivation, xmlElement):
	'Get vector3 vertexes from attribute dictionary.'
	if derivation == None:
		derivation = LinearBearingCageDerivation(xmlElement)
	negatives = []
	positives = []
	if derivation.typeStringFirstCharacter == 'a':
		addAssemblyCage(derivation, negatives, positives)
	else:
		addCage(derivation, derivation.height, negatives, positives)
	return extrude.getGeometryOutputByNegativesPositivesOnly(negatives, positives, xmlElement)
def getGeometryOutput(derivation, xmlElement):
    'Get vector3 vertexes from attribute dictionary.'
    if derivation == None:
        derivation = LinearBearingCageDerivation(xmlElement)
    negatives = []
    positives = []
    if derivation.typeStringFirstCharacter == 'a':
        addAssemblyCage(derivation, negatives, positives)
    else:
        addCage(derivation, derivation.height, negatives, positives)
    return extrude.getGeometryOutputByNegativesPositivesOnly(
        negatives, positives, xmlElement)