-1
$\begingroup$

in blender 2.8 you can go mesh > single vertext, but in 2.81 there is no single vertext in the mesh menu. why they have to remove it? how to add single vertext in 2.81? do i have to install 2.8 and uninstall 2.81?

I found the following as similar question but ctrl + mouse click does nothing in edit mode.

In Edit mode I can insert Vertices with Ctrl-Click. The new Vertex will be linked to the previously selected one by an Edge. Great.

But how do I insert the FIRST one ? I cannot enter Edit mode with an empty scene, and Ctrl-Click doesn't work in Object mode. What's the trick to have my first Vertex on scene in Edit mode ?

$\endgroup$
  • $\begingroup$ Single vertex at world origin: Object mode, Shft+A >add Plane. Tab into edit mode, Alt M > Merge at Center. $\endgroup$ – 3fingeredfrog Dec 16 '19 at 6:17
3
$\begingroup$

I don't think the option was ever there without an add-on. If you go to the Preferences(F4->p), Add-ons section and search for an add-on called Extra Objects and enable it, you will have your Single Vertex menu.

enter image description here

As you can see it in the picture, I prefer to have it straight in the Mesh menu instead of another submenu like it comes with the add-on. If you wanted to have it like that, save this to a text file(use Blender's text editor) with a .py extension and install this as an add-on:

bl_info = {
    "name": "Add Vertex",
    "author": "",
    "version": (1, 0),
    "blender": (2, 80, 0),
    "location": "View3D > Add > Mesh > Add Vertex",
    "description": "Add Vertex",
    "warning": "",
    "wiki_url": "",
    "category": "Add Vertex",
}


import bpy
from bpy.types import Operator
from bpy_extras.object_utils import AddObjectHelper, object_data_add
from mathutils import Vector


def add_vertex(self, context):
    verts = [
        Vector((0,0,0)),
    ]
    edges = []
    faces = []
    mesh = bpy.data.meshes.new(name="Vertex")
    mesh.from_pydata(verts, edges, faces)
    object_data_add(context, mesh, operator=self)


class MESH_OT_add_vertex(Operator, AddObjectHelper):
    """Add Vertex"""
    bl_idname = "mesh.add_vertex"
    bl_label = "Add Vertex"
    bl_options = {'REGISTER', 'UNDO'}


    def execute(self, context):
        add_vertex(self, context)
        return {'FINISHED'}


def add_object_button(self, context):
    self.layout.operator(
        MESH_OT_add_vertex.bl_idname,
        text="Vertex",
        icon='DECORATE')


def register():
    bpy.utils.register_class(MESH_OT_add_vertex)
    bpy.types.VIEW3D_MT_mesh_add.prepend(add_object_button)


def unregister():
    bpy.utils.unregister_class(MESH_OT_add_vertex)
    bpy.types.VIEW3D_MT_mesh_add.remove(add_object_button)


if __name__ == "__main__":
    register()
$\endgroup$
  • $\begingroup$ Suggest one small change MESH_OT_add_vertex $\endgroup$ – batFINGER Dec 16 '19 at 7:09
  • $\begingroup$ Makes sense, but that's copied from addon_add_object.py from the templates menu in the Text Editor :D This should also be suggested to the devs. $\endgroup$ – Martynas Žiemys Dec 16 '19 at 7:49

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.