Premium Only Content

Blender Python - 020 - Obteniendo la posicion del 3d cursor
Blender Python - 020 - Obteniendo la posicion del 3d cursor
En este video vemos como obtener la posición del 3D cursor con:
"bpy.context.scene.cursor.location"
Este comando regresa un vector que se puede separar en sus componentes wn X, Y, y Z.
variable_pos = bpy.context.scene.cursor.location
De esta manera se separa cada componente.
x = variable_pos.x
y = variable_pos.y
z = variable_pos.z
Link en GitHub donde esta el código que se utilizó:
https://github.com/javier-cantu/BlenderPython/blob/main/020_getCursorLocation.py
Links donde explican como conseguir la posicion del cursor:
https://blender.stackexchange.com/questions/5359/how-to-set-cursor-location-pivot-point-in-script?newreg=734998d69a5a4cc2b25021d81d9f9b0d
https://blender.stackexchange.com/questions/134313/cursor-location-scene-blender-2-8
Mis Redes:
https://linktr.ee/javiCan87
-
8:01
MattMorseTV
12 hours ago $10.19 earnedHe's ACTUALLY doing it...
70.5K62 -
33:25
Uncommon Sense In Current Times
15 hours ago $1.80 earnedHollywood’s Woke Agenda Exposed | Kevin Sorbo on Cancel Culture, Faith & the Common Sense Revolution
18K -
8:23
The Art of Improvement
20 hours ago $0.46 earned7 Smart Habits to Boost Mental Clarity
2.37K2 -
12:09
China Uncensored
11 hours agoI Have NEVER Been More Furious
3.98K18 -
2:12
WildCreatures
4 days ago $0.83 earnedThe beauty and mystery of the Pantanal, Brazil's best secret
4.17K2 -
9:38
Millionaire Mentor
18 hours agoBernie Sanders LOSES IT After Scott Bessent’s Shocking Comeback
3.55K9 -
1:35:35
Dialogue works
1 day ago $0.54 earnedLarry C. Johnson & Paul Craig Roberts: Trump’s Plan COLLAPSES as Russia Strikes — Xi & Modi Rise!
2.87K3 -
14:09
Zoufry
2 days agoThe Hunt for The Biggest Art Thief in US History
6.98K3 -
29:23
DeVory Darkins
1 day ago $14.76 earnedTrump makes BOMBSHELL Announcement as Democrat Judge issues SHOCKING Order
26.4K174 -
28:31
James Klüg
1 day agoDemocrats Are FURIOUS With Trump’s Immigration Policy But Know Nothing About It | Part 2
18.9K20