CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > ANSA

ANSA export

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2020, 03:57
Default ANSA export
  #1
New Member
 
rezika
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?

Regards,

rowz.
rowz is offline   Reply With Quote

Old   May 5, 2020, 04:57
Default
  #2
Member
 
Maries
Join Date: Mar 2010
Location: Cologne, Germany
Posts: 56
Rep Power: 12
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.

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

DESCRIPTION:
Outputs a stereolithography file.
Arguments

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

Reply

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
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 6 February 28, 2019 07:07
[foam-extend.org] 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 09:22.