Changeset 945 for cpp/frams/model


Ignore:
Timestamp:
06/09/20 13:58:57 (4 years ago)
Author:
Maciej Komosinski
Message:

Updated recommended ranges for Part volume so that they are based on the volume of a solid sphere with unit radius

Location:
cpp/frams/model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/defassign-f0-SDK.h

    r934 r945  
    6363void Part_MinMaxDef::defassign()
    6464{
    65 volume=1;
     65volume=4.18879;
    6666}
    6767
  • cpp/frams/model/f0-SDK-classes.h

    r934 r945  
    7272{
    7373 {"Geometry",1,1,"p" },
    74  {"f",0,0,"volume","f 0.1 10 1",FIELD(volume),},
     74 {"f",0,0,"volume","f 0.83776 20.94395 4.18879",FIELD(volume),"Recommended default and min,max range for solid-shape Parts created and modified by genetic operators which are responsible for setting sizex,y,z. Default is the volume of the solid sphere (ball) with default radius=1 (radius is the same as sizex,y,z). Minimum is 5x less, maximum is 5x more.",},
    7575 {0,0,0,}
    7676};
Note: See TracChangeset for help on using the changeset viewer.