:SALOME*.Mirror_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Mirror'}
:SALOME*.Modules_QtxToolBar {name='SalomeModules' type='QtxToolBar' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Modules'}
:SALOME*.New part_QToolButton {text='New part' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
-:SALOME*.NewGeom_QToolButton {text='NewGeom' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
+:SALOME*.SHAPER_QToolButton {text='SHAPER' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
:SALOME*.New_QToolButton {text='New' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
:SALOME*.OCC scene:1 - viewer:1 - 3D_SOCC_ViewWindow {type='SOCC_ViewWindow' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='OCC scene:1 - viewer:1 - 3D'}
:SALOME*.OCC scene:1 - viewer:1_OCCViewer_ViewFrame {type='OCCViewer_ViewFrame' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='OCC scene:1 - viewer:1'}
testSettings.logScreenshotOnError = True
testSettings.logScreenshotOnFail = True
-# RESULTS_PATH = "/dn48/newgeom/eso/sources/test.squish/shared/testresults/"
+# RESULTS_PATH = "/dn48/SHAPER/eso/sources/test.squish/shared/testresults/"
DATA_PATH = os.getenv('TEST_DATA_DIR')
g_points = {"XY_plane": (332, 250), "XZ_plane": (355, 207)} # one of the construction planes
def set_defaults():
waitForObject(":SALOME*_STD_TabDesktop").resize(1024, 768)
-def activate_newgeom():
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+def activate_SHAPER():
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
clickButton(waitForObject(":Activate module.New_QPushButton"))
def close_application():
startApplication("salome_run.sh")
- activate_newgeom()
+ activate_SHAPER()
clickButton(waitForObject(":SALOME*.Parameter_QToolButton"))
type(waitForObject(":Parameter_QLineEdit"), "a")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Boolean_001
# [Topic] 'Boolean cut' functionality
# [Tested functionality]
# [step] Open 'for_extrusion_001.hdf'
open(DATA_PATH + "/for_boolean_001.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Boolean_002
# [Topic] 'Boolean fuse' functionality
# [Tested functionality]
# [step] Open 'for_extrusion_001.hdf'
open(DATA_PATH + "/for_boolean_001.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Boolean_003
# [Topic] 'Boolean common' functionality
# [Tested functionality]
# [step] Open 'for_extrusion_001.hdf'
open(DATA_PATH + "/for_boolean_001.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Construction_001
# [Topic] 'Construction of point, axis and plane' functionality
# [Tested functionality]
# [step] Open 'for_construction_001.hdf'
open(DATA_PATH + "/for_construction_001.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Extrusion_001
# [Topic] 'Extrusion from size to size' functionality
# [Tested functionality]
# [step] Open 'for_extrusion_001.hdf'
open(DATA_PATH + "/for_extrusion_001.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Extrusion_002
# [Topic] 'Extrusion by boarding planes and offsets' functionality
# [Tested functionality]
# [step] Open 'for_extrusion_001.hdf'
open(DATA_PATH + "/for_extrusion_002.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Extrusion_003
# [Topic] 'Extrusion_cut' functionality
# [Tested functionality]
# [step] Open 'for_extrusion_001.hdf'
open(DATA_PATH + "/for_extrusion_003.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Extrusion_004
# [Topic] 'Extrusion_Fuse by sizes' functionality
# [Tested functionality]
# [step] Open 'for_extrusion_003.hdf'
open(DATA_PATH + "/for_extrusion_003.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Extrusion_006
# [Topic] 'Extrusion_cut by planes' functionality
# [Tested functionality]
# [step] Open 'for_extrusion_006.hdf'
open(DATA_PATH + "/for_extrusion_006.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
@Given("Launch application in salome mode")
def step(context):
startApplication("salome_run.sh")
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
clickButton(waitForObject(":Activate module.New_QPushButton"))
@When("Create parameter a=30")
startApplication("salome_run.sh")
- activate_newgeom()
+ activate_SHAPER()
#[step] Create parameter 'aa = 4'
activateItem(waitForObjectItem(":SALOME*_QMenuBar", "Part"))
startApplication("salome_run.sh")
- activate_newgeom()
+ activate_SHAPER()
clickButton(waitForObject(":SALOME*.Parameter_QToolButton"))
type(waitForObject(":Parameter_QLineEdit"), "a")
startApplication("salome_run.sh")
- activate_newgeom()
+ activate_SHAPER()
#[step] Click menu Part->Parameter
activateItem(waitForObjectItem(":SALOME*_QMenuBar", "Part"))
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Partition_001
# [Topic] 'Partition' functionality
# [Tested functionality]
# [step] Open 'for_partition_001.hdf'
open(DATA_PATH + "/for_partition_001.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Revolution_001
# [Topic] 'Revolution by angles' functionality
# [Tested functionality]
# [step] Open 'for_revolution_001.hdf'
open(DATA_PATH + "/for_revolution_001.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Revolution_003
# [Topic] 'RevolutionCut by angles' functionality
# [Tested functionality]
# [step] Open 'for_revolution_003.hdf'
open(DATA_PATH + "/for_revolution_003.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Revolution_004
# [Topic] 'RevolutionFuse by angles' functionality
# [Tested functionality]
# [step] Open 'for_revolution_004.hdf'
open(DATA_PATH + "/for_revolution_004.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Revolution_005
# [Topic] 'RevolutionFuse by planes and offsets' functionality
# [Tested functionality]
# [step] Open 'for_revolution_005.hdf'
open(DATA_PATH + "/for_revolution_005.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Revolution_006
# [Topic] 'RevolutionCut by planes and offsets' functionality
# [Tested functionality]
# [step] Open 'for_revolution_003.hdf'
open(DATA_PATH + "/for_revolution_003.hdf")
- # [step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ # [step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
# [step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
source(findFile("scripts", "common.py"))
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Sketch_001
#[Topic] Creation of objects in sketch
#[Tested functionality] Creation of objects during sketching by 2 ways: direct input of coordinates and clicking in viewer. Creation of auxiliary objects
set_defaults()
- #[step] Activate NewGeom
+ #[step] Activate SHAPER
#[step]Click 'New' button
- activate_newgeom()
+ activate_SHAPER()
#[section] Creation of sketch and objects inside it
#[step] Part - New part
test.vp("VP2")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
#[Scenario] Sketch_002
#[Topic] Parallel objects
#[Tested functionality]Parallelism between main lines
set_defaults()
- #[step] Activate NewGeom
+ #[step] Activate SHAPER
#[step]Click 'New' button
- activate_newgeom()
+ activate_SHAPER()
#[section] Creation of main lines and make them parallel
sketch_create(help_points("XY_plane"), lambda: sketch())
circle_create_in_view((302, 221), (436, 287))
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_003
#[Topic]
#[Tested functionality] Saving and opening studies
set_defaults()
#[section] Creation of 3D model
- #[step] Activate NewGeom
+ #[step] Activate SHAPER
#[step]Click 'New' button
- activate_newgeom()
+ activate_SHAPER()
#[step] Create new part
part_create()
#[step] Create sketch, consisting from one circle
#[step] File - Open
#[step} Open just saved file
open("RESULTS_PATH + sketch_003.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
import os
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_004
#[Topic] 'Distance' constraint
#[Tested functionality]
#[step] Open 'for_sketch_004.hdf'
open(os.path.join(DATA_PATH, "for_sketch_004.hdf"))
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Sketch_005
#[Topic] Fixed point
#[Tested functionality]
set_defaults()
- #[step] Activate NewGeom
+ #[step] Activate SHAPER
#[step]Click 'New' button
- activate_newgeom()
+ activate_SHAPER()
#[section] Creation of sketch and objects inside it
#[step] Part - New part
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_006
#[Topic] Parallel lines
#[Tested functionality] 'Parallel' constraint
#[step] Open 'for_sketch_006.hdf'
open(DATA_PATH + "/for_sketch_006.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_007
#[Topic] Perpendicular lines
#[Tested functionality] 'Perpendicular' constraint
#[step] Open 'for_sketch_006.hdf'
open(DATA_PATH + "/for_sketch_007.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Activate Part_1
waitForObjectItem(":Object browser_XGUI_DataTree", "Part\\_1 (Not loaded)")
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] Sketch_008
#[Topic] 'Coincident' functionality
#[Tested functionality]
set_defaults()
- #[step] Activate NewGeom
+ #[step] Activate SHAPER
#[step]Click 'New' button
- activate_newgeom()
+ activate_SHAPER()
#[section] Creation of sketch and objects inside it
#[step] Part - New part
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_009
#[Topic] 'Equal' functionality
#[Tested functionality]
#[step] Open 'for_sketch_006.hdf'
open(DATA_PATH + "/for_sketch_009.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_010
#[Topic] 'Vertical' functionality
#[Tested functionality]
#[step] Open 'for_sketch_006.hdf'
open(DATA_PATH + "/for_sketch_010.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_010
#[Topic] 'Horizontal' functionality
#[Tested functionality]
#[step] Open 'for_sketch_006.hdf'
open(DATA_PATH + "/for_sketch_010.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_012
#[Topic] 'Length' functionality
#[Tested functionality]
#[step] Open 'for_sketch_012.hdf'
open(DATA_PATH + "/for_sketch_012.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_013
#[Topic] 'Radius' functionality
#[Tested functionality]
#[step] Open 'for_sketch_013.hdf'
open(DATA_PATH + "/for_sketch_013.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_014
#[Topic] 'Mirror' functionality
#[Tested functionality]
#[step] Open 'for_sketch_014.hdf'
open(DATA_PATH + "/for_sketch_014.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_015
#[Topic] 'Fillet' functionality
#[Tested functionality]
#[step] Open 'for_sketch_015.hdf'
open(DATA_PATH + "/for_sketch_015.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_016
#[Topic] 'Translation' functionality
#[Tested functionality]
#[step] Open 'for_sketch_016.hdf'
open(DATA_PATH + "/for_sketch_016.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_017
#[Topic] 'Rotation' functionality
#[Tested functionality]
#[step] Open 'for_sketch_016.hdf'
open(DATA_PATH + "/for_sketch_016.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
def main():
- #[project] NewGEOM
+ #[project] SHAPER
#[Scenario] Sketch_018
#[Topic] 'Tangency' functionality
#[Tested functionality]
#[step] Open 'for_sketch_018.hdf'
open(DATA_PATH + "/for_sketch_018.hdf")
- #[step] Activate NewGeom
- clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+ #[step] Activate SHAPER
+ clickButton(waitForObject(":SALOME*.SHAPER_QToolButton"))
#[step] Edit 'Sketch_1'
waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
startApplication("salome_run.sh")
set_defaults()
- activate_newgeom()
+ activate_SHAPER()
sketch_create(help_points("XY_plane"), lambda: sketch_circle())
sketch_create(help_points("XY_plane"), lambda: sketch_lines())
source(findFile("scripts", "common.py"))
startApplication("salome_run.sh")
- activate_newgeom()
+ activate_SHAPER()
#[step] Check that default elements are enabled: Parameters (0), Constructions (4), Parts (0)
waitForObjectItem(":Object browser_XGUI_DataTree", "Constructions (4)")
clickButton(waitForObject(":Boolean.property_panel_ok_QToolButton"))
def main():
- # [project] NewGEOM
+ # [project] SHAPER
# [Scenario] 'Platine' model created by PythonAPI
# [Topic] PythonAPI functionality
# [Tested functionality]
set_defaults()
# [step] Activate Shaper module and create new file
- activate_newgeom()
+ activate_SHAPER()
# [step] In Python console type: import examples.Platine
type(waitForObject(":Python Console_PyConsole_EnhEditor"), "import examples.Platine")