GithubHelp home page GithubHelp logo

randomesh's Introduction

RandoMesh

v0.1.1

A Blender addon to add randomized geometry to any mesh. Supports Blender 2.80.
To install, download the zip file and install as an addon in the Blender preferences panel.

RandoMesh 0.1.1 UI

RandoMesh works by taking your geometry and adding random subdivisions to it. It was created to start learning Python in Blender and automate some of my workflow, so expect bugs. Make sure to always save your work before using this addon!

I've found the best results occur with meshes under 5000 polygons. Lots of iterations can really slow things down, so beware. Opening blender from a terminal will give you detailed output of each step of the process.

Example (Subdivision smoothing set to 1.0)

RandoMesh 0.1.0  Result

Processing Log (Example terminal output):

Iterations: 5
--------
Iteration #1: 0.226s	G:12 | S:1 | Extrude: -0.0009	P:T	T:F
Iteration #2: 0.507s	G:6  | S:2 | Extrude: -0.0007	P:F	T:F
Iteration #3: 1.453s	G:7  | S:3 | Extrude: -0.0006	P:T	T:F
Iteration #4: 1.738s	G:7  | S:3 | Extrude: 0.0007	P:T	T:F
Iteration #5: 1.671s	G:7  | S:3 | Extrude: 0.0007	P:F	T:F

Decimation: 1.4232s	Ratio: 0.29
Smoothing: 1.7921s	Iterations: 7
Done! (10.0s total)

License: GPL v3

Changelog

0.1.1:

  • Added option to adjust subdivision smoothing factor for all iterations
  • Github zip install now works

0.1.0:

  • Initial Release

Usage Tutorial

Randomesh 0.1.1 Tutorial

randomesh's People

Contributors

jenskrumsieck avatar mantissa- avatar neverconvex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

randomesh's Issues

Got an error


unknown1233

Got this error when pressing destroy mesh. Noticed it was already a problem and supposed to be fixed, but yeah idk.

While using RandoMesh getting the Python error

Error: Python: Traceback (most recent call last):
File "C:\Users\Nithin Ramesh\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RandoMesh.py", line 313, in execute
randomesh(rmp.iterations)
File "C:\Users\Nithin Ramesh\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RandoMesh.py", line 222, in randomesh
rgs(0.15, 0, grow)
File "C:\Users\Nithin Ramesh\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RandoMesh.py", line 187, in rgs
rsl(pct)
File "C:\Users\Nithin Ramesh\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RandoMesh.py", line 184, in rsl
bpy.ops.mesh.select_random(percent=pct, seed=randint(1,9999))
File "E:\steam\steamapps\common\Blender\2.93\scripts\modules\bpy\ops.py", line 132, in call
ret = _op_call(self.idname_py(), None, kw)
TypeError: Converting py args to operator properties: : keyword "percent" unrecognized

location: :-1

Humble Feature request: Texture to geometry

Hi Mantissa, Hope you are doing well.

This is a great addon.
Any chance this is possible in Blender?

https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/Maya-Modeling/files/GUID-79763ED5-E7BD-408B-937B-92743EDDF57A-htm.html

With an id map texture, you can create a topology with edge boundaries around the colors specified in the maps. If the texture is tiled, the topology is created on the geo as it was tiled with the topology pattern being the same for each location of color.

I love your work. I am not sure why Blender doesn't have it. I have looked at Mesh lab but I don't think it is possible. I have also looked at inkscape, importing svg in Blender but that might be problematic if the mesh isn't flat.

This makes the creation of patterns on complex meshes simpler and straight forward. I am still wondering if triplanar mapping the texture would work before converting the texture to geometry.

I consider it very useful and wanted to humbly ask if it could be added to RandoMesh or a new addon if you feel that would be more appropriate.

Also thank you so much for sharing your tools with us.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.