andyp123 / blender_io_mesh_qmap

Quake .map to Blender importer
GNU General Public License v3.0
36 stars 6 forks source link

Feature: Add a mesh to brush function #5

Open andyp123 opened 5 years ago

andyp123 commented 5 years ago

Add a function that runs the convex operation on selected objects and spits out brush definitions in text form that can be pasted into Trenchbroom etc. to make modelling certain things a little easier.

JDragan commented 5 years ago

I started making script like this: convexify() :P But it was long time ago iirc it was for Blender 2.6x or 2.7x, ill try to find it and post it. You know that if you can split mesh into convex object, you don't need level editor :)

andyp123 commented 5 years ago

Well, Blender has a built-in convex function - it's what I use after parsing planes into vertices in this script. A function that turns convex objects into .map format brush data that can be pasted into a level editor would be quite nice, but I don't want to spend too much time making a full .map exporter.