User Tools

Site Tools


eman2:transforminpython

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eman2:transforminpython [2025/07/06 02:44] steveludtkeeman2:transforminpython [2025/07/06 03:39] (current) steveludtke
Line 52: Line 52:
 Etc. Etc.
 </code> </code>
- 
-For more information on default parameters and what happens when some parameters are not set see [[#dict_const|a more in depth look at the dictionary constructor]] 
  
 ==== Setting/getting rotations ==== ==== Setting/getting rotations ====
Line 120: Line 118:
 s = Transform(d) # s is the same as t s = Transform(d) # s is the same as t
 </code> </code>
-For more information the behaviour of set_params see  [[#set_params|a more in depth look at set_params]] 
  
 ==== A Transform multiplied by a Vec3f ==== ==== A Transform multiplied by a Vec3f ====
Line 231: Line 228:
 a.transform(t) # ERROR is thrown a.transform(t) # ERROR is thrown
 </code> </code>
-<<Anchor(dict_const)>> 
  
 ===== A more in depth look at the dictionary constructor ===== ===== A more in depth look at the dictionary constructor =====
Line 263: Line 259:
 t = Transform({"tx":3.4,"ty":3,"tz":3}) # scale is 1.0, mirror is False t = Transform({"tx":3.4,"ty":3,"tz":3}) # scale is 1.0, mirror is False
 </code> </code>
-<<Anchor(set_params)>> 
  
 ===== A more in depth look at set_params ===== ===== A more in depth look at set_params =====
eman2/transforminpython.1751769854.txt.gz · Last modified: by steveludtke