Batch converting with unit option

 From:  Michael Gibson
8127.4 In reply to 8127.3 
Hi Manuel,

re:
> I use the MaxLength and MinLength options in the tessellation engine and the
> results seem to be dependent on the scene unit.

Yes that will be an additional complication, but it should still be solvable. I guess you mean you want to apply MaxLength and MinLength always at some specific value in centimeters. In order to do this you will need to have your script look at the current unit system and apply a scale factor to your MaxLength-in-cm value to convert it into the equivalent MaxLength-in-current-units value, and then that's what you set for the meshing parameters.

So note that the scale factor for this part will be cm to current model units, it will be the reciprocal of the one for the obj scale factor which you want to be current model units to cm.


> As far as i understand the obj scale factor won't help me in this case.

Correct, the obj scale factor only helps with transforming the final output. But it should be possible to use the method described above to handle this other problem.

- Michael