Ignore:
Timestamp:
02/02/21 00:31:41 (3 years ago)
Author:
sz
Message:

sdk tests updated (remove Part.vs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/tests/genomanipulation-complex.goal

    r1033 r1067  
    3636
    3737 [this data is provided by Part::properties() ]
    38  #        id                      type  name        group (22 properties)
     38 #        id                      type  name        group (21 properties)
    3939 0.        x = 1.0                  f   position.x  Geometry 
    4040 1.        y = 0.0                  f   position.y  Geometry 
     
    555516.        i =                      s   info        Other properties
    565617.   Vstyle = part                 s 0 0 part vis_style   Visual   
    57 18.       vs = 0.2                  f 0.05 0.7 0.2 visual thickness  Visual   
    58 19.       vr = 0.5                  f 0.0 1.0 1.0 red component  Visual   
    59 20.       vg = 0.5                  f 0.0 1.0 1.0 green component  Visual   
    60 21.       vb = 0.5                  f 0.0 1.0 1.0 blue component  Visual   
     5718.       vr = 0.5                  f 0.0 1.0 1.0 red component  Visual   
     5819.       vg = 0.5                  f 0.0 1.0 1.0 green component  Visual   
     5920.       vb = 0.5                  f 0.0 1.0 1.0 blue component  Visual   
    6160
    6261However, there is a subset of properties which may be modified more freely.
     
    6665
    6766 [this data is provided by Part::extraProperties() ]
    68  #        id                      type  name        group (9 properties)
     67 #        id                      type  name        group (8 properties)
    6968 0.        h = 0.0                  f 0 1 0 hollow      Extra properties
    7069 1.       dn = 1.0                  f 0.2 5.0 1.0 density     Extra properties
     
    7271 3.      ing = 0.53125              f 0.0 1.0 0.25 ingestion   Extra properties
    7372 4.       as = 0.15625              f 0.0 1.0 0.25 assimilation  Extra properties
    74  5.       vs = 0.2                  f 0.05 0.7 0.2 visual thickness  Extra properties
    75  6.       vr = 0.5                  f 0.0 1.0 1.0 red component  Extra properties
    76  7.       vg = 0.5                  f 0.0 1.0 1.0 green component  Extra properties
    77  8.       vb = 0.5                  f 0.0 1.0 1.0 blue component  Extra properties
     73 5.       vr = 0.5                  f 0.0 1.0 1.0 red component  Extra properties
     74 6.       vg = 0.5                  f 0.0 1.0 1.0 green component  Extra properties
     75 7.       vb = 0.5                  f 0.0 1.0 1.0 blue component  Extra properties
    7876
    7977This set of properties can vary from release to release,
     
    8381Now we will try to change some of properties:
    8482
    85       Change property #5 to random value from range [0.05..0.7]
    86       Current value of 'vs' (visual thickness) is '0.2'
     83      Change property #4 to random value from range [0..1]
     84      Current value of 'as' (assimilation) is '0.15625'
    8785      Setting new value... [ using ParamInterface::set() ]
    88       The value is now '0.514873'
     86      The value is now '0.715189'
    8987
    9088Let's see f0... (check out part #1 !)
    9189
    9290p:fr=1.12, ing=0.53125, as=0.15625, vr=0.5, 0.5, 0.5
    93 p:1.0, fr=1.12, ing=0.53125, as=0.15625, vs=0.514873, vr=0.5, 0.5, 0.5
     91p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5
    9492p:2.0, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5
    9593j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5
     
    145143
    146144p:fr=1.12, ing=0.53125, as=0.15625, vr=0.5, 0.5, 0.5
    147 p:1.0, fr=1.12, ing=0.53125, as=0.15625, vs=0.514873, vr=0.5, 0.5, 0.5
     145p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5
    148146p:2.0, z=0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5
    149147j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5
     
    159157
    160158p:fr=1.12, ing=0.53125, as=0.15625, vr=0.5, 0.5, 0.5
    161 p:1.0, fr=1.12, ing=0.53125, as=0.15625, vs=0.514873, vr=0.5, 0.5, 0.5
     159p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5
    162160p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5
    163161j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5
     
    172170
    173171p:fr=1.12, ing=0.53125, as=0.15625, vr=0.5, 0.5, 0.5
    174 p:1.0, fr=1.12, ing=0.53125, as=0.15625, vs=0.514873, vr=0.5, 0.5, 0.5
     172p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5
    175173p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5
    176174j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5
     
    188186
    189187p:fr=1.12, ing=0.53125, as=0.15625, vr=0.5, 0.5, 0.5
    190 p:1.0, fr=1.12, ing=0.53125, as=0.15625, vs=0.514873, vr=0.5, 0.5, 0.5
     188p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5
    191189p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5
    192190j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5
     
    215213
    216214p:fr=1.12, ing=0.53125, as=0.15625, vr=0.5, 0.5, 0.5
    217 p:1.0, fr=1.12, ing=0.53125, as=0.15625, vs=0.514873, vr=0.5, 0.5, 0.5
     215p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5
    218216p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5
    219217j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5
     
    298296
    299297p:fr=1.12, ing=0.53125, as=0.15625, vr=0.5, 0.5, 0.5
    300 p:1.0, fr=1.12, ing=0.53125, as=0.15625, vs=0.514873, vr=0.5, 0.5, 0.5
     298p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5
    301299p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5
    302300j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5
Note: See TracChangeset for help on using the changeset viewer.