pmger.blogg.se

Openshot add text
Openshot add text






openshot add text

#need to be on the visible layer to do duplication?ĪctiveObjectEnveloppe.dimensions = (ActiveObjectText.dimensions+IncrementX),(ActiveObjectText.dimensions+IncrementY), (ActiveObjectText.dimensions+IncrementZ) #_name(name='Enveloppe')īpy. = īpy.(linked=False, mode='TRANSLATION') # Don't use Median, because it does not always put the origin to the center!īpy._set(type='GEOMETRY_ORIGIN', center='BOUNDS')Ī() #_set(type='ORIGIN_GEOMETRY', center='MEDIAN') If .active.name != 'Text':īpy. = newtextīpy.name = 'Text' ĪctiveObjectText.rotation_euler=0.0 #xaxisĪctiveObjectText.rotation_euler=0.0 #yaxisĪctiveObjectText.rotation_euler=0.0 #zaxisĪctiveObjectText.location=5 #dur to shadow on the groundĪ_depth = bevel_depthĪ_resolution = 5īpy.data.space_character = widthīpy.data.font = fontīpy.(target='MESH', keep_original=False) If .find('Collision') != -1:īpy._remove(modifier="Collision")īpy._render = Trueīpy._add(view_align=False, enter_editmode=False,location=(0, 0, 0), rotation=(0, 0, 0))ĪctiveObjectText = .active The control variable is name “cylinder”ĭef createSoftText(title,extrude,bevel_depth,spacemode,textsize,width,font):īpy._render = Falseīpy. = Falseīpy._all(action='DESELECT')īpy. = īpy.select = True In this source code, we manage the possibility to hide the red cylinder and its physical effect on our soft text. Source code of the automation (using Blender API) In the simulation, we can add a cylinder to show more physical effects. So when reaching the ground, the text bounces and trembles before stopping. The chosen animation on this example, is made of a falling text on a rough surface. Soft text animation and automationīlender capture of the working blend file That’s I’m going to explain here, based on an example. This is the big part of the work : create and automate. You can read lots of tutorial, watch amazing videos too. Just make a beautiful title in 3D wich is animated :-).Īfter that, you need to automate it using the API of blender. The first thing to do consists in creating an title animation with Blender. Zip file of the animated title Softtext.zip Retrouvez les explications complètes dans Linux Pratique 77 Réaliser des titres animés pour OpenShot à l’aide de Blender








Openshot add text