rules module#
- class JLCPCBRules[source]#
Bases:
FabricationConstraintsJLCPCB Fabrication Constraints for 1oz Copper on 4-6 layer boards.
- min_copper_width: float = 0.09#
Minimum permissible copper width. This constraint will be enforced by the engine for generated copper shapes and will take precedence over other constraints and rules, such as trace width.
- min_copper_copper_space: float = 0.09#
Minimum permissible copper-to-copper spacing. This constraint will be enforced by the engine for generated copper shapes and will take precedence over other constraints and rules, such as clearance.
- min_copper_hole_space: float = 0.254#
Minimum permissible copper-to-hole spacing. This constraint will be enforced by the engine for generated copper shapes and will take precedence over other constraints and rules, such as clearance.
- min_copper_edge_space: float = 0.3#
Minimum permissible copper-to-board-edge spacing. This constraint will be enforced by the engine for generated copper shapes and will take precedence over other constraints and rules, such as clearance.
- solder_mask_registration: float = 0.05#
Minimum distance between soldermask and the edge of a copper pad.
- min_silk_solder_mask_space: float = 0.15#
Minimum distance between silkscreen and soldermask features.
- min_hole_to_hole: float = 0.5#
Minimum distance between two holes, such as through-hole pads or vias.