]> SALOME platform Git repositories - modules/shaper.git/blob - test.squish/suite_STANDALONE/tst_BASE/test.py
Salome HOME
Fix PointCoordindates to PointCoordinates in SketchPlugin
[modules/shaper.git] / test.squish / suite_STANDALONE / tst_BASE / test.py
1 def main():
2     source(findFile("scripts", "common.py"))
3     
4     startApplication("linux_run.sh")
5     set_defaults()
6         
7     #[step] Create parameter a=100
8     parameter_create("a", "100")
9     #[step] Create new parts
10     part_create()
11     #[step] Create sketch with circle center=(0,0) radius="a"
12     sketch_create(help_points("XY_plane"), lambda: circle_create(0, 0, "a"))
13     #[step] Crete extrusion with the circle and to_size="a"
14     points = [(313, 336)] # circle
15     extrusion_feature(points, "a")
16     #[step] Close application
17     close_application()