Skip to content

Fix pcb_clearance list error#118

Open
bosd wants to merge 1 commit into
joshreve:masterfrom
bosd:Fix-pcb-clearance
Open

Fix pcb_clearance list error#118
bosd wants to merge 1 commit into
joshreve:masterfrom
bosd:Fix-pcb-clearance

Conversation

@bosd

@bosd bosd commented Jul 17, 2023

Copy link
Copy Markdown

Before this pr, setting "plate_pcb_clear": true resulted in:

ValueError: Cannot cut type '<class 'list'>'

screw_insert_all_shapes()
Traceback (most recent call last):
File "/app/src/dactyl_manuform.py", line 4361, in
run()
File "/app/src/dactyl_manuform.py", line 4314, in run
mod_r, tmb_r = model_side(side="right")
File "/app/src/dactyl_manuform.py", line 4104, in model_side
shape = difference(shape, [plate_pcb_cutouts(side=side)])
File "/app/src/helpers_cadquery.py", line 89, in difference
shape = shape.cut(item)
File "/opt/conda/envs/myenv/lib/python3.10/site-packages/cadquery/cq.py", line 3360, in cut
raise ValueError("Cannot cut type '{}'".format(type(toCut)))
ValueError: Cannot cut type '<class 'list'>'

Before this pr, setting plate_pcb_clear: true resulted in:

ValueError: Cannot cut type '<class 'list'>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant