Hello, I am about to learn cyclone and was recently learning python just 2 weeks before that. I found out luckily, as of version v8, cyclone supports python scripting functionality. As I was searching this forum, I was looking for samples of python script ideas, or issues.On YOUTUBE there is a short movie on sciptiing for v8. But other wise I cannot find much It shows that scripting is mainly used to model repetitive and predictive shapes, or to show information of a modeled object. Thiss made me wonder if people are actually using the scripting functionality in production environments, and also what more is possible.
Does anyone use the Python scripting functionality? Are there more samples to be found? Any major benefits in the workflow? Hope to hear if anyone uses it and how.
Python scriping in cyclone
-
- I have made <0 posts
- Posts: 2
- Joined: Wed Nov 01, 2017 2:47 pm
- 6
- Full Name: Lucas van Rennes
- Company Details: VR Studio
- Company Position Title: owner
- Country: NL
- Linkedin Profile: Yes
- James Hall
- V.I.P Member
- Posts: 220
- Joined: Tue Feb 02, 2010 5:13 pm
- 14
- Full Name: James E Hall
- Company Details: Dewberry Engineering Inc
- Company Position Title: Survey Technician - Cyclone Modeler
- Country: USA
- Location: Frederick, MD
- Has thanked: 5 times
- Been thanked: 37 times
Re: Python scriping in cyclone
I have worked a bit in VBA doing macros for Auto cad and Excel and am a long time Cyclone user and have been looking at some things to automate in Cyclone using Python. There have not been many people making use of Cyclones Python scripting in my reading on the subject.
Currently I have plans to redo the decimation tool to parse the scan data based on a cube scheme rather then a how may points per grid square.
This will even out dense scan areas better. I was going to base it on sound notarization process used in audio software.
Another tool I was thinking of making is a command that cleans off all Trees, Buildings telephone poles etcetera.
This would make a bare earth point cloud.
There is a Python LIb and resources at C:\Program Files\Leica Geosystems\Cyclone\Leica.Python installed with cyclone.
Currently I have plans to redo the decimation tool to parse the scan data based on a cube scheme rather then a how may points per grid square.
This will even out dense scan areas better. I was going to base it on sound notarization process used in audio software.
Another tool I was thinking of making is a command that cleans off all Trees, Buildings telephone poles etcetera.
This would make a bare earth point cloud.
There is a Python LIb and resources at C:\Program Files\Leica Geosystems\Cyclone\Leica.Python installed with cyclone.
Last edited by James Hall on Fri Jan 11, 2019 6:24 pm, edited 1 time in total.
-
- V.I.P Member
- Posts: 1236
- Joined: Mon Jan 04, 2010 7:51 pm
- 14
- Full Name: Jed Frechette
- Company Details: Lidar Guys
- Company Position Title: CEO and Lidar Supervisor
- Country: USA
- Linkedin Profile: Yes
- Location: Albuquerque, NM
- Has thanked: 62 times
- Been thanked: 219 times
- Contact:
Re: Python scriping in cyclone
I'd be really interested in hearing how people are using this too.
When it first came out I played with it a little bit. Coming from a Python background, I remember thinking at the time that Cyclone's implementation was somewhat limited and a little clunky. That was some time ago, so hopefully Leica has continued to improve it since then.
When it first came out I played with it a little bit. Coming from a Python background, I remember thinking at the time that Cyclone's implementation was somewhat limited and a little clunky. That was some time ago, so hopefully Leica has continued to improve it since then.
Jed
-
- I have made 100> posts
- Posts: 108
- Joined: Thu Sep 21, 2017 9:43 pm
- 6
- Full Name: Iain Took
- Company Details: WMP
- Company Position Title: Dogsbody
- Country: United Kingdom
- Linkedin Profile: No
- Has thanked: 3 times
- Been thanked: 6 times
Re: Python scriping in cyclone
I'm had a look at this earlier in the year, I don't think there was much work done on the scripting and the documentation isn't very detailed.
I wanted to use it to create camera paths around a fixed point but those commands don't seem to be implemented in the scripting API.
I wanted to use it to create camera paths around a fixed point but those commands don't seem to be implemented in the scripting API.
-
- V.I.P Member
- Posts: 1236
- Joined: Mon Jan 04, 2010 7:51 pm
- 14
- Full Name: Jed Frechette
- Company Details: Lidar Guys
- Company Position Title: CEO and Lidar Supervisor
- Country: USA
- Linkedin Profile: Yes
- Location: Albuquerque, NM
- Has thanked: 62 times
- Been thanked: 219 times
- Contact:
-
- I have made <0 posts
- Posts: 2
- Joined: Wed Nov 01, 2017 2:47 pm
- 6
- Full Name: Lucas van Rennes
- Company Details: VR Studio
- Company Position Title: owner
- Country: NL
- Linkedin Profile: Yes
Re: Python scriping in cyclone
Thanks James. I will have look. I am having trouble too finding good examples.
From what you mention there is a lot possible here. If you can implement it. The hardest part would be making sense of the pointcloud and cutting away unusable pieces.
From what you mention there is a lot possible here. If you can implement it. The hardest part would be making sense of the pointcloud and cutting away unusable pieces.