Questions tagged [coordinates]

Blender represents locations in a scene by their coordinates. The coordinates of a location consist of three numbers that define its distance and direction from a fixed origin.

Filter by
Sorted by
Tagged with
-1
votes
0answers
32 views

Extrat coordinate point of an object [duplicate]

how do I extract the coordinates(location) of the object in object mode with the help of python?
2
votes
2answers
57 views

How to set object at a specific depth from the camera, at a certain pixel

I want to set an object at a certain distance (or depth) relative to the camera; and also at a particular pixel. Example: I set up a camera at a random position in blender. I want an 1280x720 image. ...
1
vote
1answer
30 views

Why is my rotation method sometimes incorrect for parented objects

I wrote Python's function to rotate a object 'o' direction, step by step, to 'directionW' direction. When the o has no parent, the function works great. But, when the o has one or more parent, ...
0
votes
0answers
15 views

How to get direction vector in term of image coordinate for rendered images?

I am rendering images of eye for different look at points. I have look-at vector(direction) that i calculate inside blender from the center of the eye object to the look-at point. Since I need to ...
1
vote
0answers
32 views

Adding a plane given 4 vertices in a transformed mesh

Given a mesh (i.e. plane), I have assigned 4 vertices (selected in the picture) to a vertex group. Using the Python API, this mesh is moved and partly rotated by the bones. Now I want add a new (...
0
votes
0answers
15 views

Object coords not updated when exporting/importing

I'm new to Blender and have a face model with scale of 1. Exported the blender model as STL file which matches the Blender model. Exported the coordinates and plotted them in Python which measures as ...
1
vote
1answer
32 views

How to Get Object's Coordinates to Display as 0,0,0 when Parented, and Update Transform Values as if Parent was at World Space Origin?

When child object transforms are zeroed out, I want the child object to return to the current world space location of its parent, and report 0,0,0 in the child's location transform fields. In addition,...
0
votes
1answer
39 views

Empties are not transforming

Hi, I was following this tutorial https://www.youtube.com/watch?v=K02hlKyoWNI&t=495s for camera to path. There was a shorcut Alt+G to centre and object. Since I did the same there was some ...
2
votes
1answer
26 views

Convert Sphere UV Coordinates to Object Coordinates

I am trying to procedurally flatten out roughly one half of a sphere by using displacement. This would be easy to do by using Object or Texture Coordinates, but since I need these to be preserved for ...
1
vote
1answer
21 views

How do I project a texture onto an object on a single axis instead of it wrapping around the object?

I'm trying to get a texture to work along one axis but distort along another, I know this sound weird but I'm trying to emulate a corrugated card effect. At the moment I have your standard node setup: ...
1
vote
1answer
10 views

Is there a Unity coordinate system export option?

I have created an animal-skull-like mesh in Blender. In Blender, forward is negative Y. This is what it looks like in Blender: And this is what it looks like when I import the .blend file in Unity: ...
0
votes
1answer
18 views

Can anyone explain to me what the advantage is of the current Child Parent location is?

Almost in every other apllication that uses a coordinate system with a world origin, the basic principle of a child parent relationship is: the parent becomes the child world origin. In blender when ...
1
vote
1answer
28 views

Shader nodes: ignore scaling, keep rotation

I've successfully built a procedural wood texture, but I'm having problems with coordinate spaces. By default, textures seem to follow the UV coordinates of the geometry. This is obviously useless; ...
0
votes
3answers
27 views

Change shader saturation gradually

I've stumbled upon a problem while working on a facade shader. I am pretty sure the solution is quite simple but I just cannot work it out myself. I would like to be able to control the saturation of ...
0
votes
0answers
13 views

Rotate a part in keyframe

I need some help in Blender 2.8. I am beginner on this program. I want to rotate the part as you can see in the picture. I insert the empty cube and transform the part into the empty cube and am ...
0
votes
2answers
65 views

How to get Z-distance (not depth) from camera to object for every pixel in the frame?

I am currently doing a computer vision task and got stuck on the following problem. I need ground truth values for my sequence. I have a nice sequence where the camera moves trough my scene and ...
0
votes
1answer
24 views

my reference photo has a weird rotation

I am completely new to blender. I am following Blender Guru's instruction too create a 3d coffee mag. However, when I add a reference photo, it has been rotated automatically. I am pretty sure that I ...
0
votes
0answers
19 views

How to get world space coordinate of a image point?

I want to know how to get a 2D point’s coordinate in image editor or render editor in Python? And how to convert the 2D coordinate to 3D model’s coordinate in Python? Thanks.
0
votes
0answers
44 views

How to get 3D point coordinate in world space via 2D image in Python?

I have a 2d image of a 3D model in the image editor, and I have the camera's intrinsic matrix and extrinsic matrix. Now I want to know the 3D model's position in the world space so that it can match ...
1
vote
3answers
103 views

How to read excel file and use as coordinates in python code? [duplicate]

Currently this is the excel file: How do I use python to import the file and get it to read it so that it effectively reads it as: x, y, z, l, m, n, p, q, r = 5000, 300, 2700, 0.2, -1, 0.1, 0, 0, 0 ...
0
votes
0answers
29 views

Some vertices in my mesh seem infinitely far away

Some vertices in the mesh go outside of the viewport. Even when I zoom the view out I cannot find the position of thr vertices. It seems to be infinite. Sometimes a few vertices of the mesh move to ...
0
votes
0answers
28 views

How to get an object to display its actual position after transform using parenting with empty using python [duplicate]

Currently this code creates an empty at a defined position and have used parent to get an object, in this case a cube to be in that position. However the newly created cube states its position as the ...
2
votes
1answer
79 views

How to position the default blender cube given coordinates, direction Z vector and direction Y vector using python?

New to blender and python here, Given the following: Coordinates (X,Y,Z) = (-100,100,1000) and Direction Z vector = (1,0,0) and Direction Y vector = (0,0,-1) where angle between direction vectors is ...
0
votes
0answers
21 views

is there a simple way to know your mouse coordinates in 3D world space while hovering?

I'm wondering if there is a way to know your mouse coordinates while hovering. Without having to query the position of the 3D cursor? For example to show what I mean, see below image of another ...
3
votes
1answer
60 views

Coordinate XYZ limitation of 10,000 - Workaround questions

Blender has a limit of 10,000 for the coordinates of the X, Y, Z component of the location’s value of the vertices in edit mode. This causes a problem for editing large objects like mountains or ...
0
votes
0answers
7 views

Multiple duplicate linked objects relocating to same coordinates [duplicate]

When I create multiple linked duplicates of a single object, and move each to a different location save, then reopen the file I find all these objects relocated to the same position as the original (...
0
votes
0answers
24 views

Create bones from coordinates (X,Y,Z) :

I am trying to generate an Armature for a model . I have coded an artificial intelligence for detecting keypoints in Blender using dlib , opencv . Right now I have the necessary X,Y,Z coordinates . My ...
0
votes
1answer
16 views

Can I constrain a vertex to never move beyond specific coordinates?

So, when editing I would love to be able to move my vertices around but make sure they never go below a certain plane - for instance, make sure I can't move them below a Z-value of 0. Is there any way ...
0
votes
1answer
38 views

How to convert an object transformed by a Hook Modifier to an object with Loc,Rot,Scal Transformations?

I create one triangle whose is transformed by 3 animated cubes. To realize this, I use "Hook Modifier" (as proposed in this topic ) , each vertex of the triangle is associated to a hook and each hook ...
1
vote
0answers
43 views

Code for creating a mesh from a collection of points in Blender [duplicate]

I have a set of points in a text file that define the edges of a solid object. Each line in the file is a collection of points (x,y,z) which form a closed loop. Stacking these loops forms the object. ...
3
votes
2answers
213 views

How to get data and edit it on UV map edges?

I have a UV map. I want to get texture pixels around connected mesh sides like this (selected in pink and red): or even on separated islands like this: How to do such thing with Python Blender API? ...
0
votes
0answers
83 views

world_to_camera_view() returns wrong vertex coordinates

I'm trying to get 2D pixel coordinates (i.e. with respect to the rendered image) of the outline of some spheres I have in my scene. Ultimately, I would like to obtain a segmentation mask for the ...
0
votes
1answer
76 views

Python: Placing objects around a spheres surface with proper rotation

i have a script to duplicate an object, and place the duplicates at random coordinates around a spheres surface, and then point those objects away from the center of the sphere. It almost works but ...
0
votes
0answers
57 views

How do I convert camera coordinates to world coordinates?

Blender has a great function to convert world coordinates to camera coordinates. However, in my case I am trying to do the exact opposite and can't find an existing method of doing so. I have tried ...
1
vote
0answers
50 views

Equivalent of mesh.tessfaces.add, foreach_set in 2.8

I have the following code in an addon: ...
0
votes
0answers
30 views

Z-Depth in World to Camera Coordinates

I have a rigged human character in blender and am able to access all the global bone coordinates and bone lengths. However, I want to translate all this bone coordinate data (in 3D) to a camera frame (...
1
vote
0answers
31 views

How to create a collection of (thousand of) spheres with each sphere at a specific set of xyz coordinate?

I have a xyz file containing coordinates of spheres. My goal is to draw something like Figure 2.2 in this link: http://www.fgarciasanchez.es/thesisrocio/node21.html On this forum I found a script ...
0
votes
0answers
23 views

Get rendered coordinates without knowing the world coordinates

I want to find the rendered coordinates for a camera view in Blender without getting the world coordinates before. In particular, I want to find the corners of one object that the camera sees. That´s ...
2
votes
1answer
251 views

Get or display normal vector / coordinates of selected vertex?

I have a .stl file and want to get the normal vector of a selected vertex or face in relation to the origin. Blender only shows the coordinates of that vertex/face. My blender skills are very ...
1
vote
1answer
38 views

Get Image Position in Image Editor for drawing lines with bgl

I am trying to draw some guide-lines on top of my image in my image-view using bgl. But when I draw the coordinates of my shape/line is relative to the screen/view when I actually want what I draw to ...
3
votes
2answers
167 views

Point of origin at 0,0,0

I want to design furniture. I've got measures from the front wall, side walls and the floor. When I draw a table of 2.20m long, it is centered in the frame and is positioned at X axis -1.10 to 1.10m. ...
1
vote
1answer
87 views

Exporting Vertices from Blender 2.8 to a .txt-File to import it in ArchiCAD as Terrain

Hey I'm a total Beginner in Blender I would like to model a certain Terrain in Blender with the Sculpting Mode and export the Vertices to a .txt-File to import it in ArchiCAD as "field surveyor datas"...
3
votes
2answers
141 views

Is it possible to get vertex locations (world) from a vertex group?

How can I get the vertices location connected to animated bones? E.g. the vertices of vertexgroup "foot.L" at keyframe 2?
0
votes
0answers
45 views

How to align local coordinate axis with edge(s) or face?

in the following image I want to edit the green slab. But since it is quite a big object which originated from a cube which I slanted, the local coordinate axis is aligned with the global axis. As you ...
0
votes
0answers
22 views

is coordinate system for blender changes in different system?

i worked on windows for animation generation using bvh files, i was using blender version 2.79b, i set the camera location as default in script as well as in form of user input so one can get the ...
0
votes
1answer
192 views

how to rotate an object (a line) diagonally x,y

I have defined a line as an object, and I am trying to rotate it end over end, diagonally, 360 degrees, over 100 frames. i havent yet found a way to do this. I tried just using calculations and ...
1
vote
0answers
38 views

Show coordinates as label at render

Is there a way to add labels on a rendered image with properties such as the coordinates fo an object? i.e. when the object moves in the video you can see the coordinates change
1
vote
0answers
12 views

How to get the correct area of each triangle of a tessellated (scaled) cube using the Python API?

When I add a cube to the scene with dimensions 2x2x2, and run cube_obj.data.calc_loop_triangles() followed by ...
0
votes
0answers
11 views

Getting vertex coords of copied object [duplicate]

I have an object "box_template" that I want to create copies of and then get the position of its vertices withing the camera frame from. So to create the copy I use: ...
-1
votes
1answer
125 views

Get the depicted result procedurally, with interactive possibility as described, minus the equilateral grid ? Python, AN, any other method

Strike four - Drivers... No control. The AN nodes will prove to be the best solution as I initially suspected. Unless I'm missing something obvious, which is entirely plausible. Strike three I'm ...

1
2 3 4 5