Blender 
Python 
 Shadows and 
structure "iron wire" (wire frame) 

Index beginning 
Preceding Script Python 
Script python:subsurf According to 

To test the python :: french & english version . 8.8j (updated  the 03/10/2004) 


 

  1. Some precise details 
  2. Extrusion: 
    1. Along normal or with  thickness reduction 
    2. negative 
  3. Split, form explosion  in its various facets 
  4. Matrix Extrusion 
    1. Effect of "segments" 
    2. A number of divisions 
    3. Operation limited to the selected faces 
    4. Rotation 
    5. Graphic Interface 
    6. examples of possible  forms 
    7. Local axes 
  5. Wrap 
  6. Hollow 
  7. Bevel / chamfer 
  8. Save the parameters in a file text 
  9. Last modifications 
  10. use: picture on the Net 

Some precise details for the neophytes which would never have had the occasion to work with a tool of modeling. 

At the origin of this script, there is the need to show solid drop shadows of the wireframe  structures . It is not possible to make them appear in an image when one chooses the Wire material option. Thus, basically, Tesselate  transforms  the mesh so that the light is intercepted by additional faces as narrow and as close as to the original wire  form .

To obtain this effect, it was necessary to empty  faces and to fill it again with several others  facets (what justifies the name of script, english tessel referring to the mosaic, but it is also the name of a tool which produced divisions sharp-edged in 3DS 2.0 or 3.0). A facet for each edge, plus an optionnal internal facet. 

Once these facets are recreated, it is possible to handle them in several different manners to obtain various results : 
 


-- EXTRUSION 
-- THE CHAMFER 
-- the ENVELOPE 
-- EFFECTS FURROW 

It is even possible to repeat the operations in a recursive way to obtain forms of extreme complexities 

What it is necessary to know moreover: 

  1. Tesselate operates on the whole of the form unless using the option " Face select
  2. the axes are given according to the plan of the facet: XY corresponding to the plan itself and Z with the height compared to this plan. 
  3. It is possible to choose the thickness of what one wants to leave like facets visible while varying cursor XY 
  4. To shift in height, towards the exterior of the form, compared to the position of the facet of origin with cursor Z. This shift usually bears the name of Extrusion
  5. The button Neg Z reverses the displacement of Extrusion. 


That amounts creating an internal facet which can be opened or closed. The distance from this new facet in the plan of origin can. 
Maybe towards outside while pressing on the button Thickness Z

Maybe towards the interior by supporting the button Neg Z

Finally it is possible of désarticuler ( splitter ) all the facets in autonomous facets which one can draw aside and separate by using the Smoot option from small Editmode F9: 

Stamp 

an option matrix makes it possible to divide extrusion (equivalent of the function extrudes in blender) into several segments or fragments which one can direct and increase with volonter towards axes X, y, Z centered on the object or the face from where they result. 

The number of division is controllé by the Div button

In version 8.6 , the segments ( in fact, these segments are not visible which if one passes in subdivision of surface, as it is about an additional face at the interior of the volume of the object that gives the impression of a throttling ) were underlined, in the version following, he is possible to decontaminate the "boursoufflé" aspect which this throttling gave. See image below. 

Select Faces 

The operations can be limited to a certain number of faces which are selectionnées while passing by the FaceSelect mode (the key F, it is the interface of creation of co-ordinates UV). 

Specified on the Faceselect mode : For having to select the faces it is imperatively necessary to leave the mode because it is not possible to work in python under these conditions. 

Rotation 

Interface graphic 

Various possibilities of forms 

Illustration of the concept of axis/1 

Illustration of the concept of axis/2 















Illustration of the concept of axis/3-4-5 

Version 8.Ã¥: 
Hollow 

Wrap 
Chamfer 

Absolute/relative mesh animation 

E nregistrer parameters 



 
 
 



...
##
## Changer the line following to indicate the repertoire 
## of safeguard of the parameters 
##
Tessel_Path="g:/tmp/"
...

Enregistrment of the parameters should allow to make a data base of forms complex which will occupy little place. 

Last modifications 

- v 8.8.f: (1) improvement: the option Split mesh preserves materials and UV 

- v 8.8.i: (1) improvement: the materials and the reinforcements are not any more one problem 
(2) addition of undo/redo multiple undo/redo, 
(3) improvement: save the data file daN sle current directory of the last fichie rblender recorded 
(4) One second option of chance for dépalcement in xy 

- v 8.8.j: (1) also functions in Edict simulated Mode 

Bonds 


Preceding Script Python 
Script python:subsurf According to 
To the top of page 

The questions concerning this page can be put on: 
news://news.zoo-logique.org/3D.Blender