> On Nov 13, 2016, at 5:32 PM, Daniel Roßberg <danielmrossb...@gmail.com> wrote:
> 
> 2016-11-13 22:26 GMT+01:00 Michal Hanus <mikeha...@seznam.cz>:
>> Hi Daniel,
>> 
>> Great hint! It works. I could not find the pscale command anywhere in the 
>> manuals or tutorials.
>> Are there any other similar functions for editing objects (correcting values 
>> for A, B, C, H, V etc. of primitives) that would work in the Archer's CLI?
> 
> Even pscale isn't implemented for every primitive yet.  See for the
> files starting with scale_ in src/libged.  There are ptranslate and
> protate commands (the p is for primitive) but they support only very
> few primitives (see the corresponding translate_ and rotate_ files in
> src/libged, rotate_arb_face is a command of its own).

We had started on a callback to standardize parameter editing for all 
primitives via the ft_params() callback.  The code for it already exists in a 
couple of places now (ptranslate and friends along with src/mged/edsol.c being 
the most comprehensive).

This is a good idea for a set of GCI task ideas.  If someone can set up a 
translation pattern (perhaps do one primitive documenting the steps), then that 
would make a great set of tasks.

> For a general solution see at the end of
> https://brlcad.org/wiki/Changing_the_properties_of_primitive_objects 
> <https://brlcad.org/wiki/Changing_the_properties_of_primitive_objects>
> :

Note the colon is not part of the intended URL if you got a page-not-found 
response.

Cheers!
Sean

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to