Blender copy location не работает

Copy Location ConstraintВ¶

The Copy Location constraint forces its owner to have the same location as its target.

Note that if you use such a constraint on a connected bone, it will have no effect, as it is the parent’s tip which controls the position of your owner bone’s root.

OptionsВ¶

Copy Location panel. В¶

Data ID used to select the constraints target, and is not functional (red state) when it has none. See common constraint properties for more information.

These buttons control which axes are constrained.

Invert their respective corresponding axis coordinates.

When enabled, this control allows the owner to be moved (using its current transform properties), relative to its target’s position.

Standard conversion between spaces. See common constraint properties for more information.

Controls the percentage of affect the constraint has on the object. See common constraint properties for more information.

ExamplesВ¶

AnimationВ¶

Let us animate the Copy Location constraint and its Offset button. For example, you can make your owner (let us call it “moon”) describe perfect circles centered on the (0.0, 0.0, 0.0) point (using e.g. pydriven LocX/LocY animation curves, see Drivers ), and then make it copy the location of a target (call it “earth”, for example) with the Offset button enabled. Congratulation, you just modeled a satellite in a (simplified) orbit around its planet. Just do the same thing with its planet around its star (which you might call “sun”, what do you think?), and why not, for the star around its galaxy.

Here is a small animation of a “solar” system created using (among a few others) the technique described above:

Note that, this “solar” system is not realistic at all (the wrong scale, the “earth” is rotating in the wrong direction around the “sun”, …).

You can download the blend-file used to create this animation.

Furthermore you can also animate a few properties of each constraint using animation curves: e.g. you can animate the Influence of a constraint. It is used to first stick the camera to the “moon”, then to the “earth”, and finally to nothing, using two Copy Location constraints with Offset set.

Читайте также:  Чем можно отремонтировать линолеум своими руками

© Copyright : This page is licensed under a CC-BY-SA 4.0 Int. License. Last updated on 10/18/2021.

Источник

Copy Location ConstraintВ¶

The Copy Location constraint forces its owner to have the same location as its target.

Note that if you use such a constraint on a connected bone, it will have no effect, as it is the parent’s tip which controls the position of your owner bone’s root.

OptionsВ¶

Copy Location panel.

These buttons control which axes are constrained.

Invert The Invert buttons invert their respective preceding coordinates. Offset When enabled, this control allows the owner to be translated (using its current transform properties), relative to its target’s position. Space Standard conversion between spaces.

ExamplesВ¶

AnimationВ¶

Let us animate the Copy Location constraint and its Offset button. For example, you can make your owner (let us call it “moon”) describe perfect circles centered on the (0.0, 0.0, 0.0) point (using e.g. pydriven LocX/LocY animation curves, see Drivers ), and then make it copy the location of a target (call it “earth”, for example) with the Offset button enabled. Congratulation, you just modeled a satellite in a (simplified) orbit around its planet. Just do the same thing with its planet around its star (which you might call “sun”, what do you think?), and why not, for the star around its galaxy.

Here is a small animation of a “solar” system created using (among a few others) the technique described above:

Note that, this “solar” system is not realistic at all (the wrong scale, the “earth” is rotating in the wrong direction around the “sun”, …).

You can download the blend-file (download here) used to create this animation.

Furthermore you can also animate a few properties of each constraint using animation curves: e.g. you can animate the Influence of a constraint. It is used to first stick the camera to the “moon”, then to the “earth”, and finally to nothing, using two Copy Location constraints with Offset set.

© Copyright : This page is licensed under a CC-BY-SA 4.0 Int. License.

Источник

Дополнение Copy Attributes Menu

Довольно часто возникает ситуация, когда необходимо применить какие-то модификаторы к нескольким объектам или назначить одинаковый материал. Данное дополнение позволяет скопировать атрибуты одного объекта (активного) на множество других. Для этого Вам нужно выделить все необходимые объекты и нажать сочетание клавиш Ctrl + C. Чтобы активировать данное дополнение, перейдите в настройки блендера (File > User Preferences > Addons):

Работая в объектном режиме, можно выделить все объекты в сцене (например, в сцене по умолчанию) и нажать Ctrl + C. Появится следующее меню, предлагающее выбрать какие параметры активного объекта нужно скопировать:

Как видно из изображения выше, список атрибутов, доступных для копирования, довольно велик (модификаторы, вес вершин, расположение, физические настройки и т.д.), и так как дополнение находится в стадии развития, в него добавляются новые возможности. Выбрав первый пункт (Copy Location), камера и куб переместятся к лампе.

Если нужно применить несколько модификаторов к множеству объектов, то необходимо выбрать пункт Copy Modifiers. Затем Вы можете изменить любой параметр одного из модификатор, снова скопировать данный атрибут, и он обновится на всех объектах.

Читайте также:  Где отремонтировать кровать серагем

