Horn-Extrude (a real-time horn creation. V0.5 Now for 2.36)

http://www3.sympatico.ca/emilio.aguirre/hornextrude.blend

:expressionless: Sorry,

Emilio[/quote]

No problem … and thanks very much … I love to use this script, glad I can again :slight_smile:

Edit-> When I follow the steps to create the horn, I get the following error in the console window when I try to Grab Face:

Traceback (most recent call last):
File “<string>”, line 153, in bevent
AttributeError: no such Blender Text.

The SpecialCursor has been created (an empty) and one face of a cube has been selected using UV Face Select mode.

Any ideas?

http://www3.sympatico.ca/emilio.aguirre/hornextrude.blend

:expressionless: Sorry,

Emilio[/quote]

No problem … and thanks very much … I love to use this script, glad I can again :slight_smile:

Edit-> When I follow the steps to create the horn, I get the following error in the console window when I try to Grab Face:

Traceback (most recent call last):
File “<string>”, line 153, in bevent
AttributeError: no such Blender Text.

The SpecialCursor has been created (an empty) and one face of a cube has been selected using UV Face Select mode.

Any ideas?[/quote]

Yes, you have to open the gui_horn.py and the horn.py inside the Text Window, then select the gui_horn.py and press Alt-P. The error that you have appears when you ommit to open the horn.py inside the Text Window.
Try it and if the error persist, post another comment :slight_smile:

Load the python files here:
http://www3.sympatico.ca/emilio.aguirre/gui_horn.py
http://www3.sympatico.ca/emilio.aguirre/horn.py
Emilio

Emilio,

If We can extrude more than one face it will be verry verry nicer :wink:

Wow I’m deeply impressed. I didn’t know what is possible with python api.
It’s genial, super.
Every time I start a project in blender’s python api I soon reach the limits.
Thx for this greate tool.

gone… anyone have this ?

Version 0.5 here
[edit] removed, see below [/edit]

http://www3.sympatico.ca/emilio.aguirre/hornextrude.html

sweet! thankyou… Another question on the lines of this, Did you at one point make a script that lets a user draw linesw of connected vertices? I kinda recall you did it as a pre experiment for the horn extrude… Maybe not…

sweet! thankyou… Another question on the lines of this, Did you at one point make a script that lets a user draw linesw of connected vertices? I kinda recall you did it as a pre experiment for the horn extrude… Maybe not…[/quote]

Sorry %| but I have a Teflon Memory: nothing sticks for long periods.
I dont remember.

quality script Emilio, spot on. Now if only I could understand your code, :o

Emilio,

I know your very busy and that you have provided the code ‘as is’, and plan no further versions, but any chance of getting it to work with blender 2.40? :smiley: One problem is caused by the _m.transpose() function call in horn_gui.py, which causes old cornelius to mutate!

The main problem is that the BGL drawing doesn’t seem to work at all when I move the SpecialCursor even with a bog standard cube, any chance of a quick code freshen?