Script for generating rotary coded switches. #400
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Script for generating rotary coded switches.
Type Nidec series SH-7000
On branch mr_button_switch_nidec
Changes to be committed:
The step file is needed because the current FreeCAD version 0.18 does not support CadQuery 2.x and thus 3D text is not supported.
The numeric marking of the rotary coded switch is done by importing the 3D text as a step file.
As soon CadQuery 2.x is available in FreeCAD i will update the scripts and the step file can be deleted.
For screenshots of the models look at PR: KiCad/kicad-packages3D#734
The scripts were tested to run with FreeDAC 0.18 and 0.17
These are my first scripts for 3D model generation. I uses the files from the 'DIP_Part* folder as a basis. May be this was not the right choice for models with only a few variations. If someone has a better recommendation which source i should use as a basis in future, please let me know.