MCG - Extrude by Element

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Search this Thread Display Modes
  3 Weeks Ago
MCG - Extrude by Element

Hi everyone,

iīm taking my first steps in MCG with modest success.
My goal is to create a simple window modifier which creates Window-Objects from simple Planes.
The final result should look like the one on the attached image. 

So the basic steps are:

-Inset by element
-Extrude
-Inset by polygon
-Extrude

Step 3+4 should only be performed on MatID 1. Itīs not really important right now, but something I would like to implement later.

I already figured out how to Inset by polygon & Extrude, but donīt know how i can Inset by element.
I appreciate any help.

Thanks!

br
 
  3 Weeks Ago
try treating each element as a 'mesh', then use OutlineMeshBorders, then merge them back and weld...

(yes, Outline by negative amt is.........Inset)

EDIT: ok, make that BevelPoly..since OutlineMeshBorders would shrink the mesh instead of keeping it anchored.

Why BevelPoly and BevelPoly2 ? dunno...you'll have to ask Vojtech Cada aka Swordslayer

(and beware you have to Weld after you've done your business...that's just MCG...still not suitable for modelling IMO)

Last edited by vusta : 3 Weeks Ago at 01:12 AM.
 
  3 Weeks Ago
Hey vusta,
thanks for the reply and help!
I havenīt found the time to test it yet, but I will give it a try later.
br
 
  3 Weeks Ago
If you use 2018, .tjust use Mesh Extrude Faces.
 
  3 Weeks Ago
Hi gandhics,

Yes, i use 2018. Thanks for the hint to Mesh Extrude Faces.
I could still use some help. How do i get all faceIDs related to each element?
Pretty sure I can use the Mesh Face Element IDs, but I couldnīt figure out how.

Thanks and br.
 
  3 Weeks Ago
Originally Posted by CGeist: Hi gandhics,

Yes, i use 2018. Thanks for the hint to Mesh Extrude Faces.
I could still use some help. How do i get all faceIDs related to each element?
Pretty sure I can use the Mesh Face Element IDs, but I couldnīt figure out how.

Thanks and br.
Mesh Face Element Ids will give you the array of element ID in order of faces.
For example, if the array is #(1, 1, 1, 3, 3, 2, 2. Face 0, 1, 2 makes the first element.

Feed the array into Group Indices by Value compound.
Then you will get a pair of element ID and face IDs which belongs to the elements.
 
  3 Weeks Ago
well just use MeshExtrudeAllPolygons

then dive inside MeshExtrudeAllPolygons....what does it say ? it tells you how to use MeshExtrudePolygons.....dive deeper again...what does it say ? it tells you how to use MeshExtrudeFaces......it's all there...
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright Đ2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:06 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.