Author Topic: Volume character limit  (Read 1475 times)


  • Newbie
  • *
  • Posts: 22
    • View Profile
Volume character limit
« on: June 28, 2021, 01:57:25 AM »
Apologies if the answer is here but I've been unable to find it.  I have a large void space that I am computing in m2.  Unfortunately the volume result omits some of the decimal characters.  Is there a way to change this setting please?  This is what Im seeing in the results - 1.31338e+06 for a volume of 1.3 million m2.  Is it a case of exporting and running in an external software?  Many thanks.


  • Hero Member
  • *****
  • Posts: 1350
    • View Profile
Re: Volume character limit
« Reply #1 on: June 28, 2021, 05:26:03 AM »
Hi paulmartec,

if you have a Shape Polygon s whose volume you want to measure then if you define:
Code: [Select]
volume = s.volume(level='bestfit')
then volume['above'] will contain volume above best fit plane in m3 (without e notation), volume['below'] volume below best fit plane in m3 and volume['total'] total volume for best fit plane in m3 as in:
Code: [Select]
print(s, volume['above'], volume['below'], volume['total'])
2021-06-27 21:11:33 <Shape '2'> 2056251.7184415376 2429.595013802989 2053822.1234277345

see attached example
« Last Edit: June 28, 2021, 05:56:12 AM by Paulo »
Best Regards,
Paul Pelletier,