Documentation: Changes between Grease Pencil v2 and Grease Pencil v3 #114419
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#114419
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This task is meant to give a full list of all the changes (at a user level) between GPv2 and GPv3.
Object-Data Properties
GP_Layer
Layer
Draw Mode
TODO:
Edit Mode
Stroke > Normalize Thickness
Stroke > Set Uniform Thickness
Stroke > Normalize Thickness
Stroke > Set Uniform Opacity
Round
,Flat
,Toggle Start
andToggle End
2^n-1
points.number_cuts
points, if the number is 3, then 3 extra points are added to each segment instead of 7.A new extra "Keep Shape" option is available.
Selection
,By Material
andBy Layer
Modifiers
layer
layer_filter
layer_pass
layer_pass_filter
layer_pass
layer_pass_filter
layer_pass < 0
toggles filteruse_layer_pass_filter
invert_layers
invert_layer_filter
invert_layer_pass
invert_layer_pass_filter
material
material_filter
pass_index
material_pass_filter
pass_index < 0
toggles filteruse_material_pass_filter
invert_materials
invert_material_filter
invert_material_pass
invert_material_pass_filter
vertex_group
vertex_group_name
invert_vertex
invert_vertex_group
curve
custom_curve
A new extra "Keep Shape" option is available.
A new extra "Smooth Ends" option is available.
tint_type
tint_mode
vertex_mode
color_mode
use_weight_factor
use_weight_as_factor
colors
color_ramp
Python API
GPENCIL
GREASEPENCIL
bpy.ops.gpencil
bpy.ops.grease_pencil
stroke_change_color
stroke_material_set
stroke_normalize
set_uniform_thickness
stroke_normalize
set_uniform_opacity
stroke_flip
stroke_switch_direction
active
active
toactive_layer
in5f1a31c88a
layer.info
layer.name
layer.location
layer.translation
layer.use_mask_layer
layer.use_masks
Documentation: Changes between GPv2 and GPv3to Documentation: Changes between Grease Pencil v2 and Grease Pencil v3Is there anybody working currently in documentating the Python API for
GPENCIL
andGREASEPENCIL
? as i said over in the grease pencil chat, i was interested on checking out what's happening with MacOS and GPv3, and maybe documenting how the API works could give me a bit more experience with the codebase beforehand and a few pointers. Could i start working on it or help whoever's in charge?Hey @mewslore :) As it stands right now, there isn't muh to document for the Python API, because not much work has been done on it. That being said, I think it could be a good way to learn more about how the code (for GPv2 and GPv3) works. E.g. if you look at
rna_gpencil_legacy.cc
(python API functions for GPv2) andrna_grease_pencil.cc
(same for GPv3), you'll see that most of the functions haven't been ported yet.If you're interested in looking at this, I can also create a task with some more pointers and a list of what would have to be done.
I'm definitely interested @filedescriptor , let's make that task and i'll start from there ;)
@mewslore I began working on an overview task: #116043. I'll create a first subtask that might be a good fit for you: data-structure iterators and accessors.
@mewslore #116045: GPv3: Python API: GreasePencilFrame