manahter / nCNC

Blender CNC Add on - nCNC - G code visualizer, g code converter, g code sender, CNC Milling
MIT License
74 stars 10 forks source link

windows 10 com connection blender 2.92 steam edition #4

Closed alexanderdfox closed 3 years ago

alexanderdfox commented 3 years ago

windows 10 com connection blender 2.92 steam edition

not listing com ports. com3 is active over usb Screenshot 2021-05-03 012210

"using Grbl 1.1g ['$' for help]" Arduino software connects fine

manahter commented 3 years ago

I just tested on Linux.

Can you try this code on Blender Python Console in your system?

# Import the port scan module
from nCNC.modules.serial.tools.list_ports import comports

# Scan and return port list
comports()

Example my port list, only 1 device is connected: Ss

alexanderdfox commented 3 years ago

I get this returned: [<nCNC.modules.serial.tools.list_ports_common.ListPortInfo object at 0x0000016DCA03BC08>] but still can't connect

manahter commented 3 years ago

Can you try this code on Blender Python Console in your system?

# Print selected port
bpy.data.scenes['Scene'].ncnc_pr_connection.ports

# Print available ports
bpy.data.scenes['Scene'].ncnc_pr_connection.get_ports(C)

Example: Ekran Görüntüsü - 2021-05-06 14-04-56

alexanderdfox commented 3 years ago

Screenshot 2021-05-08 021241

Error: TypeError: EnumProperty(...): expected a tuple containing (identifier, name, description) and optionally an icon name and unique number

manahter commented 3 years ago

I have made a slight correction in codes. Can you delete the plug-in and reinstall

alexanderdfox commented 3 years ago

Thank you... it connected and can move the cnc machine

manahter commented 3 years ago

I'm glad :) Share again if other problems take out.