pitrois33
New member
- Aug 25, 2014
- 1
Good morning everyone,
I am required to do a script whih genrates a specific geometry on Abaqus.
To do that I firstly did the geometry on Abaqus and recorded it by using the macro tool.
So I was able to put into order the script.
Then I defined the necessary parameters for having an isometric constrained sketch. So with the a list of tuples and the getInputs tools the user would be able to generate a geometry by specifying the values he wants to for it.
Each of the coordinates are covered, the matter is the script can't be executed on Abaqus as there is the Error "invalid syntax" dealing with following line:
s1 = mdb.models['Model-1'].ConstrainedSketch(name='__profile__', sheetSize=130.93, gridSpacing=3.27, transform=t)
It seems I have to define pricisely the sheetSize and the gridSpacing according to the geometry parameters. I tried to use them to define a window with enough space for containing the geometry, but it did not work and Abaqus documentation does not seem to describe this kind of issue, for what I read...
Any idea would be a start to the pursuit of this work and I would be greatful to you,
Thank you !
pitrois33
I am required to do a script whih genrates a specific geometry on Abaqus.
To do that I firstly did the geometry on Abaqus and recorded it by using the macro tool.
So I was able to put into order the script.
Then I defined the necessary parameters for having an isometric constrained sketch. So with the a list of tuples and the getInputs tools the user would be able to generate a geometry by specifying the values he wants to for it.
Each of the coordinates are covered, the matter is the script can't be executed on Abaqus as there is the Error "invalid syntax" dealing with following line:
s1 = mdb.models['Model-1'].ConstrainedSketch(name='__profile__', sheetSize=130.93, gridSpacing=3.27, transform=t)
It seems I have to define pricisely the sheetSize and the gridSpacing according to the geometry parameters. I tried to use them to define a window with enough space for containing the geometry, but it did not work and Abaqus documentation does not seem to describe this kind of issue, for what I read...
Any idea would be a start to the pursuit of this work and I would be greatful to you,
Thank you !
pitrois33