3D new library for Mechanical CAD exporting and enclosure design

Adding Stepup to the Addon manager would practically solve this :slight_smile:
or rather would solve it once 0.17 comes out :stuck_out_tongue:

The addon manager doesn’t allow to upload demo projects nor PDF manuals etc, so the actual implementation is the best IMO :stuck_out_tongue:

That is true but the manual could simply state you can find the tool in the addon manager :wink:

What it will be missing is how the library has to be configured, how the models have to be aligned to footprint, how can be used StepUp to align 3d model to footprint etc… So few lines from user point of view may help. :slight_smile:
And one not familiar with FC wouldn’t know how to use a macro when installed… many users don’t know FC at all when they start to use StepUp

0.17 would be expected to come out in 2017 if FreeCAD follows its normal habits

2 posts were split to a new topic: Export pcb + devices for rendering in blender, etc.?

Shack,

I’ve been trying to find a footprint (and 3D model if possible) for a TSOP II 54-pin package. It is for a Micron SDRAM IC.

Would you be able generate these for me?

Thank you & best regards :smiley:

Edit: here is a link to the specific part:
https://www.micron.com/parts/dram/sdram/mt48lc16m16a2p-7e-ait

footprint and 3D model or just one of them?

Both would be ideal, please. :slight_smile:

If I can only pick one, then the footprint.

When I looked at the page (from my Phone) i couldn’t really find any package info.
I can probably help you out, but in case you dont know how to make footprints you should definitely learn how to do it. Its really not that hard and it’s a pain not to be able to. 3D models are quite easy to make when scripted but not really as important. All in all I think you should try to make the footprint yourself (perhaps even contribute it to the official library), im case you can’t/won’t/we I might have time to do it tomorrow. But please note it’s not something Im gonna do for every footprint you’ll need :slight_smile:

3 Likes

Nothing like a datasheet on that page.

1 Like

Web based datasheet MT48LC16M16A2P-7E (Click on package dimensions)

PDF datasheet: MT48LC16M16A2P-7E

2 Likes

Sorry for the delayed response, and for posting a link that does not appear to provide a datasheet. Thanks to 1.21Gigawatts for supplying working links.

Shack, I initially asked you for help, since you created some nice footprints and models for someone else in this thread. :slight_smile:

I intend to learn how to create footprints and 3D models myself, but that might take some time. With some Googling I found numerous online resources that teach how to do it, but they vary in quality and some seem to be out of date. Would you have any recommendations?

Thanks!

I made some progress using the FreeCAD / CadQuery scripts to generate a TSOP2 54-pin package for the Micron SDRAM IC.

Basically, I was able to copy & paste a new parameter block in the file “cq_parameters_tssop.py” and update it with some values from the data sheet.

'TSOP2-54': Params( #
    the = 12.0,      # body angle in degrees
    tb_s = 0.15,    # top part of body is that much smaller
    c = 0.15,        # pin thickness, body center part height
    R1 = 0.2,       # pin upper corner, inner radius
    R2 = 0.2,       # pin lower corner, inner radius
    S = 0.15,       # pin top flat part length (excluding corner arc)
    fp_s = True,     # True for circular pinmark, False for square pinmark (useful for diodes)
    fp_r = 1.2,     # first pin indicator radius
    fp_d = 0.3,     # first pin indicator distance from edge
    fp_z = 0.15,     # first pin indicator depth
    ef = 0, # 0.05,      # fillet of edges  Note: bigger bytes model with fillet
    cc1 = 0.25, #0.45 chamfer of the 1st pin corner
    D1 = 22.22,       # body length
    E1 = 10.16,       # body width
    E = 11.76,        # body overall width  E=E1+2*(S+L+c)
    A1 = 0.1,  # body-board separation
    A2 = 1.0,  # body height
    b = 0.375,  # pin width
    e = 0.8,  # pin (center-to-center) distance
    npx = 27,   # number of pins along X axis (width)
    npy = 0,   # number of pins along y axis (length)
    epad = None, # e Pad
    excluded_pins = None, #no pin excluded
    modelName = 'TSOP2-54-MT48LCxxMxA2-P', #modelName
    rotation = -90, # rotation if required
    dest_dir_prefix = 'TSSOP'
    ),

However, I didn’t see any .kicad_mod file produced with the 3D model. How can I also generate the footprint?

Thanks very much.

2 Likes

@punch_it_twice
for the FP the simplest way is to use the kicad footprint wizard

2 Likes

Or use the scripts by @pointhi:

Sadly there is no script (yet) generating SOIC footprints. But there is one for DIP style packages. It might be possible to modify this to generate the desired footprint(s) (Yes this would be a lot of work for only one footprint but it would still be nice if the SOIC footprints are script generated.)

2 Likes

Script generated footprints are also available for many patterns using QEDA. This will generate IPC Compliant footprints (and a library component too) from some simple parameters

e.g. for a typical 8 pin SOIC you define it in the following terms:

housing:
  pattern: SOIC
  suffix: -S
  bodyWidth: 5.13-5.33
  bodyLength: 5.13-5.33
  height: 2.03
  leadWidth: 0.36-0.48
  leadLength: 0.51-0.76
  leadSpan: 7.75-8.26
  leadCount: 8

Currently supported footprints are as follows http://doc.qeda.org/patterns/

The SOIC footprints details are described here - http://doc.qeda.org/patterns/soic/

2 Likes

@maui
Thanks for the tip. I will try that.

@maui
I downloaded the Footprint Wizard plugin from https://github.com/xesscorp/xess_fp_wizard. To install it, I coped the .py file to C:\Program Files\KiCad\share\kicad\scripting\plugins, per the instructions in the README file.

I was expecting to see something appear under the Tools menu in PcbNew (according to HOWTO: Register a python plugin inside pcbnew Tools menu) but nothing showed up there.

Also, I tried copying the .py file to C:\Program Files\KiCad\bin\scripting\plugins, but again, nothing appeared under the Tools menu in PcbNew.

What am I doing wrong?

I am using KiCad 4.0.7 on Windows 10 64-bit.

Thanks & best regards.

This feature is only available on daily build for the moment (dev version). Will not be on 4.0 stable branch but on next stable version (5.0 ?)

2 Likes