/cadquery/FCAD_script_generator/Flat_Pin_packages/README.adoc

https://github.com/easyw/kicad-3d-models-in-freecad · AsciiDoc · 115 lines · 92 code · 23 blank · 0 comment · 0 complexity · 61461d49da28e0d5551cb2a43d03480b MD5 · raw file

  1. STEP AP214 and VRML FreeCAD script generator
  2. ============================================
  3. :Author: Maurice
  4. :Email: https://github.com/easyw
  5. :Date: March 2017
  6. :Revision: 1.5.1
  7. :website: https://github.com/easyw/kicad-3d-models-in-freecad/
  8. :docname: README.adoc
  9. this repository +
  10. link:https://github.com/easyw/kicad-3d-models-in-freecad/[] +
  11. is a place to find STEP AP214 3D models and VRML kicad 3D models
  12. under *''cadquery'' DIR*, there are some nice scripts that can generate +
  13. *STEP and VRML parametric models* for +
  14. *GullWings ICs, DIP ICS, Chip Capacitors, Chip resistors, pin-strip headers*
  15. All the STEP and VRML models can be used with kicad new stable release (August 2015)
  16. and are ready to be used with Kicad StepUp script +
  17. *kicad StepUp* is a new approach to export kicad board and modules in STEP AP214 (with colors).
  18. With kicad StepUp it is possible to export the 3D board and modules in STEP
  19. for MCAD interchange and create the 3D wrl libraries. +
  20. link:http://sourceforge.net/projects/kicadstepup/[kicadStepUp at sourceforge] +
  21. link:http://bazaar.launchpad.net/~easyw/kicad-stepup/trunk/files/[kicadStepUp at lauchpad] +
  22. link:http://youtu.be/Ukd47VXYzQU[YouTube Kicad StepUp demo video]
  23. .REQUIREMENTS
  24. * FreeCAD 0.15 (best for step single object result)
  25. * CadQuery 0.5.2
  26. <<<
  27. .OverView of the parametric scripts
  28. **********************************************************************
  29. this repository +
  30. link:https://github.com/easyw/kicad-3d-models-in-freecad/[] +
  31. is a place to find STEP AP214 3D models and VRML kicad 3D models; +
  32. under *''cadquery'' DIR*, there are some nice scripts that can generate +
  33. *STEP and VRML parametric models* for +
  34. *GullWings ICs, DIP ICS, Chip Capacitors, Chip resistors, pin-strip headers* ready to go for *kicad StepUp script*
  35. The parametric scripts are derived from CadQuery scripts for generating QFP, DIP and pinHeaders
  36. models in X3D format. +
  37. author *hyOzd* +
  38. author site: link:https://bitbucket.org/hyOzd/freecad-macros/[]
  39. ## requirements ## +
  40. link:https://github.com/jmwright/cadquery-freecad-module/archive/master.zip/[CadQuery module] version 0.52 +
  41. link:http://freecadweb.org/[FreeCAD] version 0.15 or later
  42. **********************************************************************
  43. Running the scripts
  44. -------------------
  45. to run the script just move to the scripts dir and do: +
  46. freecad ./main_generator.py modelName +
  47. examples in win: +
  48. +c:\freecad\bin\freecad main_generator.py SOIC-8_3.9x4.9mm_Pitch1.27mm+ +
  49. +c:\freecad\bin\freecad main_generator.py allSOIC+ +
  50. +c:\freecad\bin\freecad main_generator.py allSSOP+ +
  51. +c:\freecad\bin\freecad main_generator.py allTSSOP+ +
  52. +c:\freecad\bin\freecad main_generator.py allSOT+ +
  53. +c:\freecad\bin\freecad main_generator.py allQFP+ +
  54. in linux: +
  55. +freecad ./main_generator.py SOIC-8_3.9x4.9mm_Pitch1.27mm+ +
  56. +freecad ./main_generator.py allSOIC+ +
  57. +freecad ./main_generator.py allSSOP+ +
  58. +freecad ./main_generator.py allTSSOP+ +
  59. +freecad ./main_generator.py allSOT+ +
  60. +freecad ./main_generator.py allQFP+ +
  61. or simply run the 'create_model' script/batch +
  62. modelName and parameters are described in: +
  63. 1. cq_parameters.py file in their relative DIR
  64. all data in parameter files are collected from components data sheets +
  65. ##the script will generate STEP and VRML parametric models##
  66. ready to be used with kicad StepUp script
  67. [red]*Note:* You may get a 'No module named QtNetwork' error on Ubuntu based systems when you select the module in FreeCAD.
  68. If you do, run the following command line from a terminal to fix this issue. +
  69. +sudo apt-get install python-pyside.qtnetwork+
  70. credits
  71. -------
  72. FreeCAD & cadquery tools: +
  73. libraries to export generated models in STEP & VRML format +
  74. - cad tools functions +
  75. Main author *Maurice* link:https://github.com/easyw[] +
  76. +
  77. starting from work of author *hyOzd* +
  78. author site: link:https://bitbucket.org/hyOzd/freecad-macros/[] +
  79. [[copyright]]
  80. Copyright
  81. ---------
  82. This document '{docname}' and all the materials and files at the repository are +
  83. Copyrighted © 2015 by {Author}. +
  84. You may distribute it and/or modify it under the terms of either
  85. the GNU Affero General Public License (http://www.gnu.org/licenses/gpl.html),
  86. version 2, or the Creative Commons Attribution License
  87. (http://creativecommons.org/licenses/by/3.0/), version 3.0 or later.
  88. All trademarks within this guide belong to their legitimate owners.
  89. Risk disclaimer
  90. ---------------
  91. *USE 3D CAD DATA AT YOUR OWN RISK +
  92. DO NOT RELY UPON ANY INFORMATION FOUND HERE WITHOUT INDEPENDENT VERIFICATION.*