parameters: (base, path, count=15, rot_factor=0.25,
                               width=100,
                               thickness=10)
return_statement: return shape
docstring: Get the twisted bridge array shape as a compound.
docstring_summary: Get the twisted bridge array shape as a compound.
docstring_tokens: Get the twisted bridge array shape as a compound .
function: def get_twisted_bridge_shape(base, path, count=15, rot_factor=0.25,
                               width=100,
                               thickness=10):
      """Get the twisted bridge array shape as a compound."""
      compound = list()
  
      places, _ = get_twisted_placements(path,
                                         count=count,
                                         rot_factor=rot_factor)
      # print_places(places)
  
      shapes, profiles = create_frames(base, places)
      compound.extend(shapes)
  
      tunnel = make_tunnel(path, profiles)
      compound.append(tunnel)
  
      # size = base.Shape.Wires[-1].BoundBox.XLength * 0.9
      # size = int(size)
      # thickness = size/12.0
  
      walkway = make_walkway(path, width, thickness)
      compound.append(walkway)
      shape = Part.makeCompound(compound)
  
      return shape
function_tokens: def get_twisted_bridge_shape ( base , path , count = 15 , rot_factor = 0.25 , width = 100 , thickness = 10 ) : compound = list ( ) places , _ = get_twisted_placements ( path , count = count , rot_factor = rot_factor ) # print_places(places) shapes , profiles = create_frames ( base , places ) compound . extend ( shapes ) tunnel = make_tunnel ( path , profiles ) compound . append ( tunnel ) # size = base.Shape.Wires[-1].BoundBox.XLength * 0.9 # size = int(size) # thickness = size/12.0 walkway = make_walkway ( path , width , thickness ) compound . append ( walkway ) shape = Part . makeCompound ( compound ) return shape