Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Example for rotation region and animation
« previous
next »
Print
Pages: [
1
]
Author
Topic: Example for rotation region and animation (Read 3167 times)
chehroma
Newbie
Posts: 24
Example for rotation region and animation
«
on:
November 28, 2018, 11:56:27 AM »
Can somebody write some examples which explain how rotate bounding box region (need that read area will be down). And I need some of code example, which explain how to do animation.
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15086
Re: Example for rotation region and animation
«
Reply #1 on:
November 28, 2018, 12:34:48 PM »
Hello chehroma,
Can you please specify the criterion for the bounding box rotation for "down" orientation of the colored box side? Is it estimated according to the coordinate system axis?
There's a simple example that rotates the bounding box according to the coordinate system orientation:
https://github.com/agisoft-llc/photoscan-scripts/blob/master/src/bounding_box_to_coordinate_system.py
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
chehroma
Newbie
Posts: 24
Re: Example for rotation region and animation
«
Reply #2 on:
November 28, 2018, 12:47:35 PM »
I need that red region will be on the floor(down). Only box, not model. I attached picture for example. How I can modify this script, in which place? I not correctly understand how it work.
«
Last Edit: November 28, 2018, 12:49:48 PM by chehroma
»
Logged
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Example for rotation region and animation
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)