STL File Import

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

STL File Import

zonky123
I can import a STL file into MATLAB PDE module but when I try to import the same model into the FEATool I keep getting the same Error

All of the input arguments must be of the same size and shape. Previous inputs had size ) in dimension 1. Input #3 has size 1.

Ant suggestions?
Reply | Threaded
Open this post in threaded view
|

Re: STL File Import

Precise Simulation
Administrator
Hard to say what could be the issue without your STL model file (attach it or put in on a shared file service if possible). First ensure that you are running the latest and up to date version which always is available from (currently v1.11.1 Build 19.10.289, you can find your version by selecting "About" from the "Help" menu:

https://github.com/precise-simulation/featool-multiphysics


IGES and STEP models are also recommended as they require less repair and boundary feature identification than STL models.


zonky123 wrote
I can import a STL file into MATLAB PDE module but when I try to import the same model into the FEATool I keep getting the same Error

All of the input arguments must be of the same size and shape. Previous inputs had size ) in dimension 1. Input #3 has size 1.

Ant suggestions?
Reply | Threaded
Open this post in threaded view
|

Re: STL File Import

zonky123
Thanks

Please see the attached file

On Mon, Oct 21, 2019 at 2:01 AM Precise Simulation [via FEATool Multiphysics Forum] <[hidden email]> wrote:
Hard to say what could be the issue without your STL model file (attach it or put in on a shared file service if possible). First ensure that you are running the latest and up to date version which always is available from (currently v1.11.1 Build 19.10.289, you can find your version by selecting "About" from the "Help" menu:

https://github.com/precise-simulation/featool-multiphysics


IGES and STEP models are also recommended as they require less repair and boundary feature identification than STL models.


zonky123 wrote
I can import a STL file into MATLAB PDE module but when I try to import the same model into the FEATool I keep getting the same Error

All of the input arguments must be of the same size and shape. Previous inputs had size ) in dimension 1. Input #3 has size 1.

Ant suggestions?



If you reply to this email, your message will be added to the discussion below:
http://forum.featool.com/STL-File-Import-tp36p38.html
To unsubscribe from STL File Import, click here.
NAML


--
Keith R. Moser

coil.stl (1M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: STL File Import

Precise Simulation
Administrator
I have not had any issues importing this in to FEATool, could you confirm that you have the latest version 1.11.1?

On another note, the mesh generator currently Gmsh seems is quite inefficient for geometries created from a lot of facets which this STL model has. It would be better to reduce the amount of facets, convert to IGES/STEP format, or alternatively one can build this kind of mesh programmatically/manually with for example the gridrevolve function

    grid = gridrevolve( circgrid(), 100, 10, 3, 2 );
    plotgrid(grid)

The grid variable can then be imported in to the GUI. One can also create a geometry from the grid, for example

    impexp_stl( 'test.stl', 'export', grid );
    geom = impexp_stl( 'test.stl', 'import' );
    figure, plotgeom(geom)

this has for example been done with this example using a similar coil geometry https://www.featool.com/model-showcase/06_multiphysics_01_resistive_heating1