[cgma-dev] Affine transform?
David Thompson
david.thompson at kitware.com
Mon Nov 24 05:41:17 CST 2014
Hi Paul,
> For reasons I don't remember, these transforms are found in GeometryQueryTool rather than GeometryModifyTool.
Ah, I see them now. Would it be useful to add convenience methods to GeometryModifyTool that expose translate/rotate/scale there, too?
Thanks,
David
>
>> On 11/22/2014 07:22 PM, David Thompson wrote:
>> Hi all,
>>
>> I do not see anything in the GeometryModifyTool for applying affine transforms to Body instances (or even more restrictive transforms like translations and rotations).
>>
>> At first I thought tweak_move() might perform translation, but I get crashes using OCC and also complaints if the vector is in the plane of a (planar) face.
>>
>> If this is supported by CGM can somebody point me to the right method?
>>
>> Thanks,
>> David
>
> --
> -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
> Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal: http://bit.ly/pphw-cal
> Professor, Engineering Physics. ~ http://cnerg.engr.wisc.edu
> Faculty Director, Advanced Computing Infrastructure
>
>
More information about the cgma-dev
mailing list