A Python-powered automation script to generate 3D convergent-divergent (CD) nozzle models in SolidWorks based on user-defined dimensions.
(Note: The main automation code is private; this repository showcases the project workflow, demo, and results.)
pywin32
package (only if running the automation code privately)
Annotated CD nozzle with inlet, throat, exit, and smooth spline shape.
Midpoints between inlet-throat and throat-exit are automatically calculated to create smooth nozzle profile.
The Python automation script is private and not included in this repository.
To run locally (if you have access):
pywin32
COM (Component Object Model): A Microsoft technology that allows software components to communicate and share functionality within Windows.
API (Application Programming Interface): A set of rules and functions that lets one program use features of another program.
COM API in SolidWorks: Enables automation by allowing Python (or other languages) to control SolidWorks: create sketches, extrude, revolve, cut, set views, and save files—all programmatically.
PyWin32: A Python package that acts as a bridge between Python and Windows COM objects. It allows Python to control Windows applications like SolidWorks, Excel, Word, etc.