Wed, 06/08/2016 - 12:27
Hi gentlemen, I am using OCC6.9.1 on WIN7 with VS2013
The CSF_IGESDefaults and CSF_STEPDefaults are defined in env.bat and in the documentation but I was not able to find them in source code so my question is:
Does these variables are still used ?
Thanks in advance.
Best regards
Jerome Monaco.
Wed, 06/08/2016 - 12:58
Hello Jerome,
Yes these variables are still used (as optional): if defined, they should point to directory containing relevant resource file ("IGES" or "STEP", correspondingly) defining parameters of shape processing in corresponding translator.
Andrey
Mon, 02/13/2023 - 20:04
Hello,
I've set CSF_STEPDefaults to point to the "STEP" resource file but when I query for the statics nothing seems to be set.
Here is one setting from the file:
FromSTEP.FixShape.CreateOpenSolidMode : 0
Is the name of the static "FromSTEP.FixShape.CreateOpenSolidModel"?
Thank you.
Blair Downie
Mon, 02/13/2023 - 22:32
Blair Downie wrote:
Which version of OCCT is used? Why would you want using a legacy approach with dedicated file defined by
CSF_STEPDefaults
? The name is"FromSTEP.FixShape.CreateOpenSolidMode"
(without 'l' at the end).Mon, 02/13/2023 - 23:18
We are using OCCT 7.6. The STEP Translator usage guide documentation implies that you specify which type of shape fixes you want to execute by setting the appropriate variables defined in the STEP resource file. I was not able to get the file mechanism to work.
What is the recommended practice now? Call the Shape Healing APIs directly after you've loaded the STEP file?
Thank you.
Tue, 02/14/2023 - 07:16
Within OCCT 7.7 you may use
Interface_Static
class to change these parameters. In older versions you have to work with files.