From: Arthur S. <aj...@ix...> - 2001-10-14 23:13:13
|
My particular problem is a different situation - the long arrow (versus the short arrow). In this case, if the length is more than 50 times the shaftwidth, there is automatic rescaling - the shaft thickens. You can also see this phenom in the crossproduct demo. It is not clear exactly how the rescaling works. It is clear that in some of my constructions, its not quite what I want. My issue is the lack of control of the specifics. The issue, since my app is dynamic, is that the rescaling kicks in suddenly and is somewhat jarring visually. Why 50 times - when 25 or 100 might work much better in a particular situation. Or none, if that happens to work in a particular instance. The default behavior is probably reasonable. The inability to override the defaults in a meaningful way, is frustrating. Wondering out loud if Python2.2 will allow me to sub-class the arrow and get closer to what I want. Also wishing I had a better handle on Python extension stuff in C. Wondering out loud if giving the configure the ability to set the min/max settings from Python is a big or little thing. Art ----- Original Message ----- From: "Bruce Sherwood" <ba...@an...> To: <vis...@li...> Sent: Sunday, October 14, 2001 6:09 PM Subject: Re: [Visualpython-users] arrow shaftwidth question > I realize that it is difficult to express graphics in words, but can you > say more about your needs, and how additional attributes of the arrow > object might meet them? > > I'll try to express graphics in words about the current situation. If the > arrow is so short that the head length is a large fraction of the arrow > length (equal to or greater than half, currently), the whole arrow, shaft > width and head, are shrunk to retain the shape of an arrow (rather than > turning into a cone). > > Bruce Sherwood > > --On Sunday, October 14, 2001 14:36 -0400 Arthur Siegel <aj...@ix...> > wrote: > > > My solution at this point has been to alter the "min" settings in > > the arrow C code to something that works better for me, and > > recompile. > > > > My wish is either to be able to set the min/max settings from > > Python, or to allow some override of the min/max behavior. > > As it stands writing to shaftwidth does not seem to take, once > > the min/max conditions have set in. > > > > Art > > > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |