You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exception happens when dielectric layer is locked:
Traceback (most recent call last):
File "/Users/duddie/Documents/KiCad/8.0/3rdparty/plugins/com_github_30350n_pcb2blender/__init__.py", line 24, in Run
export_pcb3d(dialog.file_picker.GetPath(), boarddefs)
File "/Users/duddie/Documents/KiCad/8.0/3rdparty/plugins/com_github_30350n_pcb2blender/export.py", line 108, in export_pcb3d
file.writestr(f"{LAYERS}/{LAYERS_STACKUP}", get_stackup(board).pack())
File "/Users/duddie/Documents/KiCad/8.0/3rdparty/plugins/com_github_30350n_pcb2blender/export.py", line 225, in get_stackup
stackup.thickness_mm = sum(float(match.group(1)) for match in matches)
File "/Users/duddie/Documents/KiCad/8.0/3rdparty/plugins/com_github_30350n_pcb2blender/export.py", line 225, in <genexpr>
stackup.thickness_mm = sum(float(match.group(1)) for match in matches)
ValueError: could not convert string to float: '1.51 locked'
This is caused by enabling dielectric lock in Board Setup:
By clicking the check box in the PADLOCK column.
And this adds in the .kicad_pcb the 'locked' in the thickness board.
The exception happens when dielectric layer is locked:
This is caused by enabling dielectric lock in Board Setup:

By clicking the check box in the PADLOCK column.
And this adds in the .kicad_pcb the 'locked' in the thickness board.
Unlocking dielectric makes the plugin works perfect.
The text was updated successfully, but these errors were encountered: