Sketches are widely used in Abaqus during the preprocess of the geometry of our FE models: to create parts (extrusion, revolution, sweeping…), to make partitions and cuts, etc. Therefore, to take advantage of the automation capabilities of Abaqus by means of Python scripts, we need to know how to generate these sketches using Python commands.
This is the beginning of a series of posts dedicated to the creation, edition and manipulation of sketches using Abaqus scripting.
1. Getting started with sketches in Abaqus Scripting
In the following video we will start by creating some basic geometrical features in a sketch and later we will construct the parametric curve (spiral) shown in the image below, through a Python script.
This sort of geometry would be unfeasible to make by hand in Abaqus/CAE, probably we would need to draw it somewhere else and import it. But, thanks to Python scripts, we can directly create it right into Abaqus!
Download the script to generate the sketch of the spiral shown in the video. And of course, if you have any question leave it in the comments section below.
You can also get started in Abaqus/Scripting with Python going to this post to learn how to create your own scripts from scratch.
I hope that you find these tips useful!