Это все касалось работы в объектном режиме. Также данный аддон предоставляет отдельное меню для работы с костями. Для этого Вам необходимо выбрать несколько костей в режиме постановки (Pose Mode) и нажать Ctrl + C.

Также существует возможность копирования свойств в режиме редактирования (Edit Mode). Выделив объект, перейдя в режим редактирования, и также нажав Ctrl + C, Вам станет доступно еще одно меню данного аддона. В режиме редактирования можно производить копирование UV-координат, цветов вершин и материалов с одной поверхности на другую. Содержимое данного меню будет отличаться в зависимости от количества UV-разверток и слоев с цветами вершин Вашего объекта.

Первая группа опций копирует атрибуты из активной поверхности на все остальные (выделенные), в пределах той же UV-развертки или слоя Vertex Color.

  • Copy Material: Копировать индекс материала для выбранных граней.
  • Copy Image: Копировать назначенное изображение для выбранных граней.
  • Copy UV Coords: Копировать UV-координаты для выбранных граней.
  • Copy Vertex Colors: Копировать цвета вершин для выбранных граней.

Вторая группа опций копирует атрибуты выбранных поверхностей в активную UV-развертку или слой Vertex Color с их соответствующих поверхностей на других UV-развертках или слоях Vertex Color.

  • Copy Image from layer: Копирует изображение из другого слоя для выбранных граней.
  • Copy UV Coords from layer: Копирует UV-развертку из другого слоя для выбранных граней.
  • Copy Vertex Colors from layer: Копирует цвета вершин с другого слоя для выбранных граней.

Как видите, данное дополнение помогает сэкономить массу времени. Поэтому, если в Вашей сцене нужно сделать множество идентичных действий с большим количеством объектов, не забудьте включить это дополнение.

Источник

Blender Addon — Unknow location (importing/exporting) #2

Comments

OscarOG commented Dec 6, 2019

Hi!
After importing, the model loads correctly but this message shows in the log:

Traceback (most recent call last):
File «C:\Users\Oscar\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\X4ConverterBlenderAddon\importer.py», line 65, in execute
ship_macro=base_path.rsplit(‘/’,1)[1]
IndexError: list index out of range

location: unknown location:-1

Exporting is not working for my with this message in log:

Traceback (most recent call last):
File «C:\Users\Oscar\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\X4ConverterBlenderAddon\exporter.py», line 36, in execute
self.tweak_and_export_collada(context,base_path)
File «C:\Users\Oscar\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\X4ConverterBlenderAddon\exporter.py», line 51, in tweak_and_export_collada
ship_macro=base_path.rsplit(‘/’,1)[1]
IndexError: list index out of range

location: unknown location:-1

Читайте также:  Как настроить удаленный сеансов рабочего стола

The text was updated successfully, but these errors were encountered:

Cgettys commented Dec 9, 2019

I’ll look at it later this week; I’m unfortunately moving at the moment.

Cgettys commented Dec 18, 2019

@OscarOG does this https://github.com/Cgettys/X4Converter/blob/rewrite-xml/X4ConverterBlenderAddonBeta3.zip fix the issue for you? it’s a bit ugly but I think it will fix your issue, it’s a filepath separator issue (I develop on Linux, which uses «blah/blahblah/whatever», whereas Windows would be «C:\blah\blahblah\whatever»)

Cgettys commented Dec 18, 2019

OscarOG commented Dec 18, 2019

Hi @Cgettys !
Thank you for your answer but sorry to tell you that it still doesn’t work.

As before, importing model loads the model but now, i noticed that the scale when importing is not optimal for working directly as before, it´s very small.

Exporting still not working, i think same log as before.

Источник

Copy transforms from one object to another

I want an object to have the same Transforms (location, rotation, and scale) as another object. How can I copy the Transforms from one object to another?

5 Answers 5

Select the object you wish to move

While the First object is selected, SHIFT Select the other object

Go to the transforms panel

Right click in the Location properties

Copy to selected

Note: You only need to do this for one of the axis, blender will automatically do the other axis as well

Repeat step 4 for Rotation and Scale

For this kind of task the Copy Attributes Menu Addon is very good. It comes with Blender.

After enabling it, simply:

  • Select your object
  • With Shift pressed, select the target object
  • Press Ctrl + C
  • Select Copy Location from the list

If needed, do the same for rotation and scale as well.

The Location, Rotation and Scale used for each object is available in the object properties. You can easily copy and paste each setting to get two objects lined-up. Ctrl C and Ctrl V work with the cursor over a value, you don’t need to edit and select each value to copy and paste them.

The same values are also available in the Properties Sidebar in the 3DView which you can view by pressing N

Note: this will align each object based on the location of the objects Origin Point. This point may not be located where you expect and can be adjusted. See the manual on object centre

Источник

Оцените статью