~darcyb


#5 Invalid/unable to parse scad file Line 24 7 months ago

Ticket created by ~darcyb on ~martijnbraam/turbocase

/* [M2.5 screws] */
// Outer diameter for the insert
insert_M2.5_diameter = 3.27;
// Depth of the insert
insert_M2.5_depth = 3.75;
  • is not supported in identifier name (as found in the kicad M2.5 mounting hole)

#3 KeyError: 'fp_circle' 7 months ago

Comment by ~darcyb on ~martijnbraam/turbocase

Confirmed working, Thank you

#3 KeyError: 'fp_circle' 7 months ago

Comment by ~darcyb on ~martijnbraam/turbocase

I suspect it's either coming from

MountingHole:MountingHole_2.5mm

or

Connector_Dsub:DSUB-15_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mm

Though the latter should NOT produce a mechanical tie point to the case. it's a snap in solder connection for the DSUB .

#3 KeyError: 'fp_circle' 7 months ago

Ticket created by ~darcyb on ~martijnbraam/turbocase

Upgrade to 1.4.1:

[darcy@quad-02 ~/jkRadio/]$ pip install turbocase                                                                                                                                                                                                                                                                                                              -U
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: turbocase in ~/.local/lib/python3.9/site-packages (1.4)
Collecting turbocase
  Downloading turbocase-1.4.1.tar.gz (11 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: sexpdata in ~/.local/lib/python3.9/site-packages (from turbocase) (1.0.2)
Building wheels for collected packages: turbocase
  Building wheel for turbocase (setup.py) ... done
  Created wheel for turbocase: filename=turbocase-1.4.1-py3-none-any.whl size=13                                                                                                                                                                                                                                                                                                             220 sha256=4559924b978f7a8882810c2ce3be6701510bd23cdd08f0c44909d9fb1300300d
  Stored in directory: ~/.cache/pip/wheels/2f/9f/c9/f73c7281b6ebf3b9ded02bdf7e4eca0010d7756bdf92998fd8
Successfully built turbocase
Installing collected packages: turbocase
  Attempting uninstall: turbocase
    Found existing installation: turbocase 1.4
    Uninstalling turbocase-1.4:
      Successfully uninstalled turbocase-1.4
Successfully installed turbocase-1.4.1

Run turbocase

[darcy@quad-02 ~/jkRadio]$ turbocase JKradio-GW.kicad_pcb case.scad
Traceback (most recent call last):
  File "~/.local/bin/turbocase", line 8, in <module>
    sys.exit(main())
  File "~/.local/lib/python3.9/site-packages/turbocase/__main__.py", line 17, in main
    case = load_pcb(args.pcb, args.layer)
  File "~/.local/lib/python3.9/site-packages/turbocase/kicad.py", line                                                                                                                                                                                                                                                                                                              349, in load_pcb
    for circle in hole['fp_circle']:
  File "~/.local/lib/python3.9/site-packages/turbocase/kicad.py", line                                                                                                                                                                                                                                                                                                              70, in __getitem__
    return self.attr[item]
KeyError: 'fp_circle'
[darcy@quad-02 ~/jkRadio]$

#2 ModuleNotFoundError: No module named 'turbocase.parts' 7 months ago

Ticket created by ~darcyb on ~martijnbraam/turbocase

Just upgraded to 1.4 and am getting the following error:

[darcy@quad-02 ~/jkRadio]$ pip install turbocase -U
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: turbocase in ~/.local/lib/python3.9/site-packages (1.4)
Requirement already satisfied: sexpdata in ~/.local/lib/python3.9/site-packages (from turbocase) (1.0.2)
[darcy@quad-02 ~/jkRadio]$ turbocase JKradio-GW.kicad_pcb case.scad
Traceback (most recent call last):
  File "~/.local/bin/turbocase", line 5, in <module>
    from turbocase.__main__ import main
  File "~/.local/lib/python3.9/site-packages/turbocase/__main__.py", line 4, in <module>
    from turbocase.kicad import load_pcb
  File "~/.local/lib/python3.9/site-packages/turbocase/kicad.py", line 10, in <module>
    import turbocase.parts
ModuleNotFoundError: No module named 'turbocase.parts'