Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Added files for JST connector series XH-AM. #293

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MountyRox
Copy link
Contributor

One file is is for the 1 pin connector, the other file for all connectors from 2 pins to 12 pins. The number of pins can be edited via a spreadsheet.

On branch Conn_JST_XH_AM

  • Changes to be committed:
    • new file: Connector_JST.3dshapes/JST_XH_B1B-XH-AM_1x01_P2.50mm_Vertical.FCStd
    • new file: Connector_JST.3dshapes/JST_XH_BxxB-XH-AM_1xXX_P2.50mm_Vertical.FCStd

If you prefer to have one source 3D file for each connector type instead of one parametric file, please let me know.

The datasheet from JST
JST_XH_AM_data

Here are some examples (1 pin and 10 pins):
1x01iso1
1x01iso
1x10iso

The spreadsheet for editing the number of pins:
image

One file is is for the 1 pin connector, the other file for all
connectors from 2 pins to 12 pins. The number of pins can be edited via a spreadsheet.

 On branch Conn_JST_XH_AM
 Changes to be committed:
	new file:   Connector_JST.3dshapes/JST_XH_B1B-XH-AM_1x01_P2.50mm_Vertical.FCStd
	new file:   Connector_JST.3dshapes/JST_XH_BxxB-XH-AM_1xXX_P2.50mm_Vertical.FCStd
@evanshultz
Copy link
Collaborator

Thanks for your efforts to learn the library and 3D model scripting and create so many families of models recently!!

For easier tracking in the future, can you go back and add the script update PR to each of your PRs in this repo? I assume you have created PRs for the script somewhere at https://github.com/easyw/kicad-3d-models-in-freecad, or perhaps somewhere else at GitHub. If someone needs to make any updates in the future, being able to find this PR and then just right to the script will be helpful. Thank you!

@chschlue
Copy link
Contributor

chschlue commented Sep 2, 2020

As far as I can see, there is no script, but different FPs are creating by changing parameters in a spreadsheet within the FreeCAD file.
Is that correct @MountyRox?

@MountyRox
Copy link
Contributor Author

@chschlue Yes its correct, i created the different models by changing the Number Pins (nPin) parameter in the spreadsheet.

With scripting i am not familiar at the moment. May be its useful to learn more about scripting. As i stated in the PR, i can submit a discrete FreeCAD file for each connector type, if you prefer this.

@chschlue
Copy link
Contributor

chschlue commented Sep 2, 2020

No, it's fine the way it is.

Just note that your models may be replaced with scripted ones in the future.

@MountyRox
Copy link
Contributor Author

Can anybody give a hint where i can find more information to learn more about writing Python scripts to generate 3D models?
Thanks a lot.

@MountyRox
Copy link
Contributor Author

I found the very good CADQuery documentation, a lot of new stuff to learn 😓😄,
however if someone has another helping hint, he's welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants