Aug-24-2020, 03:37 PM
I announce a new python module, dedicated to mechanical engineering: pymadcad
I know this purpose can be far from what many expect to do with python
That's not about network application nor machine learning nor user interface ...
But Python is greater than only the current mainstream usage. Many people are using Python for science, as a notebook or to run calculation ... For mechanics I was really frustrated to not being able to use it as well !
Hence is this module: It allows to generate meshes only from python functions in order to create full functional parts !
How do we do ?
Mostly the same way than with all CAD softwares: we define wire geometries using simple primitives (lines, arcs, splines) then we extrude it in many ways. In fact there is many more functions and many differences in MADCAD with the other softwares, but not at this level.
The API is made to make the generation extremely simple and readable.
Yet all what you need to use it is a good imagination to guess how to place points before to press 'enter'
The project page
On github
There is also a documentation with some examples
So if you are searching for a way to
- make your 3D printed parts only by coding
- make parts with shape determined by algorithms
- automate a vast variety of related parts
- make kinematics schemes, or make interactive mechanisms
Then this module should be perfect for you
If you have any question or idea, please don't hesitate !
Work in progress: edge chamfer and rounding
![[Image: cube.png]](https://i.postimg.cc/65dGXpjx/cube.png)
![[Image: round.png]](https://i.postimg.cc/brmWDhLy/round.png)
I know this purpose can be far from what many expect to do with python

But Python is greater than only the current mainstream usage. Many people are using Python for science, as a notebook or to run calculation ... For mechanics I was really frustrated to not being able to use it as well !
Hence is this module: It allows to generate meshes only from python functions in order to create full functional parts !
How do we do ?
Mostly the same way than with all CAD softwares: we define wire geometries using simple primitives (lines, arcs, splines) then we extrude it in many ways. In fact there is many more functions and many differences in MADCAD with the other softwares, but not at this level.
The API is made to make the generation extremely simple and readable.
Yet all what you need to use it is a good imagination to guess how to place points before to press 'enter'

The project page
On github
There is also a documentation with some examples
So if you are searching for a way to
- make your 3D printed parts only by coding
- make parts with shape determined by algorithms
- automate a vast variety of related parts
- make kinematics schemes, or make interactive mechanisms
Then this module should be perfect for you

If you have any question or idea, please don't hesitate !
Work in progress: edge chamfer and rounding
![[Image: cube.png]](https://i.postimg.cc/65dGXpjx/cube.png)
![[Image: round.png]](https://i.postimg.cc/brmWDhLy/round.png)