MCPcopy
hub / github.com/scottbez1/splitflap / copy

Method copy

thirdparty/panelize.py:719–728  ·  view source on GitHub ↗
( self, trans )

Source from the content-addressed store, hash-verified

717 return area.is_inside( self.at )
718
719 def copy( self, trans ):
720 obj = Via( self.obj_name )
721 obj.set( "at", trans.vector( self.at ) )
722 obj.set( "size", self.size.clone() )
723 obj.set( "drill", self.drill.clone() )
724 obj.set( "layers", self.layers.clone() )
725 obj.set( "net", trans.net( self.net ) )
726 obj.set( "tstamp", self.tstamp.clone() )
727 obj.set( "status", self.status.clone() )
728 return obj
729
730
731class Segment( KicadFatObj ):

Callers 15

_get_variablesMethod · 0.45
copyMethod · 0.45
copyMethod · 0.45
copyMethod · 0.45
copyMethod · 0.45
copyMethod · 0.45
copyMethod · 0.45
copyMethod · 0.45
cloneMethod · 0.45
copyMethod · 0.45
copyMethod · 0.45
copyMethod · 0.45

Calls 5

ViaClass · 0.85
setMethod · 0.80
vectorMethod · 0.80
netMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected