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
0answers
16 views

How to move the origin and the vertices of an object deforming by many objects (with by example Hook Modifier)?

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
25 views

Code for creating a mesh from a collection of points in Blender

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
111 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
23 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
18 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
26 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
22 views

Equivalent of mesh.tessfaces.add, foreach_set in 2.8

I have the following code in an addon: ...
0
votes
0answers
18 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
29 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
21 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
79 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
23 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
98 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
45 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
73 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
20 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
21 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
79 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
30 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
9 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
111 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
20 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
9 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 ...
4
votes
1answer
135 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
20 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
480 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
76 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
435 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
50 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
43 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
48 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
56 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
14 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
50 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 ...
0
votes
1answer
120 views

Extracting coordinates (x y z) from a BVH file

I want to extract coordinates in x y z format from a BVH file. I read about the rotational and transational matrices used in a BVH file but cannot make any sense out of it. At last i want to make ...
0
votes
1answer
121 views

How do I make sure my objects are always touching the grid floor?

I want to use the grid as an imaginary floor. Is there a mathematical operation to make sure that no matter the length of the object that the bottom of the object is always touching the grid? ...
0
votes
0answers
111 views

Exporting x,y,z coordinates from tracking information

I am new to blender and am trying to extract the coordinates of a moving object that was made in blender (X,Y,Z at every frame). I have tried exporting as .ply, .obj, .stl etc. but the coordinates don'...
1
vote
0answers
77 views

Homography between two planes with rotation and translation

I generated two camera views using Blender with rotation and translation. Now I want to know how to compute homography between camera view A to B? I found how to compute homography for rotation only ...
2
votes
1answer
75 views

Is it posible to get the coordinates of the shadow from its rendering?

I need to know the volume of the shadow cast by an object by a light or at least the coordinates of the contour of the shadow in the floor. I thought that it would be possible to get the coordinates ...
2
votes
0answers
236 views

How to get coordinates of special vertices in an animated mesh with Python?

I try to get the positions of special vertices while animating. I only found quastions about positions of special vertices in one frame or positions of all vertices in an animation. But I need the ...
0
votes
1answer
27 views

how to know which pivot object is using (Local/World)

i have 2 identical objects with identical location numbers, but theyre located in different places. this is so annoying to deal with. how do i see the world coordinates? here is example of what i mean....
0
votes
0answers
359 views

How can I draw a line between 2 specific points?

I want to find the center axis of the inner irregular cylinder below. I want to determine 2 points and draw a line between them so I can find the central axis. Is there a way to do this?
1
vote
1answer
262 views

What is the between normal and local space?

So I get the difference between global space (or world space, whatever you want to call it) and local space-- global space looks at locations in a 3D Cartesian Graph that has a fixed orientation/...
0
votes
1answer
239 views

Change the Coordinate System for Unity Export? [duplicate]

How to change the axis Z and Y? Make it so that it was like in Unity or maybe this can be done in Unity?
1
vote
1answer
26 views

Take current rotation or coordinates as zero?

Let's say I have object rotated at 19 degrees and I want to keep current rotation, but I need to see 0 in rotation field.
0
votes
0answers
9 views

Is something strange about camera coordinates that I need to know?

I have a camera in the same position as a rig, paranted to it. At least, it's supposed to be in the same position but I accidently moved the camera (not the rig). To put back, I thought I'd copy the ...
0
votes
2answers
67 views

How can I determine the coordinations of the deepest point of a pit located on a 3D object?

I am trying to find the deepest point of a rough pit located on a rough 3d object. The pit is full of irregular vertices. https://drive.google.com/open?id=1muCjhRDHhwo3AnY194BAvkaCpPIdyWhx I cannot ...
0
votes
2answers
380 views

Camera Rotation in World Coordinates?

Are the coordinates of the camera in the world coordinate system? If they are not, how can I change to the world coordinate?
1
vote
1answer
316 views

Convert Object texture coordinates to UV

I have an object which as a texture that is positioned using Object Texture Coordinates that uses an Empty as its positioning object. I want to convert this to a UV texture. In Edit mode I press U > ...

1
2 3 4 5