Skip to content

Reads geometries from .stp/.step files. The type of geometries are NURBS surfaces. Multiple patches and trimmed patches are recognized.

Notifications You must be signed in to change notification settings

MichaelLoibl/step_file_import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--------------------------------------------------------------------



TABLE OF CONTENTS

  1. TABLE OF CONTENTS
  2. CONTACT
  3. SCOPE OF THE IMPORT
  4. GET STARTED
  5. EXPORT OF .STEP FILES FROM CAD
    1. EXPORT WITH RHINO 7
  6. PROVIDED FUNCTIONS
  7. PROBLEMS WITH YOUR IMPORT



CONTACT

This code was developed to help our research at the Institut für Mechanik und Statik of the Universität der Bundeswehr München. The functionality of the code is of course at the moment limited because its purpose is to deal with geometries, we are currently interested in. However, it can be extended to cover a wider variety. In the case that your geometry cannot be imported, you can contact me under "[email protected]" and we can discuss whether I can provide an update.

Back to the top


SCOPE OF THE IMPORT

The import is written for multipatch trimmed NURBS surface geometries. It is used for the definition of trimmed patches in the context of the Isogeometric Analysis (IGA) which is a subgroup of FEM using NURBS as basis functions.

Back to the top


GET STARTED

The easiest way to get used to the code is to start with the script "test_step_import.m". Plotting functions are illustrating your import and help to check whether the import worked correctly. A set of really simple geometries is provided - they start with "geometry_". The import was also tested for more complex geometries. However, these files cannot be provided due to licensing reasons. In order to import a new geometry, you can simply change the jobname which defines the name of your .step file. You see automatically plots in the parametric and physical space. Thereby, you can easily check whether your import worked correctly. You can change the resolution of the plots:

resolution_param = 10;	% resolution of trimming curves in the parametric space
resolution_phys.surf = 2;	% resolution of surface in the physical space
resolution_phys.curv = 10;	%resolution of curve in the physical space

Back to the top


EXPORT OF .STEP FILES FROM CAD

The generation of .step files was performed and tested with the following CAD programs:

  • Rhino 7

Back to the top


EXPORT WITH RHINO 7

The following settings are selected throughout the export:

  • AP214AutomativeDesign format
  • parametric curves export (this is important for trimming because it is easier to handle the trimming curve embedded in the patch; the physical curve is exported anyway; the here documented import function only works if the parametric curve is part of the .step file)

Back to the top


PROVIDED FUNCTIONS

The important contribution is the "import_STEP.m" function in combination with the class definitions. The other functions are simply visualization tools to check whether the import worked properly. The functions are copied from another code and are not changed. Some of them are duplicates with only slightly changed inputs (this is not nice, but also nothing to care about in this context).

Back to the top


PROBLEMS WITH YOUR IMPORT

In case your geometry cannot be imported but is a NURBS surface, please contact me. I can try to extend the import function for your geometry.

Back to the top

About

Reads geometries from .stp/.step files. The type of geometries are NURBS surfaces. Multiple patches and trimmed patches are recognized.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages