Open HGQ21102 opened 1 year ago
Are you looking for a description, or for examples? I think there are a couple of examples in the creoson documentation that comes with the software.
The JLTransform class represents the PTC J-Link "Transform3D" class; it contains an origin and x/y/z vectors, which are gotten from the Transform3D object; it also contains x/y/z rotations which are computed by creoson.
JLTransform is passed (optionally) as INPUT to the file.assemble function. It controls the component's orientation/position after assembly.
JLTransform is returned (optionally) as OUTPUT from the bom.get_paths() function. It's only returned if you set get_transforms to true on the call. It returns the transformation matrix from the assembly's origin to the component.
Adam Andrews
On Thu, Apr 6, 2023 at 9:28 AM HGQ21102 @.***> wrote:
“JLTransform”,How do you use it?
— Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/94, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPKPFOOV7NYNHTV2XK3BTW73AH5ANCNFSM6AAAAAAWVNIRGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Sorry, my English is not good. Can you give me an example?Current universal translation software
I got the same problem when I want to transform a component after assembling to an .asm.
I tried to write code to conduct this work but not succeed.
Could you please deliver a example for this function (file_assemble or file_get_transform)
Thank you! L
What I did:
request_data = { "sessionId": "~sessionId~", "command": "file", "function": "assemble", "data": { "file": "adl_1744_50x25_4a.prt", "into_asm": "a2.asm", "transform": [ 54, 23, 45 ],
}
}
and
RuntimeError: Invalid input data: [54, 23, 45]
“JLTransform”,How do you use it?