[solved] Set CoG to point XYZ

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
llll
Posts: 173
Joined: Fri Nov 12, 2021 1:56 am

Re: Set CoG to point XYZ

Post by llll »

edwilliams16 wrote: Fri Jul 29, 2022 6:36 pm So isn't this what you wanted - rotate the cone 20 degrees about a vertical axis through the attached point? If not, what are you trying to achieve?
It worked on the test object fine.
this video demonstrates issue ... https://youtu.be/KdaP-P2SIP8
Does it provide any clues?
Placement, & two different Vertexes have same X,Y coords, all falling outside the object.

Any further tests you can suggest? Is this related to bounding boxes?

Does this commit influence this behaviour?
This commit adds a "comp" (as in "compatible") keyword argument that -
when "True" (default is False) - produces a Placement that is interchangable with the one
that is generated from TopoShape.rotate().

rotate(center, axis, angle, comp)

EDIT: its just a failed recompute. :roll:
Post Reply