Skip to content

Commit

Permalink
Fix argument name after rename (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger authored Nov 14, 2024
1 parent 213e4c4 commit b102dd9
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/python3/actuators/example1.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"""

# @todo
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, showFramesObject=1,
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, show_frames_object=1,
nbSection=5, nbFrames=26, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=5., youngModulus= 1.0e8, poissonRatio=0.38, beamRadius=6.2e-1/2.,
beamLength=65.5)
Expand Down
2 changes: 1 addition & 1 deletion examples/python3/actuators/step1.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"""

# @todo
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, showFramesObject=1,
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, show_frames_object=1,
nbSection=14, nbFrames=14, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=5., youngModulus=1.0e8, poissonRatio=0.38, beamRadius=6.2e-1 / 2.,
beamLength=65.5)
Expand Down
2 changes: 1 addition & 1 deletion examples/python3/actuators/step3.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"""

# @todo
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, showFramesObject=1,
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, show_frames_object=1,
nbSection=5, nbFrames=26, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=5., youngModulus=1.0e8, poissonRatio=0.38, beamRadius=6.2e-1 / 2.,
beamLength=65.5)
Expand Down
2 changes: 1 addition & 1 deletion examples/python3/actuators/step4.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"""

# @todo
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, showFramesObject=1,
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, show_frames_object=1,
nbSection=14, nbFrames=14, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=5., youngModulus=1.0e8, poissonRatio=0.38, beamRadius=6.2e-1 / 2.,
beamLength=65.5)
Expand Down
2 changes: 1 addition & 1 deletion examples/python3/actuators/step7.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"""

# @todo
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, showFramesObject=1,
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=65.5, show_frames_object=1,
nbSection=5, nbFrames=26, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=5., youngModulus=1.0e8, poissonRatio=0.38, beamRadius=6.2e-1 / 2.,
beamLength=65.5)
Expand Down
2 changes: 1 addition & 1 deletion examples/python3/tutorial/scene_w9991.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from useful.params import BeamPhysicsParameters, BeamGeometryParameters, SimulationParameters, Parameters

geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30.0, nbSection=6, nbFrames=24,
showFramesObject=1, buildCollisionModel=0)
show_frames_object=1, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=1.0, youngModulus=1.0e4, poissonRatio=0.38,
beamRadius=0.2, beamLength=30.0)
simuParams = SimulationParameters()
Expand Down
2 changes: 1 addition & 1 deletion tutorial/text/cosserat_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def createScene(root_node):
---
- Uses also python $dataclass$
```python
- geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30., showFramesObject=1,nbSection=6, nbFrames=12, buildCollisionModel=0)
- geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30., show_frames_object=1,nbSection=6, nbFrames=12, buildCollisionModel=0)
- physicsParams = BeamPhysicsParameters(beamMass=1., youngModulus=1.0e4, poissonRatio=0.38, beamRadius=1., beamLength=30)
- simuParams = SimulationParameters()
- Params = Parameters(beamGeoParams=geoParams, beamPhysicsParams=physicsParams, simuParams=simuParams)
Expand Down
2 changes: 1 addition & 1 deletion tutorial/tuto_scenes/edit_frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import Sofa
from math import pi

geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30., showFramesObject=1,
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30., show_frames_object=1,
nbSection=6, nbFrames=12, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=1., youngModulus=1.0e4, poissonRatio=0.38, beamRadius=0.5,
beamLength=30)
Expand Down
2 changes: 1 addition & 1 deletion tutorial/tuto_scenes/tuto_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from useful.params import Parameters
from cosserat.CosseratBase import CosseratBase

geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30., showFramesObject=1, nbSection=2, nbFrames=12, buildCollisionModel=0)
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30., show_frames_object=1, nbSection=2, nbFrames=12, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=0.3, youngModulus=1.0e3, poissonRatio=0.38, beamRadius=1., beamLength=30)
simuParams = SimulationParameters()
Params = Parameters(beamGeoParams=geoParams, beamPhysicsParams=physicsParams, simuParams=simuParams)
Expand Down
2 changes: 1 addition & 1 deletion tutorial/tuto_scenes/tuto_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import Sofa
from math import pi

geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30., showFramesObject=1,
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=30., show_frames_object=1,
nbSection=6, nbFrames=12, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=1., youngModulus=1.0e4, poissonRatio=0.38, beamRadius=0.5,
beamLength=30)
Expand Down
2 changes: 1 addition & 1 deletion tutorial/tuto_scenes/tuto_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

path = f'{os.path.dirname(os.path.abspath(__file__))}/../../examples/python3/actuators/mesh/'

geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=81., showFramesObject=1,
geoParams = BeamGeometryParameters(init_pos=[0., 0., 0.], beamLength=81., show_frames_object=1,
nbSection=12, nbFrames=32, buildCollisionModel=0)
physicsParams = BeamPhysicsParameters(beamMass=1., youngModulus=5.e6, poissonRatio=0.4, beamRadius=0.5,
beamLength=30)
Expand Down

0 comments on commit b102dd9

Please sign in to comment.