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

Method copy

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

Source from the content-addressed store, hash-verified

1059 writer.end()
1060
1061 def copy( self, trans ):
1062 obj = FpLine( self.obj_name )
1063 obj.set( "start", trans.add_flip_rot( self.start ) )
1064 obj.set( "end", trans.add_flip_rot( self.end ) )
1065 obj.set( "layer", trans.layer( self.layer ) )
1066 obj.set( "width", self.width.clone() )
1067 return obj
1068
1069
1070class FpText( KicadFatObj ):

Callers

nothing calls this directly

Calls 5

FpLineClass · 0.85
setMethod · 0.80
add_flip_rotMethod · 0.80
layerMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected