CFD Online Logo CFD Online URL
Home > Forums > Mesh Generation & Pre-Processing Software > ANSA

ANSA export

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2020, 03:57
Default ANSA export
New Member
Join Date: Dec 2019
Posts: 1
Rep Power: 0
rowz is on a distinguished road
hi everyone,

I am trying to export from ANSA several stl files at once but I can't .

Any ideas?


rowz is offline   Reply With Quote

Old   May 5, 2020, 04:57
Join Date: Mar 2010
Location: Cologne, Germany
Posts: 75
Rep Power: 16
rmaries is on a distinguished road
You can find the help for outputstl function below

You can make mode=visible to export only visible elements.
You need to iterate with the faces/pids to export separate stl files.

ansa.base.OutputStereoLithography(filename, mode, format, output_colors, output_exponent, unit_system, scale)  Named Arguments

Outputs a stereolithography file.

filename         string                The name of the output file. It must include the full path.
mode             string    (optional)  "all" or "model" or "visible".
format           string    (optional)  "ascii" or "binary".
output_colors    string    (optional)  "on" or "off". Specifies whether to output property colors.
output_exponent  string    (optional)  "on" or "off". Specifies whether to output in exponent format.
unit_system      object    (optional)  A UnitSystem object. Dictates the length unit to which the output 
                                       will be scaled from the existing ANSA length unit setting. 
                                       If left blank, no scaling occurs. 
scale            float     (optional)  A float number for scaling the mesh (scale factor).
                                       If both scale and unit_system arguments are defined, 
                                       the later will override the first.
rmaries is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 19:15
[] foam-extend-4.0 gcc errors & maybe paraFoam powerline332 OpenFOAM Installation 3 May 24, 2018 21:16
A CFX-POST error (ver 14.5.7) wangyflp88 CFX 2 July 22, 2017 00:17
Unable to install OpenFOAM 1.6-ext Maimouna OpenFOAM Installation 23 May 8, 2014 05:47
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08

All times are GMT -4. The time now is 22:35.