2011/11/4 Pierre JUILLARD <pierre.juill...@gmail.com>

> Hi all,
>
> Thanks for your feedback, but I still feel lost :).
>
> *Denis*:
>
> > Same here in C++ with OCE, 3 resource files are not installed under
> UnitsAPI (CurrentUnits MDTVBaseUnits MDTVCurrentUnits, the former is needed
> in your test).
>
> I am not sure to nderstand, I can see that they seemed to be shipped with
> OCE as I could find them in master OCE branch:
> https://github.com/tpaviot/oce/tree/master/src/UnitsAPI
>
> I am not sure MDTVBaseUnits MDTVCurrentUnits are really needed.
> Their use is not really clear to me. MDTV means Matra Data Vision and
> allows seting up the 2 different units systems used in Matra company (is it
> still existing?).
> These kind of files could be written by OCE user using methds shipped in
> UnitsAPI and Units module.
> I guess that only having *CurrentUnits Lexi_Expr.dat & Units.dat* is
> enough.
>
> *Thomas*:
> From your mail, I understand that you encounter the same kind of error,
> but I don't know what you think. Do you think it is a bug of OCE or
> PythonOCC, or do I do something wrong?
>

Denis'patch fixes the issue. You actually don't need MDTVBaseUnits and
MTDVBaseCurrentUnit to be installed into your usr/UnitsAPI resource folder,
just CurrentUnits.

Note however that setting CASROOT is required, as well as
CSF_CurrentsUnitsUserDefault.

Thomas
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to