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
0
votes
3answers
21 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
12 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
41 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
23 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
18 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
22 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
69 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
27 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
25 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
67 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
17 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
54 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
22 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
15 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
37 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
42 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
162 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
33 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
44 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
39 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
37 views

Equivalent of mesh.tessfaces.add, foreach_set in 2.8

I have the following code in an addon: ...
0
votes
0answers
25 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
30 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
22 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
181 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
31 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
134 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
73 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
104 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
31 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
140 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
36 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
119 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
vote
0answers
25 views

How to script camera path in Python?

I'm new to Python scripting in blender. Wonder how to script: To create a path with specific points to reach on a circle around Z axis? Run the camera on it? Any help please? Eric
0
votes
0answers
11 views

How to prepare the Python script in python to: load model, turn camera around it & get camera coordinates?

I might not be so new to Blender but definitely - new to Python scripting in Blender. I'm trying to get the first steps here for the simples script: To load the model. DONE ALREADY. To zoom it out ...
5
votes
1answer
186 views

Get pixel coord in rendered image of pixel coord in texture

Problem: As shown in the figure above, I have the coordinate pair (x, y) which describes a certain point in an image texture and I want the corresponding ...
0
votes
0answers
22 views

Coordinates shifted for some meshes during FBX import

I've got an FBX file that I'm importing into Blender as part of an image generation script for a machine learning application (using the python API). However, for this particular model, some meshes ...
2
votes
0answers
555 views

How to get 2d pixel coordinates of multiple objects bounding boxes from rendered image with python in blender 2.8?

I know there're many questions similar to mine, but they are a bit too old and not working with newest version of blender. I found this two, but have no idea how to use them: ...
1
vote
1answer
104 views

Changing rotation_mode from `YXZ` to `XYZ` without changing orientation?

I am writing an importer in Blender that appends a object and then moves and rotates that object by some stored values I have created in Unity and saved to a Json file. I found that in order to ...
1
vote
1answer
529 views

Plot single vertices based on xy coordinates from CSV file

I'm aware there are numerous posts/questions already been raised on this, but upon reading the previous posts, I'm not quite able to find exactly what I'm looking for. So apologies if there's a ...
0
votes
1answer
59 views

How do I specify the 3D Cartesian coordinates of each vertex in a plane?

I have a specific system with a given origin. I want to make a plane with 3 vertices where each vertex has a specific position in 3D space relative to the global origin that I want to specify ...
0
votes
0answers
46 views

Set Bone Position and Rotation to global world coordinates via Python script

I have a set of bone positions and rotations exported from Unity and I want to create keyframes with these positions and rotations for the bones of my rig in Blender via a Python script. Unfortunately ...
1
vote
0answers
51 views

Random line artifacts on mesh when moved too far from global 0, 0, 0 [duplicate]

I'm attempting to render a mesh in 2.8. However, random lines appear on its surface when positioned too far from the global 0, 0, 0 coordinates. I've cut out a ...
0
votes
0answers
62 views

How to set local and global units the same?

I can not figure out how to set my local coordinates the same. You can see in the images below when I toggle from global to local, the median units go from centimeters to meters (sometimes kilometers) ...
0
votes
0answers
17 views

Is there a way to get the global rotation of an object in blender? (python) [duplicate]

i created a character in blender that has some pose bones. Moved some of the bones using to create a different pose. I was then able to calculate the world position that corresponds to this ...
0
votes
0answers
76 views

How to make selected meshes move together in transform sidebar?

I must have hit some button, or typed a shortcut by accident, but my workflow has been shot in the foot by this problem. If I try to select multiple meshes and move them together by typing precise ...

1
2 3 4 5