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


Groups > comp.lang.python > #94747

Re: Use python script to create a part for Abaqus

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:create': 0.09; 'subject:script': 0.09; 'python': 0.10; 'jan': 0.11; 'read.': 0.13; 'subject:python': 0.14; 'coordinates': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'tkinter.': 0.16; 'wrote:': 0.16; 'input': 0.18; 'all,': 0.20; 'am,': 0.23; '(or': 0.23; 'import': 0.24; 'header :In-Reply-To:1': 0.24; 'script': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'idea': 0.28; 'anyone': 0.32; 'file': 0.34; 'that,': 0.34; 'formats': 0.35; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'display': 0.37; 'received:org': 0.37; 'does': 0.39; 'easily': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'email addr:gmail.com': 0.62; 'export': 0.63; 'readers': 0.66; 'potentially': 0.67; 'centers': 0.72; 'square': 0.76; 'circles': 0.84; 'received:fios.verizon.net': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Use python script to create a part for Abaqus
Date Wed, 29 Jul 2015 13:59:53 -0400
References <ce42feb1-ba61-4247-8fe2-1dd8f6ceffe4@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-98-114-97-173.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
In-Reply-To <ce42feb1-ba61-4247-8fe2-1dd8f6ceffe4@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1077.1438192804.3674.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1438192804 news.xs4all.nl 2854 [2001:888:2000:d::a6]:56214
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3502
X-Received-Body-CRC 3682891713
Xref csiph.com comp.lang.python:94747

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web