[Bf-committers] New Angle Code

Campbell Barton cbarton at metavr.com
Fri Mar 11 09:21:29 CET 2005


To make edge length usefull we should have it draw the length for edhes 
with 1 vert selected. then extruding a poly line with 1 very will show 
usefull info- ATM you need to select both and scale which is a pain.
There is some code that needs to be changed from e->v1Sel && e->v2Sel 
... to || (or), that will fix it.

- Cam

Ted Schundler wrote:

>Maybe what's drawn would depend on the selection mode? Angles between
>faces could be drawn in the middle of an edge when in face mode (where
>the length of the edge is now). And angles between edges shown in
>vertex and edge mode. (If I understand the issue right)
>
>Also, in vertex mode, it would be nice if it showed all the angles and
>lengths for the edges meeting at that vertex when just one is
>selected, That would make using it during modeling more valuable I
>think. Then you could move just one vertex as need be and see what you
>are doing.
>
>Anyways, just some ideas. 
>
>Ted
>
>
>On Fri, 11 Mar 2005 15:58:58 +1100, Campbell Barton <cbarton at metavr.com> wrote:
>  
>
>>Hi, I coded this teac draw as one of my first steps into C / Blender
>>code- edge to edge based angle drawing would be cool, but mabe as a 4th
>>option?
>>
>>It would be realy nice when drawing a poly line to see all the angles
>>before any faces were drawn.
>>- Cam
>>
>>Austin Benesh wrote:
>>
>>    
>>
>>>Hey all,
>>>
>>>I'm not trying to prove anyone wrong, but I have figured out a way to
>>>calculate angles between edges that is completely independent from
>>>faces. This also allows for all angles of edges that share the same
>>>vertex to be calculated. This is a new, more independent style of
>>>angle calculation. The only problem is I can't get down exactly where
>>>to place the actual number, but that's a minor detail. I feel this
>>>should replace the old code, seeing as how it is much more versatile.
>>>
>>>-- Austin
>>>
>>>------------------------------------------------------------------------
>>>
>>>Index: drawobject.c
>>>      
>>>
>_______________________________________________
>Bf-committers mailing list
>Bf-committers at projects.blender.org
>http://projects.blender.org/mailman/listinfo/bf-committers
>
>
>  
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-committers mailing list