Hi I am interested in exporting FSPM as a pointcloud without using user interface. Is it possible because I’m unable to do so.
Hi,
which FSPM software are you using?
I am using GroIMP for spring wheat FSPM. I am new to it.
Do you have a way to export a pointcloud using the user interface?
Hi Tim, Yes it is possible to export using user interface but I want to export it pragmatically. Thanks
Hi Jaspreet,
Could you give more detail on what version of GroIMP you use? How do you import/create your pointcloud? What type of object do you use? What type of export do you want (only the pointcloud, the whole scene)? To which format? What do you mean by “pragmatically”?
I am using GroIMP 2.1.5. For example if I use the following code to create plant model. I am able to export it as a pointcloud using user interface as ‘complete scene’. Is it possible if I can export plant model by writing few lines of code in the same script. I apologize that I misspelled Programmatically as ‘pragmatically’.
import parameters.*;
module A(float len) extends Sphere(0.1)
{
{setShader(GREEN);}
}
protected void init ()
[
Axiom ==> A(parameters.length);
]
public void run ()
[
A(x) ==> F(x) [RU(30) RH(90) A(x0.8)] [RU(-30) RH(90) A(x0.8)];
]
Hi,
I think we have a small misunderstanding here, if you go on the 3dView on view/export you can not export a geometrical model as a point cloud. You can export point cloud objects as pointclouds or you can export geometrical models as 3d models.
for the second way, the code is actually quite simple:
public void save(){
export3DScene("C:\path\to\your\file.obj","obj",true);
}
If you want to turn your model in to a pointcloud in GroIMP you can have a look here:
https://gallery.grogra.de/project_gallery/67053a38256715cda41c8092
the version 1.2 should work with GroIMP 2.1.5
Thank you very much, I will take a look and then let you know.