Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94725 > unrolled thread

Use python script to create a part for Abaqus

Started bysaber.chelaghma@gmail.com
First post2015-07-29 05:12 -0700
Last post2015-07-29 13:59 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Use python script to create a part for Abaqus saber.chelaghma@gmail.com - 2015-07-29 05:12 -0700
    Re: Use python script to create a part for Abaqus Terry Reedy <tjreedy@udel.edu> - 2015-07-29 13:59 -0400

#94725 — Use python script to create a part for Abaqus

Fromsaber.chelaghma@gmail.com
Date2015-07-29 05:12 -0700
SubjectUse python script to create a part for Abaqus
Message-ID<ce42feb1-ba61-4247-8fe2-1dd8f6ceffe4@googlegroups.com>
Hi all,
I want to create a part in 2D composed by:

-A square
-Inside the square there is a lot of circles

I have a input file .dat where we can find the coordinates of the circles' centers and their radius.

I want to create this part using a python script and import it in Abaqus/CAE.

Does anyone have an idea (or examples) on how I can do this ?

Regards,

Saber

[toc] | [next] | [standalone]


#94747

FromTerry Reedy <tjreedy@udel.edu>
Date2015-07-29 13:59 -0400
Message-ID<mailman.1077.1438192804.3674.python-list@python.org>
In reply to#94725
On 7/29/2015 8:12 AM, saber.chelaghma@gmail.com wrote:
> Hi all, I want to create a part in 2D composed by:
>
> -A square -Inside the square there is a lot of circles
>
> I have a input file .dat where we can find the coordinates of the
> circles' centers and their radius.

You can easily display a square with circles using tkinter.  However, it 
can only export a postscript file that not all postscript readers can read.

> I want to create this part using a python script and import it in
> Abaqus/CAE. Does anyone have an idea (or examples) on how I can do this ?

What input file formats does Abaqus/CAE recognize?  If you know that, 
you can potentially write a file in the proper format.

-- 
Terry Jan Reedy

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web