# Help for convert .stp (3dfile) to pcb layout

**URL:** <https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407>\
**Category:** projects\
**Created:** [November 20, 2021, 2:07pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407 "2021-11-20T14:07:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![xinfinite](https://forum.fritzing.org/user_avatar/forum.fritzing.org/xinfinite/32/10892_2.png) [@xinfinite](https://forum.fritzing.org/u/xinfinite)\
**Post date:** [November 20, 2021, 2:07pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/1 "2021-11-20T14:07:40Z")

</div>

Hi,

I need some help with creating a custom pcb layout. PhoenixContact is providing a .stp file and I’m not familiar enough in creating a .svg file for using it in fritzing.

The .stp file can be downloaded at:  
[pxc\_2713777\_00\_ME-MAX-LP-SAMPLE-MSTBO-2-2\_3D.stp](https://pxc_2713777_00_ME-MAX-LP-SAMPLE-MSTBO-2-2_3D.stp)

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [November 20, 2021, 3:32pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/2 "2021-11-20T15:32:22Z")

</div>

The stp file likely isn’t helpful (and the link to it doesn’t work.) What we would need is a list of the connectors names (I’m assuming the pads aren’t used for anything which may be incorrect!) This drawing from the web site should be enough to make a part but there is no data about what the connector names or purpose are which is required to make a part.

![capture](https://forum.fritzing.org/uploads/default/original/2X/a/a743979ec58ab389b657d766f81e3f332dfcd5f1.jpeg)

Peter

---

<div class="post-metadata">

**Author:** ![xinfinite](https://forum.fritzing.org/user_avatar/forum.fritzing.org/xinfinite/32/10892_2.png) [@xinfinite](https://forum.fritzing.org/u/xinfinite)\
**Post date:** [November 20, 2021, 4:24pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/3 "2021-11-20T16:24:48Z")

</div>

For me only the shape is important. The Connectors and TBus are free to use within the ME MAX enclosures.

---

<div class="post-metadata">

**Author:** ![microMerlin](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/m/76d3ee/32.png) [@microMerlin](https://forum.fritzing.org/u/microMerlin)\
**Post date:** [November 20, 2021, 4:28pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/4 "2021-11-20T16:28:11Z")

</div>

internet search for “stp to svg”. The Frtizing part images and pcb shape files need to be svg format.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [November 20, 2021, 7:17pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/5 "2021-11-20T19:17:02Z")

</div>

Where did you find the stp file? On their download site I only see these formats:

 ![capture](https://forum.fritzing.org/uploads/default/original/2X/3/32220df497bb5e9fbeb5ae0453d19e7c2f0157dd.jpeg)

(one of the step files may be what is needed, but I know nothing about .stp to tell which one!) It appears that freecad will convert from .stp to .svg and given an svg I can covert it in to what Fritzing wants.

edit:

OK I downloaded the step AP214 file which gives me a stp file and will see what FreeCad will do with it.

Peter

---

<div class="post-metadata">

**Author:** ![xinfinite](https://forum.fritzing.org/user_avatar/forum.fritzing.org/xinfinite/32/10892_2.png) [@xinfinite](https://forum.fritzing.org/u/xinfinite)\
**Post date:** [November 20, 2021, 7:30pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/6 "2021-11-20T19:30:58Z")

</div>

Yes that is the right stepfile.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [November 20, 2021, 7:39pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/7 "2021-11-20T19:39:10Z")

</div>

Unfortunately FreeCad tells me

No Technical Drawing Page found in selection.

when I try and export it as an svg. So back to plan B which is manually generate an svg from the mechanical drawing.

Peter

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [November 20, 2021, 9:37pm UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/8 "2021-11-20T21:37:15Z")

</div>

OK, assuming I understood correctly this part should do what you want. It has the board outline in breadboard and pcb but nothing else. The path was made from the measurements in the mechanical drawing jpg and checked against the pdf image on the web site:

 ![capture](https://forum.fritzing.org/uploads/default/original/2X/5/5d157cb0cec959455d8665a14ab0155b7351a813.jpeg)

it is fairly hard to see in this as they are both black, here is the image without the pdf

 ![capture1](https://forum.fritzing.org/uploads/default/original/2X/5/5c1aca0ab5388c8b8f334b4c6db82b642806be30.jpeg)

which is what is in breadboard and pcb in this part. Unzipping the .fzpz file will get you the pcb svg file which I think is what you want. You would need to print out the pcb footprint at 1:1 scale and compare the printout to a real board to make sure the footprint is in fact correct though!

[PCB-ME-MAX-LP-SAMPLE-MSTBO-2-2.fzpz](https://forum.fritzing.org/uploads/short-url/hZ4rL4V4dVxhA76OxgBBSqj4oIP.fzpz) (4.0 KB)

Peter

---

<div class="post-metadata">

**Author:** ![microMerlin](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/m/76d3ee/32.png) [@microMerlin](https://forum.fritzing.org/u/microMerlin)\
**Post date:** [November 21, 2021, 4:39am UTC](https://forum.fritzing.org/t/help-for-convert-stp-3dfile-to-pcb-layout/14407/9 "2021-11-21T04:39:29Z")

</div>

@vanepp It should be safe to just upload svg files now. A patch to the forum software a while back fixed the issue with rejecting small images. This one was probably big enough to work even before the fix.
