[Smtk-developers] .step/.egis reader in SMTK -> VTK

David Thompson david.thompson at kitware.com
Mon Apr 3 09:40:42 EDT 2017


> As fas as I understand you wrote a .step .egis reader for SMTK.
> We will need to write one as a paraview plugin (or even to be added in VTK)
> 
> It looks like you are using cgma to read these files, however i can't find out how to convert to VTK after that.
> 
> Any advices apreciated :)

Hi Mathieu,

We use CGMA to read STEP/IGES files into SMTK (our internal format) and then convert that to a VTK multiblock dataset (one block per vertex/edge/face) in smtk/extension/vtk/source/vtkModelMultiBlockSource.{h,cxx} . You are welcome to use the code as is (i.e., create a ParaView plugin that links to smtkCore and vtkSMTKSourceExt) or adapt it to your needs as you like.

	David


More information about the Smtk-developers mailing list