[Bf-committers] clarification on screw_mesh

Ton Roosendaal ton at blender.org
Mon Apr 25 13:54:56 CEST 2005


OK... diving really deep back in past!

The screw tool (and spin, extrude...) use the 'current view' to define  
the axis of rotation/motion. That's why such tools cannot correctly be  
a button in a Buttons Window when there are more 3d windows open. It  
needs a single 3d window as reference.

When I coded this screw, it was an exact copy of how Sculpt4d did it  
(Amiga days!). It defaulted using the Z axis for rotation... so only  
looks OK when you use it frontview. Not that its required, I added this  
warning as reminder only.

The implementation of 'Screw' really is 80-ies level, we could do that  
10 times better now. For example using widget-helpers (have to make  
that an API once), and/or allowing some kind of procedural method to  
edit the result more interactive. (Same for 'spin', also for 'warp').


On 20 Apr, 2005, at 6:29, Matt Ebb wrote:

> Hi,
> Does anyone know what the purpose of checking for front view in  
> screw_mesh() is? (~line 740, mesh_tools.c) The code around it doesn't  
> seem to reference the view at all, and I commented the check out and  
> it seems to work fine in any view. So is this perhaps an unnecessary  
> relic from the past? Or am I missing something?
> Cheers
> Matt
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
Ton Roosendaal  Blender Foundation ton at blender.org  

More information about the Bf-committers mailing list