# Confused about New Part Fab

**URL:** <https://forum.fritzing.org/t/confused-about-new-part-fab/18632>\
**Category:** parts help\
**Created:** [March 21, 2023, 12:58am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632 "2023-03-21T00:58:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 21, 2023, 12:58am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/1 "2023-03-21T00:58:33Z")

</div>

Peter,  
I will upload the 5 jpg images of screen, and add part/SVG files in separate posting.  
I have tried to create a proper usable TB6600 for 2 days now. I attempted to read everything I could about parts fab here and several other instructionals.  
The Stepper Driver 02 is about the fifteenth attempt at fabricating a proper SVG. Others even more. The scaling, units have been checked (inches) and all connectors have been LOCKED after verifying. DON’T go to SCHEMATIC before looking at BREADBOARD, The image will disappear when you return to Breadboard. Note on the attempted part that the filename keeps going back to your DM860A, the SCHEMATIC image IS this, and I cannot re-name, It was edited to have all the same info as Breadboard… but the TB6600 is in Breadboard. BOTH have the same Connector List. If I select Schematic to check, and return to Breadboard My Image disappears in Breadboard, even after editing all the attributes before leaving BB. When an attempt is made (TEMP) to load the compiled part to parts list, The IMAGE disappears, but the attributes of connection come in and work fine. ( just a terminal strip ) Everything in the 15th edition of the original SVG appear fine. ( so long as you stay in BB mode ) I hope someone comes up with a small routine to go through SVG files and correct prior to import to Fritzing. Please evaluate my problems.  
Bill

 ![FritzPART-TB6600-StepperDriver02](https://forum.fritzing.org/uploads/default/original/2X/2/2afdf0c257dc723d933c5579671947f4ec51a09e.jpeg)  
 ![InkscapePart-Updated-Stepper-Driver02-TB6600](https://forum.fritzing.org/uploads/default/original/2X/7/7a48325e5701e7d14657c1b405bf1ccb6ad80f6a.jpeg)  
 ![SketchForPART-IMPORT-DM860A Stepper Motor DriverINSTEAD](https://forum.fritzing.org/uploads/default/original/2X/3/3ff0c543ad594ce16e048e03676710e86106aa61.jpeg)  
 ![TB6600-SaveAsNew](https://forum.fritzing.org/uploads/default/original/2X/6/666f09dfb83f277714babf2187dbdeef1362ff7c.jpeg)  
 ![TheFileGivenNOT-TB6600-StepperDriver02](https://forum.fritzing.org/uploads/default/original/2X/5/50958f619b36eab984291a760911db555e8c1d2d.jpeg)

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 21, 2023, 1:00am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/2 "2023-03-21T01:00:00Z")

</div>

The SVGs  
 ![TB6600-StepperDriver02_7d3c3c03c6d783ddcfd05f22e310cae6_35_breadboard](https://forum.fritzing.org/uploads/default/original/2X/b/b348c5ba44087e8128b6fff35bdf7a6fc3e98053.svg)  
 ![Updated-Stepper-Driver02-TB6600](https://forum.fritzing.org/uploads/default/original/2X/7/717a8834d4fda274992bce6fab28020b906aac4b.svg)

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 21, 2023, 1:03am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/3 "2023-03-21T01:03:24Z")

</div>

![TB6600-StepperDriver02_7d3c3c03c6d783ddcfd05f22e310cae6_35_breadboard](https://forum.fritzing.org/uploads/default/original/2X/b/b348c5ba44087e8128b6fff35bdf7a6fc3e98053.svg)  
 ![Updated-Stepper-Driver02-TB6600](https://forum.fritzing.org/uploads/default/original/2X/7/717a8834d4fda274992bce6fab28020b906aac4b.svg)

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 21, 2023, 1:05am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/4 "2023-03-21T01:05:11Z")

</div>

I guess not. They will not transmit

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 21, 2023, 1:32am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/5 "2023-03-21T01:32:42Z")

</div>

My other problem with all this is warnings…earlier I screwed up and deleted files I had to recover…  
 ![Other Problem](https://forum.fritzing.org/uploads/default/original/2X/e/e1bf02a2e8616af837d2f5ddd4d2c51599981f14.jpeg)

---

<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:** [March 21, 2023, 2:45am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/6 "2023-03-21T02:45:55Z")

</div>

The svgs uploaded just fine. If you right click on the image and select “save file as” it will download as a svg.

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

That said the svg is consistent with the images above, a grey square (the white square which is the view box in the svg) with the connectors because that is all that is in the svg. The original part breadboard svg looks like this:

![svg.breadboard.prefix0000_911c140c21fa07989d9ddccd6943645a_1_breadboard](https://forum.fritzing.org/uploads/default/original/2X/a/a0278e51a93b585abcbc724249b13c9eaa93a80e.svg)

and like this in Inkscape

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

your svg only has the connectors not the rest of the image. It looks to me like you imported an image of the actual part (which isn’t that desirable as it isn’t a vector image and won’t scale) it is preferred to make the image out of drawing elements (although it is a lot more work!) as in the original svg. You also need a group which contains the entire svg with the label breadboard to make sure you part will export as an image. I often start from an imported image like this and over lay the image with svg elements then delete the image. I would probably start with this breadboard svg, rotate it 90 degrees to match the orientation of yours and replace the generic screw connectors I used with an outline that matches the one in your image (moving the connectors over the screws in the terminal block) as being the easiest. First select the breadboard group and rotate it 90 degrees:

 ![capture2](https://forum.fritzing.org/uploads/default/original/2X/1/193966f9065b5387e33a1253c23b3e6b343c9fea.jpeg)

Then ungroup it for easier manipulation and import the jpg image of your screen above and rescale it to be the same size as the current part (you actually want it to be the same size as the real part!)

 ![capture3](https://forum.fritzing.org/uploads/default/original/2X/b/b5307bd4524e1f697401844a4b4949fbb37f5b21.jpeg)

Here I moved the image over the part then selected the black rectangle and moved it above the image so the text is overlaying the image making it easier to move around.

 ![capture4](https://forum.fritzing.org/uploads/default/original/2X/3/3d2328d5fd7ea5488da1f85cfe1b76535a16b8d9.jpeg)

then move and change the text as needed to make it match the image. Here I changed the text from all upper to upper and lower then adjusted the font size til the text matches.

 ![capture5](https://forum.fritzing.org/uploads/default/original/2X/1/1e9e6e44726ddff2727eaee08a1e8c3d85828de7.jpeg)

now you need to do the same or all the rest. Then you need to create a part for the terminal blocks (because I don’t have one to copy!) like this from rectangles and circles for the connectors. Start with a rectangle

 ![capture6](https://forum.fritzing.org/uploads/default/original/2X/1/169ce968893e28c8a3bd3b92b1ad1bafd140047b.jpeg)

then move it over where it should be and duplicate it for the next section make it darker green and place it.

 ![capture7](https://forum.fritzing.org/uploads/default/original/2X/f/f41111ec5d6e1a143c7119d1bcf1eae4c9e1ae34.jpeg)

Now move both the rectangles back so they are out of the way like this then duplicate the right rectangle (so it is the same color) and resize it to be one of the bars like this

 ![capture8](https://forum.fritzing.org/uploads/default/original/2X/e/e03737ccbdf29a59b33dea98e4d658803cbcccf2.jpeg)

duplicate and resize a bar and make it darker then duplicate them down the row

 ![capture9](https://forum.fritzing.org/uploads/default/original/2X/c/cb559f5af9ad6120d7378ca2e99bcbbc460a9613.jpeg)

Then make a circle for the pin (although this isn’t the connector as it has a stroke and fill set!)

 ![capture10](https://forum.fritzing.org/uploads/default/original/2X/4/4c57e0ad103b94fba31e75aba798eb4d8fd69cc4.jpeg)

Now move back to the bottom circle, duplicate it (to make the connector) set fill and stroke to none and set the id to connector0pin like this

 ![capture11](https://forum.fritzing.org/uploads/default/original/2X/2/25b37aa2cd99269e54915a490466d5b4519b7893.jpeg)

rinse and repeat for the rest of the connectors in order.  
Then delete the image and move the rectangles until they don’t over lap to get the final product with the connectors set.

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

Finally do an Edit-\>select all, Edit-\> resize page to selection, Object-\>group and name the resulting group breadboard to create the final svg (this one isn’t complete though!) then File-\>save as and select type plain svg and save the svg. Here is a copy of the svg above so you can see what I did.

![svg.breadboard.breadboard_1_breadboard](https://forum.fritzing.org/uploads/default/original/2X/3/39b372be5be2faac7552046244dba91af59f707e.svg)

Hope this helps, if not feel free to ask!

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:** [March 21, 2023, 3:27am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/7 "2023-03-21T03:27:41Z")

</div>

> [@BillRedd](#):
>
> My other problem with all this is warnings…earlier I screwed up and deleted files I had to recover…

This indicates you have two parts with moduleId TB6560\_V2-DF\_1. To fix it you need to change the moduleId on one part or the other. Editing C:/Users/Bill/Documents/Fritzing/parts/user/TB6560\_V2-DF\_1.fzp and changing this line

module moduleId=“fc-51” referenceFile=“fc-51.fzp” fritzingVersion=“0.9.10”

from “TB6560\_V2-DF\_1” to “TB6560\_V2-DF\_2” (assuming the moduleId is TB6560\_V2-DF\_1!) should fix that. You may also need to change the svg files if they are identical to the other part i.e. you may need to change the file name fc-51\_breadboard.svg below to something unique such as fc-51\_2\_breadboard.svg (where there isn’t an svg file named that in Fritzing.) You then also need to change the svg file names to match those set in the fzp file. The svg files will be in /Bill/Documents/Fritzing/parts/svg/user/breadboard (and icon, schematic and pcb)  
Presumably you have two fzpz files that have TB6560\_V2-DF\_1 with the same or different svg files. The modulerId and (usually) svg files need to be unique.

```
<iconView>
  <layers image="breadboard/fc-51_breadboard.svg">
    <layer layerId="icon"/>
  </layers>
</iconView>
<breadboardView>
  <layers image="breadboard/fc-51_breadboard.svg">
    <layer layerId="breadboard"/>
  </layers>
</breadboardView>
<schematicView>
  <layers image="schematic/fc-51_schematic.svg">
    <layer layerId="schematic"/>
  </layers>
</schematicView>
<pcbView>
  <layers image="pcb/fc-51_pcb.svg">
    <layer layerId="silkscreen"/>
    <layer layerId="copper0"/>
    <layer layerId="copper1"/>
  </layers>
</pcbView>

```

Peter

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 21, 2023, 8:15pm UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/8 "2023-03-21T20:15:27Z")

</div>

Peter,  
Thanks for the help. I haven’t addressed the last problem yet, but upon receiving your reply last night, I realized that IMAGES don’t work. I have several lasers that are run with LIGHTBURN, and I commonly TRACE images with it so I TRACED my downloaded image and re-fabricated the SVG in LIGHTBURN with THEIR CAD capabilities, and simply exported the svg. Simple, extremely quiick, and accurate. You can use a 30 day version for free … other Fritzing users might want to give it a try. I converted all text to PATH before export from LIGHTBURN to prevent font discrepancies. I need to find out how to scale the part about twice the displayed size… the SVG was scaled to component size, then increased in Inkscape, but has remained the same size.  
Additionally my FILE OPEN window went to FULLSCREEN and I cannot reduce it’s size.  
I believe this part is pretty much ready for public release…It seems to do everything I wanted, and I know there were several other requests for it.  
Thanks a lot, Bill  
[BreadboardWithTB6600-NEMA17-23STEPPER-MOTOR-DRIVER.fzz](https://forum.fritzing.org/uploads/short-url/jTFVyeej3RutQmWxwusVi7EM3G6.fzz) (122.2 KB)  
[BreadboardWithTB6600VER4.fzz](https://forum.fritzing.org/uploads/short-url/dAiBKeLylsYqSLXgnOS10bQKQAQ.fzz) (107.3 KB)  
 ![SCHEMATIC-TB6600](https://forum.fritzing.org/uploads/default/original/2X/2/2500652eb5a6035ad85e7954162935d89b0e1bc7.svg)  
 ![TB6600-LBRN-FAB](https://forum.fritzing.org/uploads/default/original/2X/f/fb1bee7e1c7d20fb9cd3c383cdefa1b1871712f3.svg)  
 ![Updated-Stepper-Driver03-TB6600](https://forum.fritzing.org/uploads/default/original/2X/f/f24be7c2fdae617f0cdeed402d66fe3e5961f5a6.svg)

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 21, 2023, 8:32pm UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/9 "2023-03-21T20:32:20Z")

</div>

```
By the way, I am using the exports from PC Board fabrications from Fritzing to "Burn" small Printed circuit boards using POSITIVE ACTING Pre sensitized PC board, then through LIGHTBURN to my lasers. The trick is SPEED and extremely low power. Outline, Trace, and Solid can all be done with a lot of trial and error this way.

```

Bill  
[Isolated-NPN-PNP-Pair-2.fzz](https://forum.fritzing.org/uploads/short-url/n79G0ZKRAjlfa37W8FXnszKHqTr.fzz) (19.1 KB)

---

<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:** [March 22, 2023, 12:18am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/10 "2023-03-22T00:18:02Z")

</div>

A few problems in your part. Here is the output (only the errors not the warnings 🙂 ) from your part:

Error 69: File  
‘svg.breadboard.TB6600-UPDATED-STEPPER-DRIVER-04\_461729d0ec852d1a76305f3c4a7c45aa\_9\_breadboard.svg.bak’  
At line 25

Found a drawing element before a layerId (or no layerId)

Error 69: File  
‘svg.schematic.TB6600-UPDATED-STEPPER-DRIVER-04\_461729d0ec852d1a76305f3c4a7c45aa\_9\_schematic.svg.bak’  
At line 13

Found a drawing element before a layerId (or no layerId)

both breadboard and schematic lack layerIds which will cause the part to not export as an image.

Error 18: File  
‘part.TB6600-UPDATED-STEPPER-DRIVER-04\_cfc8dd5449c9306d0950c3358bf53b84\_3.fzp.bak’

Connector connector1terminal is in the fzp file but not the svg file. (typo?)

svg svg.schematic.TB6600-UPDATED-STEPPER-DRIVER-04\_461729d0ec852d1a76305f3c4a7c45aa\_9\_schematic.svg.bak

indicates the schematic has not terminalIds (normally a problem, but not in this case due to an odd schematic layout.)

Connector connector2pin is in the fzp file but not the svg file. (typo?)

svg svg.pcb.TB6600-UPDATED-STEPPER-DRIVER-04\_461729d0ec852d1a76305f3c4a7c45aa\_9\_pcb.svg.bak

which causes this in pcb view (as there are undefined connectors)

 ![capture24](https://forum.fritzing.org/uploads/default/original/2X/e/e2ec2a1a4f3a7ae1a8276a3335de94f141579326.jpeg)

So lets start with breadboard.

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

the group circled in red needs to be changed to breadboard so breadboard would have a layerId. The x and y should start at 0 (not doing so can cause offsets from the grids) and as you note the size of the part is about 1/2 to small (49mm against 96mm)

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

so first I ungrouped the entire svg which is a requirement for successful scaling in Inkscape by selecting the top group and hitting cntrl-shift-g multiple times til there are no groups left.

 ![capture2](https://forum.fritzing.org/uploads/default/original/2X/d/d08559bc5271fad15f6660e3b2b5996c7c7b4fa4.jpeg)

then clicked Edit-\>select all then Edit-\>resize page to selection to reset the view box to 0 0

 ![capture3](https://forum.fritzing.org/uploads/default/original/2X/6/6026f99fe016da0f0ba72d559ff7bccd19b9bf59.jpeg)

then I corrected the scale of the svg. In Fritzing it is desirable that the viewbox set drawing units at 1/1000 of an inch (which is a scale of 0.001 in the red circle here.) To correct this

 ![capture4](https://forum.fritzing.org/uploads/default/original/2X/3/302af7c129094e78ccabf1a0de29f0701f1bf4ad.jpeg)

lock the width to height, change the dimensions to px (for maximum resolution) and copy the larger of height or width (height in this case) to the clip board (or record it somewhere) then change the scale from 0.013889 to 0.001 which will make the image much smaller. Then set the height back to the same value it had before the rescale like this

 ![capture5](https://forum.fritzing.org/uploads/default/original/2X/4/4ecee1c617ed316845ff60d18c94ae7ef1467786.jpeg)

now we can change back to mm and change the height from 43.960 t0 96 to be around the correct scale (it isn’t clear to me where that 96mm ends, at the end of the terminal strip as I assumed or at the edge of the case, so it may be wrong!)

 ![capture6](https://forum.fritzing.org/uploads/default/original/2X/c/cc7a8223b2596b0948cd3e6322a3c5659cc91ada.jpeg)

now we are again outside the view box,

 ![capture7](https://forum.fritzing.org/uploads/default/original/2X/0/09aa20024294bb98386371a02c45d706d4919e43.jpeg)

so Edit-\>select all and Edit–\>resize page to selection to correct that.

 ![capture8](https://forum.fritzing.org/uploads/default/original/2X/5/57a967682f6d0d3003e5e6a9df071de63977749b.jpeg)

now to renumber the pins. Convention in Fritzing is that connectors should start at 0 and increase linearly with connector0 being at pin1 of an IC (so on the lower left) here that translates to the right bottom

 ![capture10](https://forum.fritzing.org/uploads/default/original/2X/4/4a295f99d31112e64794858c2cc0bc3aa3ae92f3.jpeg)

I prefer to move all the connectors to the bottom of the svg because I have a script that will renumber them automatically (although it broke in this case because of the title elements on the pins!) So now move and renumber the connectors like this (connector0 here started out as pin6)

 ![capture11](https://forum.fritzing.org/uploads/default/original/2X/2/21c30e178b66ee087e60c1be46941059026b9bfb.jpeg)

ending up looking like this

 ![capture12](https://forum.fritzing.org/uploads/default/original/2X/d/d580e79caa93b9d81e3b2a6a7e36290f5b244977.jpeg)

 ![capture13](https://forum.fritzing.org/uploads/default/original/2X/f/fc593d92b25d0dff796f343dff0a97bef8805322.jpeg)

then Edit-\>select all, Edit-\>resize page to selection, and Object group and rename the created group breadboard to create the correct layerId. From there on to schematic which currently looks like this

 ![capture14](https://forum.fritzing.org/uploads/default/original/2X/c/ca9d06c817730583a3ca5731279d9b8c12d2c7ad.jpeg)

While this will work, it doesn’t match the standard Fritzing schematic so I choose to replace it with one generated by Randy’s Inkscape extension like this. First I selected the starting group and deleted it to leave a blank svg.

 ![capture15](https://forum.fritzing.org/uploads/default/original/2X/e/ed4d8216b6498d68d2d9bba1bf7dc0e6bf9746da.jpeg)

then started the extension and set the parameters

 ![capture16](https://forum.fritzing.org/uploads/default/original/2X/8/8a9229394848ee9cb64b5538d676d40927eb17cc.jpeg)

set the name in the label box set 0.6in as the width (turned out too small!) and 1.4in (12 connectors plus 1 space between them) for the height.

 ![capture17](https://forum.fritzing.org/uploads/default/original/2X/7/7383c954492098c137840fc13d0b97d9c65e635c.jpeg)

then set 12 connectors on the right (0 everywhere else) and hit apply

now enter the names of the pins, pin 1 is the bottom of the pins in breadboard here

 ![capture18](https://forum.fritzing.org/uploads/default/original/2X/b/bc31837cf70594130105c8ab6c49f63183eb5115.jpeg)

then click finished and it creates the svg

 ![capture20](https://forum.fritzing.org/uploads/default/original/2X/6/6095fc579511091eb51729b15ddb8e7c73669307.jpeg)

note it is to narrow so ungroup it to make changes

 ![capture21](https://forum.fritzing.org/uploads/default/original/2X/f/f0f40b19339d65225dbcd768ce9b2b417ee81bfe.jpeg)

then move the bottom 6 connectors down 0.1in (to leave a space between the 2 pairs of 6 connectors) and increase the width to 0.8in and add some text. Now Edit-\>select all Edit-\>resize page to selection then Object-\> group and set the layerId back to schematic and schematic is finished.

 ![capture22](https://forum.fritzing.org/uploads/default/original/2X/5/5961d5637d4c4dd8b46d765818186bcfefd613ca.jpeg)

save it as plain svg and move on to pcb. There are two choices with pcb, we could suppress it entirely as they are all screw terminals (which don’t easily connect to the pcb.) Instead because the user may want to put an arduino on the pcb and interface it to the motor driver I chose to make pcb be header connectors that can then connect to the motor driver like this

 ![capture23](https://forum.fritzing.org/uploads/default/original/2X/9/95c6e3c054ffd072c67436adab2407b5fe3a54f5.jpeg)

that finishes off the svg files. Now on to the fzp file. There I chose to modify the file names to something more reasonable (and in the process changed the moduleId so this new part will load beside your original for comparison) I needed to change the connectors to start at connector0 and have labels that reflected the new pin positions. I added a url field to one source of the motor driver so people know where they can buy one. Finally I ran the resulting part through FritzingCheckPart.py to make sure it was correct (and to fix a variety of things that Inkscape does that Fritzing objects to!) which results in this new part

[TB6600 NEMA-17-23 STEPPER MOTOR DRIVER-improved.fzpz](https://forum.fritzing.org/uploads/short-url/ynpOfrrbzeoOHzXGFsvhFwp4yt9.fzpz) (57.4 KB)

which looks like this in Fritzing

 ![capture25](https://forum.fritzing.org/uploads/default/original/2X/0/0b4a1f6cd50af7aad864f53a04f3467c131968ac.jpeg)

 ![capture26](https://forum.fritzing.org/uploads/default/original/2X/5/508ce8761255fe646c0e76fb6f7fb23bf7b0e5a1.jpeg)

 ![capture27](https://forum.fritzing.org/uploads/default/original/2X/6/67f526985d6f2cf459600027c97d55b9d855c691.jpeg)

Peter

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 22, 2023, 1:51am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/11 "2023-03-22T01:51:41Z")

</div>

I will go through all that in depth tonight. ( A LOT to grasp ) Since I am not making a PCB with the  
Arduino or Driver on the PCB, mine worked quite well in Schematic. It appears you completed my endeavor.  
Thanks a heap.  
I found that the 7805 Voltage Regulator in CORE Parts has a pin reversal between the Breadboard view and the schematic view. 7805 Pin Order should be (+in) (Gnd) (+Reg out) , left to right. ( the LEFT two pins ) disagree between views.  
That error caused my Diode to short out in the schematic by connecting (Gnd) directly to (+in)  
when the schematic auto-routed.  
That’s why you commented about the diode earlier. I repaired the one I have, you need to note  
that CORE needs that update…it is a very used part as an on-board regulator World Wide.  
Thanks again for your assistance.  
Bill

---

<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:** [March 22, 2023, 2:39am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/12 "2023-03-22T02:39:51Z")

</div>

I’m not sure this is a bug (it is certainly odd, but not necessarily a bug!) This is a Sparkfun part with an odd package type (to-220-alt) which may (or may not!) have this pin out. The standard 7805 part is in the correct order. As is this Sparkfun part

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

but this Sparkfun part (the one you used) is wrong at least in the pin order in the description (there may or may not be a variant of the 7805 with this pin order though)

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

I’ll have a poke at it and see what I can find out and perhaps report it as a bug. A google search for “7805 ground in out pin order” doesn’t turn up any chip with that pin order so I’m inclined to think this is a bug.

Peter

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 22, 2023, 3:02am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/13 "2023-03-22T03:02:19Z")

</div>

I think you are right, regardless if you open up that part, the pins are misidentified between  
Breadboard and schematic, I only noticed when you said I had a short.  
I started using 7805 chips in 1978 I believe, and all that I have used have the pin order I listed. I was a “Controls Engineer” back then and designed in relay logic and early TTL logic to fabricate  
some of the earliest PLCs. (50 years ago)  
I started designing logic circuits in 1970, and adapted to CMOS (4xxx series), and even used  
CPLDs from ATMEL with their logic design programs.  
BTW I downloaded Fritzing several years ago in it’s infancy, It has come a LONG WAY since then,  
a good bit friendlier, but I have a hard time following the SVG edits in Inkscape, I’ve made SVG  
with LightBurn (for my laser engravers mostly) since they came on the market. Much easier  
and friendlier, and they have a tracing program that is simple for SVG. (but costly-30 days free)  
thanks again, it’s normally tough to get help with programs,  
Bill

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 22, 2023, 3:16am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/14 "2023-03-22T03:16:35Z")

</div>

[Winder-Retrofit-WithTB6600-NEMA17-23STEPPER-MOTOR-DRIVER.fzz](https://forum.fritzing.org/uploads/short-url/d3cM9meENN5uRoQ18ol7Go5nyAP.fzz) (107.6 KB)  
I dropped the part you corrected in the Winder file, and Fritzing transferred perfectly.  
( the 7805 I corrected is in here too) The Auto-route appeared to still work too, but I have not  
cleaned it up or re-organized it yet.  
Do you by chance have an external routine for converting the PC Board drill file to GCODE ?  
I may just write one if not. I have MULTIPLE CNCs, 3D printers, and Laser engraver/cutters.  
( mostly Home Built, some 25 years old )  
I still get the error i had loading, so I still have to go through the earlier proceedure you  
outlined for me.  
Bill

---

<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:** [March 22, 2023, 5:38am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/15 "2023-03-22T05:38:36Z")

</div>

> [@BillRedd](#):
>
> Do you by chance have an external routine for converting the PC Board drill file to GCODE ?

No. but if you search the forum for cnc there are a variety of past posts I believe some with a reference to a gcode generator. When I route schematic on your .fzz file I see a number of problems.

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

One of the optocouplers looks to be missing a connection as the collector has no connection. The 5V from the arduino doesn’t seem to go anywhere as the switch is NO and there appears to be a short from NC to common which will cause the switch to not open. The two I/O pins connected together (circled in orange) aren’t necessarily a problem (as long as at least one is an input) but there doesn’t seem to be any reason for it and thus it may be an error. This is why I like to route schematic because it will turn up errors in breadboard that are not at all obvious. Here is a copy of your sketch with schematic routed

[Winder-Retrofit-WithTB6600-NEMA17-23STEPPER-MOTOR-DRIVER-schematic-routed.fzz](https://forum.fritzing.org/uploads/short-url/hu2ZPGAStHt5S9agIpdOztHcGm1.fzz) (120.2 KB)

Your sketch loads without issues for me, so if you are seeing complaints there must be still something wrong on your setup I expect. I would be tempted to export all the files in your mine parts bin as fzpz files (a good idea for backup anyway!) and then clear user files and reload them one by one and see which one (if any) complains. The reason I say if any is that clearing the user files may clear out something that was left over and is causing your problem. I’ve seen cases where a file hasn’t been deleted for some reason and later causes trouble as Fritzing trys to load the same part again.

Peter

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 22, 2023, 6:52pm UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/16 "2023-03-22T18:52:41Z")

</div>

I saw a couple of the problems also as I checked the schematic. Corrected I believe. I found I did  
not need the Regulated 5vdc, so removed it. I had a problem with the fuse on that circuit anyway,  
It would not connect to the output side. ( bendable legs) I then added a fuse back in the 5vdc circuit from Arduino as a safety. Only the opto isolators use 5vdc, most of the operations are to  
common ground, so the complete circuit has changed. That said, it also seems to load with no  
issues. I finally removed the parts causing loading error. It’s not ready to upload for your opinion  
yet. It still has a lot of rearrangement and prototyping on an actual breadboard for verification.  
The REAL breadboard is running perfectly right beside this computer, I am attempting to get the  
Fritzing part to look like IT. There is a LATCHING operation to let Arduino know the desired  
rotation direction for full travel until the supervised limit switch end of travel (reverse) is reached,  
and the PULSE train follows the path of direction to actually operate the Stepper Driver in the  
proper direction. The Enable is toggled to allow “No HOLDING” so the motor can be effortlessly  
moved for corrections by the operator. This also keeps the stepper from overheating.  
“Stepper Hold” is not mechanically necessary or desired. This non-requirement stemmed from  
the original actual operating circuit using an L298 that had no provision for relaxing the stepper  
motor causing MASSIVE overheating when the machine ran slow. It was handled in programming.  
This circuit keeps the motor much cooler with a LOT of reduced code, since the TB6600  
addresses the issue far easier. Only a Tiny tweak in the programming code will allow me to use  
THIS circuit on my SURFACE GRINDER that is currently Electra-Mechanically controlled. (relays)  
Steppers HATE relays even WITH back EMF protection. I mainly want to use Fritzing  
as a PC board lay out aid using my laser engravers to expose film. I have used negatives and  
positives for many years, fabrication layout MANUALLY. Fritzing outputs are easily modified  
to run in LightBurn I discovered by using their TRACING function. ( I have no GERBER )  
Wish me luck  
Bill

---

<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:** [March 22, 2023, 7:11pm UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/17 "2023-03-22T19:11:13Z")

</div>

As long as you check schematic for errors, you should be fine. As noted it catches errors that are very hard to see in breadboard.

Peter

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 22, 2023, 8:45pm UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/18 "2023-03-22T20:45:25Z")

</div>

YES it DID ! I did a quickie with an isolated PNP NPN and it caught a wiring error to correct earlier.  
Fritzing is starting to work well … just need to verify PARTY DESIGNs !!  
thanks a lot for your help. YOUR routing looked really good.  
Bill

---

<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:** [March 23, 2023, 6:30pm UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/19 "2023-03-23T18:30:09Z")

</div>

I just opened issue #367 on github for the two 7805 part with the wrong pinout (it appears they used the 7905 pinout rather than the 7805) and will submit a pull request to obsolete and fix the two parts.

> <https://github.com/fritzing/fritzing-parts/issues/367>
>
> It looks like 2 of the 7805 voltage regulators in core parts have the 7905 pinou…t rather than the 7805 pinout.
> 
> !\[capture\](https://user-images.githubusercontent.com/16514277/227310127-ae708d77-51b2-40aa-82c9-b03d23a1e2fa.jpg)
> 
> Here is a parts search for 7805 with the various versions marked as correct or incorrect (so you can identify the incorrect parts!) Here I labeled the pins as what the pin description in Fritzing shows (I for Input, G for ground and O for output) The first one has the incorrect 7905 pin order (and bit someone in the forums which is how I found this!) 
> 
> !\[capture1\](https://user-images.githubusercontent.com/16514277/227310295-1fe960d7-25c7-450c-92b6-c92db6753f84.jpg)
> 
> !\[capture2\](https://user-images.githubusercontent.com/16514277/227311049-b0d4afb9-7f52-4cae-8d2e-7d9b36155c64.jpg)
> 
> !\[capture3\](https://user-images.githubusercontent.com/16514277/227311094-5391e661-ae42-4626-863f-1e9be215cc93.jpg)
> 
> !\[capture4\](https://user-images.githubusercontent.com/16514277/227311141-9fb0f6fc-911b-4e22-8a77-78ff6d7143b8.jpg)
> 
> !\[capture5\](https://user-images.githubusercontent.com/16514277/227311178-d971ba4a-c5e2-4a74-9fc5-e798ff2c66a2.jpg)
> 
> I will run obsolete.py against to two broken parts (and clean them up to current parts standards since I'm updating them) and submit a pull request. I'm surprised this hasn't been caught before but I don't see any issues on the subject open or closed.

Peter

---

<div class="post-metadata">

**Author:** ![BillRedd](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/5e9695/32.png) [@BillRedd](https://forum.fritzing.org/u/BillRedd)\
**Post date:** [March 24, 2023, 4:41am UTC](https://forum.fritzing.org/t/confused-about-new-part-fab/18632/20 "2023-03-24T04:41:26Z")

</div>

Boy I really know how to find faulty parts. I found the Diode I used has directional problems as  
marked and AutoTraces straight through … it also wants to invert on autoTrace much like the  
7805, so one window is flipped. The limit switches I tried to use failed much the same… they simply  
would not trace as configured. ( No matter , they are external functions and do not affect the  
Printed circuit ) They as well need to be scrutinized in detail. So I picked 3 faulty parts from CORE;  
what are the ODDS ?  
I include the present level of the “fzpz” file, An image of PC Bd screen, and an output screen  
from LightBurn as the laser will print on Positive acting media for assembly. The circuit has changed considerably, added 2 opto isolators making a total of 4, giving me total isolation  
from the real World. In this version I reversed the diode in Fritzing ( not in real World) to  
keep it from messing up my schematicand circuit board tracing. I substituted the  
LEDs with “PAD” like I used for interface to the real World ( forget what their “type” is ) and most  
problems disappeared. I left the Auto-Trace to the Arduino to assist me in naming the associated pads. I used the schematic you created for the TB6600 on the PC board for “parallel wiring” of the real unit…just “Wire to Wire” (except for 4 motor wires, with drill holes removed). . . the jumpers for it are already on the printed circuit board so a flat cable will hook it up without any detailed wiring directly on it.  
There are several ways I can convert the output to laser, even direct image import. I include a copy of that as well. Check the DIODE, LED, Limit Switches, and 7805 since they ALL need updating.  
Bill

 ![LaserExposingPCboard](https://forum.fritzing.org/uploads/default/original/2X/1/12b59cebfedefb1f7bedb9679f7361562b925e83.png)  
 ![PCB-ViewOnScreen](https://forum.fritzing.org/uploads/default/original/2X/7/7be3d839f0b86f32cd56d76a69fda59d27b8cd30.jpeg)  
[Winder-Retrofit-Isolation-WithTB6600-NEMA17-23STEPPER-MOTOR-DRIVER.fzz](https://forum.fritzing.org/uploads/short-url/bDO5wFY7cCdP4CA019JAu5wF8cR.fzz) (148.0 KB)

[Next page](https://forum.fritzing.org/t/confused-about-new-part-fab/18632.md?page=2)
