Changeset 1067 for cpp/tests/genomanipulation-complex.goal
- Timestamp:
- 02/02/21 00:31:41 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/tests/genomanipulation-complex.goal
r1033 r1067 36 36 37 37 [this data is provided by Part::properties() ] 38 # id type name group (2 2properties)38 # id type name group (21 properties) 39 39 0. x = 1.0 f position.x Geometry 40 40 1. y = 0.0 f position.y Geometry … … 55 55 16. i = s info Other properties 56 56 17. 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 57 18. vr = 0.5 f 0.0 1.0 1.0 red component Visual 58 19. vg = 0.5 f 0.0 1.0 1.0 green component Visual 59 20. vb = 0.5 f 0.0 1.0 1.0 blue component Visual 61 60 62 61 However, there is a subset of properties which may be modified more freely. … … 66 65 67 66 [this data is provided by Part::extraProperties() ] 68 # id type name group ( 9properties)67 # id type name group (8 properties) 69 68 0. h = 0.0 f 0 1 0 hollow Extra properties 70 69 1. dn = 1.0 f 0.2 5.0 1.0 density Extra properties … … 72 71 3. ing = 0.53125 f 0.0 1.0 0.25 ingestion Extra properties 73 72 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 78 76 79 77 This set of properties can vary from release to release, … … 83 81 Now we will try to change some of properties: 84 82 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' 87 85 Setting new value... [ using ParamInterface::set() ] 88 The value is now '0. 514873'86 The value is now '0.715189' 89 87 90 88 Let's see f0... (check out part #1 !) 91 89 92 90 p: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.591 p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5 94 92 p:2.0, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5 95 93 j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5 … … 145 143 146 144 p: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.5145 p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5 148 146 p:2.0, z=0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5 149 147 j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5 … … 159 157 160 158 p: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.5159 p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5 162 160 p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5 163 161 j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5 … … 172 170 173 171 p: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.5172 p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5 175 173 p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5 176 174 j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5 … … 188 186 189 187 p: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.5188 p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5 191 189 p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5 192 190 j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5 … … 215 213 216 214 p: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.5215 p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5 218 216 p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5 219 217 j:0, 1, dx=1.0, 0.0, 0.0, stam=0.15625, vr=0.5, 0.5, 0.5 … … 298 296 299 297 p: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.5298 p:1.0, fr=1.12, ing=0.53125, as=0.715189, vr=0.5, 0.5, 0.5 301 299 p:2.0, z=-0.1, fr=0.976, ing=0.475, as=0.175, vr=0.5, 0.5, 0.5 302 300 j: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.