Refactor print statements for consistency and clarity across multiple files; remove unnecessary imports and improve code readability in pin_locator.py, routing.py, symbol_creator.py, wire_manager.py, factory.py, ipc_backend.py, kicad_interface.py, resource_definitions.py, test_ipc_backend.py, kicad_process.py, platform_helper.py, test_platform_helper.py. Add French README for KiCAD MCP Server with detailed features, installation instructions, and usage examples.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
Component-related command implementations for KiCAD interface
|
||||
"""
|
||||
|
||||
import os
|
||||
import pcbnew
|
||||
import logging
|
||||
import math
|
||||
@@ -1519,11 +1518,11 @@ class ComponentCommands:
|
||||
# Convert spacing to nm
|
||||
unit = start_position.get("unit", "mm")
|
||||
scale = 1000000 if unit == "mm" else 25400000 # mm or inch to nm
|
||||
spacing_x_nm = int(spacing_x * scale)
|
||||
spacing_y_nm = int(spacing_y * scale)
|
||||
int(spacing_x * scale)
|
||||
int(spacing_y * scale)
|
||||
|
||||
# Get layer ID
|
||||
layer_id = self.board.GetLayerID(layer)
|
||||
self.board.GetLayerID(layer)
|
||||
|
||||
for row in range(rows):
|
||||
for col in range(columns):
|
||||
|
||||
Reference in New Issue
Block a user