Forum archiveIssue archiveOther usage issues

Archived discussion

boundary conditions / material parameters from STEP files

Other usage issuesWed, 01/05/2005 - 11:391 reply

Browse this forum
QuestionAuthor

hi!

is it possible to read in boundary conditions or material parameters of parts of models contained in STEP files (for FEM). i think the STEP standard supports these kind of things. is OCC capable of supplying that data?

thx
robert

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Hello Robert,
my guess is that OCC would read those informations if they are in the step file. You might want to try this simple test just to see if a step entity exist (I know they have package StepFEA and StepElement that have FEM stuff):

STEPControl_Controller::Init();
STEPControl_Reader aReader;
IFSelect_ReturnStatus stat=aReader.ReadFile("femFile.stp");
Handle_StepData_StepModel aStepModel=aReader.StepModel();
for (Standard_Integer i=1; i<=aStepModel->NbEntities(); i++) {
std::cout << i<<"- NAME:"<Entity(i)->DynamicType()->Name()<