A
A
Alexander Petrov2018-06-25 20:07:41
3D
Alexander Petrov, 2018-06-25 20:07:41

Procedural generation of bodies of revolution of a technical nature in Blender. Is it possible to study at all?

Hello. I went to study wireframe modeling after solid and for creative purposes I need a generator of bodies of revolution in the form of all kinds of flanges, covers, screws, nuts, etc. In any CAD, the issue is solved through parameterization. In wireframe modeling with Boolean operations, there are clearly problems in this vein - the mesh quickly turns into topological horror.
Purely geometrically, I have only thought of trying to implement, for a start, the generator of the generatrix of the body of rotation. Construct a conditional rectangular area with a given ratio of diameter to length, where some closed shape will be generated from lines with an angle step of 45-90. The level of detail is also set by the minimum and maximum length of the line in the area.

Fig.1
5b311ed18149d070142879.png

Here I have a question how it can be implemented in Blender at least in a semi-automatic mode with the possibility of further automation of the accumulated work. As for programming, I have Matlab in my mind, a little Lisp (with reference to ACAD), VBA. The rest is in a deplorable state and is not very suitable for working with 3D geometry, but I should understand the ready-made examples.
Further steeper: on free surfaces that have a sufficiently large plane, it is necessary to place arrays of all sorts of near-random elements such as splines, holes, knurling at different angles. There are decent options, but only a dozen typical elements are needed in a different scale, quantity and position relative to the part.
Fig.2
5b311d8d0c684078969697.png

This is what I generally still do not understand how to implement in the framework. I do it manually through Mirror and/or Array modifiers.
Well, actually, maybe I'm in vain reinventing the wheel and such generators have long been written for embedding anywhere? Direct where to look on this issue, if at all there is where to look.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pavlyuk, 2018-06-25
@Avis-HQ

Python is perfectly integrated into Blender, you can try to write on it.
Plus, you can try the parametric generator on the Cricket nodes , installed as a plug-in for Blender.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question