Addon "Wire Shader for Cycles"

A little addon I made to experiment importation in Python.
It’s not the best solution to do a wire render, but it was a good excuse for learn to code :slight_smile:

http://edddy.perso.sfr.fr/script/wire_Cycles.zip

very cool, well done :slight_smile:

Thank you so much, this is a wonderful script!!!

Nice it works really good!

Good try! I like the node adding stuff. Only problem is it depends too much on edge length, but very fun to play with and works nicely in many cases… maybe having textures with different resolution/strokes would help? another bad idea: unwrap, export uv layout and reload as texture… (or just add a pure edges mesh)

cheers

This Is Just Cool Man.

THANKS!!!

I thought the exact same thing and I worked on it already :wink:
it has advantage to not require any texture and, with work on a copy, to preserve all previous settings

nice, try converting to poly curve and add bevel…

I see more in mesh only, I don’t see advantage to convert in curve to after convert in mesh
in absolute, add a layer in pure openGL is nicer, but not in my access

advantage is you can set width through bevel… but do it your way, sorry :stuck_out_tongue:

don’t be sorry, it’s a chat :wink:
but convert a mesh to a curve is not a simple function, to just add volume to the edge, it’s a huge work for insufficient result

ok edddy, but you can do it with operators, it is ugly but very fast and easy…
something like this will make a wire from selected meshes:


import bpy
bpy.ops.object.duplicate()
bpy.ops.object.join()
bpy.ops.object.mode_set(mode='EDIT')
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.delete(type='ONLY_FACE')
bpy.ops.object.mode_set()
bpy.ops.object.convert(target='CURVE')
bpy.context.object.data.resolution_u = 1
bpy.context.object.data.bevel_depth = 0.005
bpy.context.object.data.fill_mode = 'FULL'

add a material and you’re done, at least that’s the way I do it

ok, it’s a simple operator and it’s not a huge work, my bad :smiley:
I’ll do this way, thank you :wink:

Hi edddy,

I have this traceback with blender 2.72 on Vista 32b SSE2:
Traceback (most recent call last):
File “C:\Users\Patrick\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\wire_Cycles_init_.py”, line 130, in execute
wire(context)
File “C:\Users\Patrick\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\wire_Cycles_init_.py”, line 63, in wire
newnode = qnodes.new(wc.type_shad_face)
RuntimeError: Erreur: Type de n┼ôud BSDF_DIFFUSE non-d├®fini

Do you this problem, please.

Very very nice!

Hello, Is there any update of this add-on for 2.77 version?
Looks wonderful tools?

Hi ivaydesign,

in 2.77 you have a Wireframe Modifier (last Entry under Generate).

fixed, it’s not great as there’s other methods but fixed for fun.
https://github.com/meta-androcto/downloads/blob/master/wire_Cycles.zip
press the raw button to d/l

EDIT: in init line 25 change addons_extern to addons