Batch converting with unit option
All  1-3  4-5

Previous
Next
 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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  manuel (RBMANUEL)
8127.5 In reply to 8127.4 
I'll forward it to our programmer at work.


Thank you very much

Manuel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4-5