Архив: скрит Pyton для редактора blender

Бюджет По договоренности
Создан: 6 лет назад
Закрыт
Описание
скрипт для манипуляций с моделью в командной строке



пример манипуляций



Select all

Dellete

Import .SVG \convert\3d\vector.svg

select curve object

resizing (dimensions) 3.5m along the X axis and proportionally along the Y axis relative to the 3D cursor

convert vector to mesh

Set origin to centr of mass (Volume)

Snap selection to cursor

Set length unit on MILLIMETERS

Append \convert\3d\temp_file\material.blend\Material\ 1,2,3,4

select curve object

Add material slot

Browse material to be linked "index 1"

Add material slot

Browse material to be linked "index 2"

Add material slot

Browse material to be linked "index 3"

Add material slot

Browse material to be linked "index 4"

Go to Edit Mode

Select all

Assign material index 1

Extrude along the Z axis by 0.5 mm.

Extrude along the Z axis by 1.8 mm.

select points more

Active material index 2

Assign active material slot to selection

select points less

Extrude along the Z axis by 1.4 mm.

select points more

Active material index 3

Assign active material slot to selection

select points less

Extrude along the Z axis by 1.8 mm.

select points more

Active material index 2

Assign active material slot to selection

select points less

Extrude along the Z axis by 0.5 mm.

select points more

Active material index 1

Assign active material slot to selection

select points less

Active material index 4

Assign active material slot to selection

Go to Edit Mode

Append \convert\3d\temp_file\material.blend\Object\BezierCurve

Save ass \convert\3d\wood.blend
Категория