Changeset 945


Ignore:
Timestamp:
06/09/20 13:58:57 (10 months 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
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/config/f0-SDK.def

    r934 r945  
    3636CLASS(Part_MinMaxDef,f0_part_minmaxdef,p)
    3737GROUP(Geometry)
    38 PROP(f,0,0,volume,f,0.1,10,1,volume)
     38PROP(f,0,0,volume,f,0.83776,20.94395,4.18879,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.'')
    3939ENDCLASS
    4040
     
    177177ENDNEUROCLASS
    178178
    179 NEUROCLASS(SolidMuscle,M,Muscle,,1,0,2)
     179NEUROCLASS(SolidMuscle,M,Muscle for solids,,1,0,2)
    180180SHAPETYPE(SolidsShapeType)
    181181VISUALHINTS(EffectorClass+AtFirstPart+SolidMuscleFlag)
  • cpp/frams/config/f0.def

    r934 r945  
    3636CLASS(Part_MinMaxDef,f0_part_minmaxdef,p)
    3737GROUP(Geometry)
    38 PROP(f,0,0,volume,f,0.1,10,1,volume)
     38PROP(f,0,0,volume,f,0.83776,20.94395,4.18879,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.'')
    3939ENDCLASS
    4040
     
    177177ENDNEUROCLASS
    178178
    179 NEUROCLASS(SolidMuscle,M,Muscle,,1,0,2)
     179NEUROCLASS(SolidMuscle,M,Muscle for solids,,1,0,2)
    180180SHAPETYPE(SolidsShapeType)
    181181VISUALHINTS(EffectorClass+AtFirstPart+SolidMuscleFlag)
  • 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.