solidLib package

Submodules

solidLib.assortment module

solidLib.assortment.bin(x: float, y: float, h: float = 67, segments: int = 36, dim: float = 59)[source]
solidLib.assortment.grid(x_dim: int, y: int, w: float = 3, h: float = 1.5, fillet: bool = False, dim: float = 59, segments: int = 36)[source]

generate a grid of (flattened) triangles with or without fillet

the generated grid is x by y in size with a gridspace of size dim, the triangles used for the base structure is given by their height and width

2x3 grid with defaults
solidLib.assortment.grid_inv(x: float, y: float, w: float = 3, h: float = 1.5, fillet: bool = False, dim: float = 59, segments: int = 36)[source]
solidLib.assortment.toolinlay1(height: float, *args, r_tool: float = 7, inset: float = 4, maxh: float = 67, dim: float = 59, segments: int = 36)[source]

creates a tooltray for alex container bins (2x3)

_images/bin_toolinlay1.png
Parameters
  • height – height of inset above lower bin

  • inset – depth of inset

solidLib.assortment.toolinlay2(height: float, r_tool: Union[float, Iterable[float]] = 7, inset: float = 4, inset_tool: float = 3, maxh: float = 67, dim: float = 59, wall: float = 2, segments: int = 36)[source]

creates a tooltray for alex container bins (2x3)

_images/bin_toolinlay2.png
Parameters
  • height – height of inset above lower bin

  • r_tool – toolspace radius as float or list of floats

  • inset – depth of toolinlay inset

  • inset_tool – depth of additional toolspace inset

  • maxh – system height restriction

  • dim – system raster dimension

  • segments – circular object segments

solidLib.globals module

solidLib.primitives module

solidLib.primitives.pill(ps: List[List[float]], r, segments: int = 36)[source]
solidLib.primitives.round_box(x_dim: float, y_dim: float, z_dim: float, radius: float, segments: int = 32)[source]

creates a round box with radius r

_images/round_box.png
solidLib.primitives.round_flat_box(x: float, y: float, z: float, r: float, segments: int = 32)[source]

creates a round box with radius r and flat top/bottom

_images/round_flat_box.png

Module contents