Activity
Mon
Wed
Fri
Sun
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
What is this?
Less
More

Memberships

CG Python Academy (Free)

907 members • Free

1 contribution to CG Python Academy (Free)
2d animation(grease pencil code)
Well would luv starter pack of ur guidance 🫂how to setup and all !! I have been struggling a lot just to setup gpencil in 2d animation// via python! Even using Google for reference and trying out all variants of functions wasn't helping at all ! It's just flagging me right at the start say whether it is Eevee cycles or this Grease pencil like it says the syntax itself is wrong So needa lot of ur help ! Lovely people I for one just luv 2d animations and football!! Hope I could learn faster with y'all - and could cross this error-flaggin barrier 🥺 Cuz there aren't many tutorials in yt as well regarding grease pencil! Like I tried to follow up with this great series https://youtube.com/playlist?list=PL6zjnty8iPQ-vV2eZa3kIbN5p3TNa3-Oj&si=J0grVr_YiVAcfX-l But as I already said the syntax updates and all those changes ....I just can't take that first step in this 2d animation via python scripting! Expecting a lotta help And would be forever grateful to y'all 👐🏻☺️
1 like • May 17
hello victor....i just completed ur tutorial on vs code + blender setup ....and ur custom addon is working finally...can u give a quick tutorial on the function syntax or starting few lines of code to just set it up like this gp_object = bpy.context.active_object gp_data = gp_object.data # Already Grease Pencil data layers = gp_data.layers but when trying to execute such setup source codes from web ....its just throwing errors!! my goal is to learn stroke automation in 2d animation using this grease pencil feature via python scripting // so i found some source codes like this on github ...but none are working it just says syntax error ....like it isnt compatible with blender 4.4 ...... even this code wasnt working ... import bpy # Create a new Grease Pencil object and add to scene gp_data = bpy.data.grease_pencils.new("GPencil") gp_object = bpy.data.objects.new("GP_Object", gp_data) bpy.context.collection.objects.link(gp_object) # Add layer layer = gp_data.layers.new(name="GP_Layer", set_active=True) frame = layer.frames.new(0) # Create a stroke stroke = frame.strokes.new() stroke.display_mode = '3DSPACE' stroke.points.add(count=2) # Define stroke points stroke.points[0].co = (1.0, 1.0, 0.0) stroke.points[1].co = (2.0, 2.0, 0.0) .....first can u clarify me how to use or what pre manual work is required to setup grease pencil and automate strokes! or can the whole thing be automated with direct python including setup!?? and after that quick clarification .....i would luv to use ur source code for just setting it up...like just for the starting procedure..please!
1 like • May 17
tqs mate 🤩....atleast some kinda hope that automation does work for blender 4.4 ......gotta figure out y so many errors r popping up
1-1 of 1
Mack Blanke
2
15points to level up
@mack-blanke-5597
Luv futbol animations

Active 125d ago
Joined May 17, 2025
Powered by