goo.utils

class goo.utils.Axis(axis, start, end, world_matrix)[source]

Bases: object

axis(local_coords=False)[source]
endpoints(local_coords=False)[source]
length(local_coords=False)[source]
class goo.utils.BlenderObject(obj: Object)[source]

Bases: object

Parameters:

obj (Object)

hide()[source]
property loc
property name
property obj
class goo.utils.BoundaryCollisionConstructor[source]

Bases: CollisionConstructor

setup_mod(mod: CollisionModifier)[source]
Parameters:

mod (CollisionModifier)

class goo.utils.ClothConstructor[source]

Bases: ModConstructor

name = 'Cloth'
setup_mod(mod: ClothModifier)[source]
Parameters:

mod (ClothModifier)

type = 'CLOTH'
class goo.utils.CollisionConstructor[source]

Bases: ModConstructor

name = 'Collision'
setup_mod(mod: CollisionModifier)[source]
Parameters:

mod (CollisionModifier)

type = 'COLLISION'
class goo.utils.ModConstructor[source]

Bases: object

construct(obj)[source]
name = ''
setup_mod(mod: Modifier)[source]
Parameters:

mod (Modifier)

type = ''
class goo.utils.PhysicsConstructor(*mod_contructors: ModConstructor)[source]

Bases: object

Parameters:

mod_contructors (ModConstructor)

class goo.utils.RemeshConstructor[source]

Bases: ModConstructor

name = 'Remesh'
setup_mod(mod: RemeshModifier)[source]
Parameters:

mod (RemeshModifier)

type = 'REMESH'
class goo.utils.SubsurfConstructor[source]

Bases: ModConstructor

name = 'Subdivision'
setup_mod(mod: SubsurfModifier)[source]
Parameters:

mod (SubsurfModifier)

type = 'SUBSURF'
class goo.utils.YolkClothConstructor[source]

Bases: ClothConstructor

setup_mod(mod: ClothModifier)[source]
Parameters:

mod (ClothModifier)

goo.utils.create_material(name, color)[source]
goo.utils.create_mesh(name, loc, mesh='icosphere', size=1.5, rotation=(0, 0, 0), scale=(1, 1, 1), subdivisions=2, **kwargs)[source]