On Jan 25, 2014, at 10:01 AM, Tom Browder wrote: > The subject pretty much says it all. Can we script mged commands to > actually (and accurately) translate and rotate objects in the model > space?
The methods available in archer are a little different but in mged, you most certainly can script transformations in mged. You can use the sed and oed commands. If you're modifying a primitive, run "sed your_primitive" after drawing it, then "tra" or "rot" or "sca", and "accept" or "reject" when you are done. If you'd like to modify a combination or an object in a combination (an instance), you use the "oed" command. The oed command is a bit more complicated because it requires that you specify a keypoint, but there is detailed "Object Editing - the oed Command" tutorial that explains it all here: http://brlcad.org/wiki/Documentation Basically, it's "oed / myobject/and/some/path/to/primitive" if you want to move myobject or "oed /myobject/and/some/ other_object/and/path/to/primitive" if I wanted to just move some other_object within a combination. (note the space and slash placements) After selecting the oed path you you wish to edit, you again make your edit and apply/reject the change. Cheers! Sean ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Users mailing list brlcad-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-users