0
$\begingroup$

I'm trying to write a small script that helps me automate the creation of walls and any other wall-like segment in Blender. I wanted to use a profile curve or mesh as a base and then extrude it by X amount, adding edge loops if necessary. I find it really hard to explain what exactly I'm looking for, so I found some pictures online:

https://us.v-cdn.net/5021068/uploads/editor/sh/qkit5a52k0dx.gif enter image description here https://static.schoolofmotion.com/dfdbbe22-cebf-41c4-898d-177e86f200ad/extrude_object_hierarchical.gif enter image description here How can I select a curve, or profile mesh, and then extrude it via Python?

$\endgroup$
6
  • $\begingroup$ Why not use the bevel property of a curve? $\endgroup$ – Leander Jan 2 '20 at 23:13
  • $\begingroup$ I can't generate the edge loops that way. $\endgroup$ – vinnylinux Jan 2 '20 at 23:20
  • $\begingroup$ Why not. Make the Curve, make the bevel curve, set the bevel, convert to a mesh? $\endgroup$ – Leander Jan 2 '20 at 23:20
  • $\begingroup$ Here's what happens: i.imgur.com/o7n77Tg.png There's no way to add vertical edge loops, it just becomes a huge strip $\endgroup$ – vinnylinux Jan 2 '20 at 23:37
  • $\begingroup$ Bevel curve docs.blender.org/manual/en/latest/modeling/curves/properties/… $\endgroup$ – Leander Jan 2 '20 at 23:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.