@bnbailey-psl
I am trying to create an apple tree in a commercial orchard where trees are planted in a row at a distance of only 1.5 m. I can use the apple plant library but must create an age-zero tree with a very different shape than the 'trunk with 4 scaffold branches' model in the apple plant library. That is because apple growers will prune the tree to a very different shape. I managed to do so with plant.addBaseStemShoot(), but I run in two limitations:
- Plants created this way seem to have a maximum age of 1000 days. In the function PlantArchitecture::buildAppleTree() in PlantLibrary.cpp this is overruled with:
plant_instances.at(plantID).max_age = 1460;
Is there a way to also do this from python for my custom-built apple tree?
- And how can I make my plant dormant from python, just like is done in that same function in C++
makePlantDormant(plantID);
@bnbailey-psl
I am trying to create an apple tree in a commercial orchard where trees are planted in a row at a distance of only 1.5 m. I can use the apple plant library but must create an age-zero tree with a very different shape than the 'trunk with 4 scaffold branches' model in the apple plant library. That is because apple growers will prune the tree to a very different shape. I managed to do so with plant.addBaseStemShoot(), but I run in two limitations:
plant_instances.at(plantID).max_age = 1460;Is there a way to also do this from python for my custom-built apple tree?
makePlantDormant(plantID);