Message 1 of 1
How to set pivot point when using movefeat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys, I have made a body using revolve and then using the python API to manipulate it.
But it seems like the default pivot point is always at a corner of the bounding box rather than the center of gravity or the origin point. Is there a way to specify it?
I am using similar snippet as here:
https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-153E540B-6246-460C-8B6A-4C58165CEBAA
# Create a transform to do move vector = adsk.core.Vector3D.create(0.0, 10.0, 0.0) transform = adsk.core.Matrix3D.create() transform.translation = vector # Create a move feature moveFeats = features.moveFeatures moveFeatureInput = moveFeats.createInput(bodies, transform) moveFeats.add(moveFeatureInput)