Wish: Move command with option ToOrigin

Hi…,

I have a wish for the move command, that it has an option ToOrigin, which moves the selection from its centroid to the cplane origin point (0,0,0).

Thanks

Michael
www.flexiCAD.com

Hey Michael,

I guess they would have to explicitly introduce the concept of the “center” of an object - such as the Gumball and BoxEdit use implicitly currently.

Otherwise this is pretty simple as a scripted command… Below are for both World and CPlane…

Cheers, --Mitch

MoveObjBBCtrToCP0.py (463 Bytes)

MoveObjBBCtrToW0.py (436 Bytes)

Hey Mitch,

thank you very much for your nice scripts.

Cheers

Michael
www.flexiCAD.com

on a semi-related note, you can use just 0 (zero) when manually entering coordinates to signify origin. it’s not necessary to type 0,0,0

Hi Jeff,

thank you and yes I know. Or w0, if you need world coordinates.

Take care

Michael
www.flexiCAD.com

1 Like