Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/s/k/SkeinFox-HEAD/skeinforge-0006/skeinforge_tools/raft.py   SkeinFox(Download)
		horizontalSegmentTable = {}
		rise = aboveLayer.z - self.boundaryLayers[ layerIndex ].z
		outsetSupportLayer = intercircle.getInsetLoops( - self.minimumSupportRatio * rise, self.supportLoops[ layerIndex ] )
		numberOfSubSteps = 10
		subStepSize = self.interfaceStep / float( numberOfSubSteps )
		boundaryLoops = self.boundaryLayers[ self.layerIndex ].loops
		halfSupportOutset = 0.5 * self.supportOutset
		aroundBoundaryLoops = intercircle.getInsetLoops( halfSupportOutset, boundaryLoops ) + intercircle.getInsetLoops( - halfSupportOutset, boundaryLoops )
		for aroundBoundaryLoop in aroundBoundaryLoops:
			euclidean.addLoopToPixelTable( aroundBoundaryLoop, aroundPixelTable, aroundWidth )
			return
		perimeterInset = 0.4 * self.extrusionPerimeterWidth
		insetBoundaryLoops = intercircle.getInsetLoops( perimeterInset, boundaryLoops )
		if len( insetBoundaryLoops ) < 1:
			insetBoundaryLoops = boundaryLoops
			return
		for boundaryLayer in self.boundaryLayers:
			supportLoops = intercircle.getInsetLoops( - self.supportOutset, boundaryLayer.loops )
			self.supportLoops.append( supportLoops )
		for layerIndex in xrange( len( self.supportLoops ) - 1 ):

src/s/k/SkeinFox-HEAD/skeinforge-0005/skeinforge_tools/raft.py   SkeinFox(Download)
		horizontalSegmentTable = {}
		rise = aboveLayer.z - self.boundaryLayers[ layerIndex ].z
		outsetSupportLayer = intercircle.getInsetLoops( - self.minimumSupportRatio * rise, self.supportLoops[ layerIndex ] )
		numberOfSubSteps = 10
		subStepSize = self.interfaceStep / float( numberOfSubSteps )
		boundaryLoops = self.boundaryLayers[ self.layerIndex ].loops
		halfSupportOutset = 0.5 * self.supportOutset
		aroundBoundaryLoops = intercircle.getInsetLoops( halfSupportOutset, boundaryLoops ) + intercircle.getInsetLoops( - halfSupportOutset, boundaryLoops )
		for aroundBoundaryLoop in aroundBoundaryLoops:
			euclidean.addLoopToPixelTable( aroundBoundaryLoop, aroundPixelTable, aroundWidth )
			return
		perimeterInset = 0.4 * self.extrusionPerimeterWidth
		insetBoundaryLoops = intercircle.getInsetLoops( perimeterInset, boundaryLoops )
		if len( insetBoundaryLoops ) < 1:
			insetBoundaryLoops = boundaryLoops
			return
		for boundaryLayer in self.boundaryLayers:
			supportLoops = intercircle.getInsetLoops( - self.supportOutset, boundaryLayer.loops )
			self.supportLoops.append( supportLoops )
		for layerIndex in xrange( len( self.supportLoops ) - 1 ):