This commit was generated by cvs2git to create branch 'BR-D5-38-2003'.
Cherrypick from master 2005-12-28 09:12:58 UTC jfa <jfa@opencascade.com> 'Join modifications from branch BR_3_1_0deb': INSTALL adm_local/unix/make_commence.in bin/VERSION build_configure doc/Makefile.in doc/salome/GEOM_index_v3.1.0.html doc/salome/Makefile.in doc/salome/gui/GEOM/add_point_on_edge.htm doc/salome/gui/GEOM/arc.htm doc/salome/gui/GEOM/archimede.htm doc/salome/gui/GEOM/basic_geometrical_objects.htm doc/salome/gui/GEOM/basic_operations.htm doc/salome/gui/GEOM/blocks_operations.htm doc/salome/gui/GEOM/boolean_operations.htm doc/salome/gui/GEOM/box.htm doc/salome/gui/GEOM/building_by_blocks.htm doc/salome/gui/GEOM/chamfer.htm doc/salome/gui/GEOM/changing_display_parameters.htm doc/salome/gui/GEOM/changing_displaying_parameters.htm doc/salome/gui/GEOM/check_free_boundaries.htm doc/salome/gui/GEOM/check_free_faces.htm doc/salome/gui/GEOM/circle.htm doc/salome/gui/GEOM/close_contour.htm doc/salome/gui/GEOM/common.htm doc/salome/gui/GEOM/complex_objects.htm doc/salome/gui/GEOM/compound.htm doc/salome/gui/GEOM/cone.htm doc/salome/gui/GEOM/curve.htm doc/salome/gui/GEOM/cut.htm doc/salome/gui/GEOM/cylinder.htm doc/salome/gui/GEOM/edge.htm doc/salome/gui/GEOM/ellipse.htm doc/salome/gui/GEOM/explode.htm doc/salome/gui/GEOM/explode_on_blocks.htm doc/salome/gui/GEOM/extrusion.htm doc/salome/gui/GEOM/face.htm doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions.htm doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions.htm doc/salome/gui/GEOM/fillet.htm doc/salome/gui/GEOM/filling.htm doc/salome/gui/GEOM/fuse.htm doc/salome/gui/GEOM/geom.log doc/salome/gui/GEOM/geometrical_objects.htm doc/salome/gui/GEOM/geompy_doc/GEOM__TestMeasures_8py.html doc/salome/gui/GEOM/geompy_doc/doxygen.css doc/salome/gui/GEOM/geompy_doc/doxygen.png doc/salome/gui/GEOM/geompy_doc/geompy_8py__incl.jpg doc/salome/gui/GEOM/geompy_doc/geompy_8py__incl.map doc/salome/gui/GEOM/geompy_doc/geompy_8py__incl.md5 doc/salome/gui/GEOM/geompy_doc/namespaceGEOM__TestMeasures.html doc/salome/gui/GEOM/geompy_doc/namespacegeompy.html doc/salome/gui/GEOM/glue_faces.htm doc/salome/gui/GEOM/groups.htm doc/salome/gui/GEOM/image10.gif doc/salome/gui/GEOM/image27.gif doc/salome/gui/GEOM/image3.gif doc/salome/gui/GEOM/line.htm doc/salome/gui/GEOM/local_coordinate_system.htm doc/salome/gui/GEOM/measurement_tools.htm doc/salome/gui/GEOM/mirror_image.htm doc/salome/gui/GEOM/modify_the_location.htm doc/salome/gui/GEOM/multi_rotation.htm doc/salome/gui/GEOM/multi_transformation.htm doc/salome/gui/GEOM/multi_translation.htm doc/salome/gui/GEOM/newentity_blocks.htm doc/salome/gui/GEOM/offset_surface.htm doc/salome/gui/GEOM/partition.htm doc/salome/gui/GEOM/pics/arc.png doc/salome/gui/GEOM/pics/archimede.png doc/salome/gui/GEOM/pics/archimedesn1.png doc/salome/gui/GEOM/pics/archimedesn2.png doc/salome/gui/GEOM/pics/archimedesn3.png doc/salome/gui/GEOM/pics/arcsn.png doc/salome/gui/GEOM/pics/bezier.png doc/salome/gui/GEOM/pics/block1.png doc/salome/gui/GEOM/pics/block2.png doc/salome/gui/GEOM/pics/block3.png doc/salome/gui/GEOM/pics/block4.png doc/salome/gui/GEOM/pics/block5.png doc/salome/gui/GEOM/pics/block_explodesn.png doc/salome/gui/GEOM/pics/bool1.png doc/salome/gui/GEOM/pics/bool2.png doc/salome/gui/GEOM/pics/bool3.png doc/salome/gui/GEOM/pics/box1.png doc/salome/gui/GEOM/pics/box2.png doc/salome/gui/GEOM/pics/boxes.png doc/salome/gui/GEOM/pics/chamfer1.png doc/salome/gui/GEOM/pics/chamfer2.png doc/salome/gui/GEOM/pics/chamfer3.png doc/salome/gui/GEOM/pics/chamfer_all.png doc/salome/gui/GEOM/pics/chamfer_edge.png doc/salome/gui/GEOM/pics/chamfer_faces.png doc/salome/gui/GEOM/pics/circle1.png doc/salome/gui/GEOM/pics/circle2.png doc/salome/gui/GEOM/pics/circles.png doc/salome/gui/GEOM/pics/colorsn.png doc/salome/gui/GEOM/pics/commonsn.png doc/salome/gui/GEOM/pics/compoundsn.png doc/salome/gui/GEOM/pics/cone1.png doc/salome/gui/GEOM/pics/cone2.png doc/salome/gui/GEOM/pics/cones.png doc/salome/gui/GEOM/pics/creategroup.png doc/salome/gui/GEOM/pics/curve.png doc/salome/gui/GEOM/pics/cutsn.png doc/salome/gui/GEOM/pics/cylinder1.png doc/salome/gui/GEOM/pics/cylinder2.png doc/salome/gui/GEOM/pics/cylinders.png doc/salome/gui/GEOM/pics/disp_mode1sn.png doc/salome/gui/GEOM/pics/disp_mode2sn.png doc/salome/gui/GEOM/pics/distance.png doc/salome/gui/GEOM/pics/edgesn.png doc/salome/gui/GEOM/pics/editgroup.png doc/salome/gui/GEOM/pics/ellipse.png doc/salome/gui/GEOM/pics/ellipsesn.png doc/salome/gui/GEOM/pics/export.png doc/salome/gui/GEOM/pics/extrusion.png doc/salome/gui/GEOM/pics/facesn1.png doc/salome/gui/GEOM/pics/facesn2.png doc/salome/gui/GEOM/pics/facesn3.png doc/salome/gui/GEOM/pics/fillet1.png doc/salome/gui/GEOM/pics/fillet2.png doc/salome/gui/GEOM/pics/fillet3.png doc/salome/gui/GEOM/pics/fillet_all.png doc/salome/gui/GEOM/pics/fillet_edge.png doc/salome/gui/GEOM/pics/fillet_prism.png doc/salome/gui/GEOM/pics/filling.png doc/salome/gui/GEOM/pics/filling_compoundsn.png doc/salome/gui/GEOM/pics/fillingsn.png doc/salome/gui/GEOM/pics/free_boudaries1.png doc/salome/gui/GEOM/pics/free_boudaries2.png doc/salome/gui/GEOM/pics/free_faces1.png doc/salome/gui/GEOM/pics/free_faces2.png doc/salome/gui/GEOM/pics/fusesn1.png doc/salome/gui/GEOM/pics/fusesn2.png doc/salome/gui/GEOM/pics/glue_faces1.png doc/salome/gui/GEOM/pics/glue_faces2.png doc/salome/gui/GEOM/pics/import.png doc/salome/gui/GEOM/pics/interpol.png doc/salome/gui/GEOM/pics/isos_u12_v12sn.png doc/salome/gui/GEOM/pics/line.png doc/salome/gui/GEOM/pics/lines.png doc/salome/gui/GEOM/pics/measures1.png doc/salome/gui/GEOM/pics/measures10.png doc/salome/gui/GEOM/pics/measures3.png doc/salome/gui/GEOM/pics/measures4.png doc/salome/gui/GEOM/pics/measures5.png doc/salome/gui/GEOM/pics/measures8.png doc/salome/gui/GEOM/pics/measures9.png doc/salome/gui/GEOM/pics/mirror_axissn1.png doc/salome/gui/GEOM/pics/mirror_axissn2.png doc/salome/gui/GEOM/pics/mirror_planesn1.png doc/salome/gui/GEOM/pics/mirror_planesn2.png doc/salome/gui/GEOM/pics/mirror_pointsn1.png doc/salome/gui/GEOM/pics/mirror_pointsn2.png doc/salome/gui/GEOM/pics/mtrans1.png doc/salome/gui/GEOM/pics/mtrans2.png doc/salome/gui/GEOM/pics/mtransf1.png doc/salome/gui/GEOM/pics/mtransf2.png doc/salome/gui/GEOM/pics/mtransf3.png doc/salome/gui/GEOM/pics/mtransf4.png doc/salome/gui/GEOM/pics/multi_rotation1d1.png doc/salome/gui/GEOM/pics/multi_rotation1d2.png doc/salome/gui/GEOM/pics/multi_rotation2d1.png doc/salome/gui/GEOM/pics/multi_rotation2d2.png doc/salome/gui/GEOM/pics/multi_transformationsn1d.png doc/salome/gui/GEOM/pics/multi_transformationsn2d.png doc/salome/gui/GEOM/pics/multi_translation1dsn.png doc/salome/gui/GEOM/pics/multi_translation2dsn.png doc/salome/gui/GEOM/pics/multi_translation_initialsn.png doc/salome/gui/GEOM/pics/neo-basicprop.png doc/salome/gui/GEOM/pics/neo-detect2.png doc/salome/gui/GEOM/pics/neo-isos.png doc/salome/gui/GEOM/pics/neo-localcs1.png doc/salome/gui/GEOM/pics/neo-localcs2.png doc/salome/gui/GEOM/pics/neo-localcs3.png doc/salome/gui/GEOM/pics/neo-materials.png doc/salome/gui/GEOM/pics/neo-mrot1.png doc/salome/gui/GEOM/pics/neo-mrot2.png doc/salome/gui/GEOM/pics/neo-obj1.png doc/salome/gui/GEOM/pics/neo-obj2.png doc/salome/gui/GEOM/pics/neo-obj3.png doc/salome/gui/GEOM/pics/neo-obj4.png doc/salome/gui/GEOM/pics/neo-obj5.png doc/salome/gui/GEOM/pics/neo-obj6.png doc/salome/gui/GEOM/pics/neo-obj7.png doc/salome/gui/GEOM/pics/neo-point2.png doc/salome/gui/GEOM/pics/neo-scetcher1.png doc/salome/gui/GEOM/pics/neo-scetcher2.png doc/salome/gui/GEOM/pics/neo-section.png doc/salome/gui/GEOM/pics/neo-transparency.png doc/salome/gui/GEOM/pics/new-tolerance.png doc/salome/gui/GEOM/pics/offsetsn.png doc/salome/gui/GEOM/pics/partition1.png doc/salome/gui/GEOM/pics/partition2.png doc/salome/gui/GEOM/pics/partitionsn1.png doc/salome/gui/GEOM/pics/partitionsn2.png doc/salome/gui/GEOM/pics/pipe.png doc/salome/gui/GEOM/pics/pipe_wire_edgesn.png doc/salome/gui/GEOM/pics/pipesn.png doc/salome/gui/GEOM/pics/plane1.png doc/salome/gui/GEOM/pics/plane2.png doc/salome/gui/GEOM/pics/plane3.png doc/salome/gui/GEOM/pics/plane_on_face.png doc/salome/gui/GEOM/pics/planes1.png doc/salome/gui/GEOM/pics/point1.png doc/salome/gui/GEOM/pics/point3.png doc/salome/gui/GEOM/pics/points.png doc/salome/gui/GEOM/pics/polyline.png doc/salome/gui/GEOM/pics/prisms_basessn.png doc/salome/gui/GEOM/pics/prismssn.png doc/salome/gui/GEOM/pics/repair1.png doc/salome/gui/GEOM/pics/repair10.png doc/salome/gui/GEOM/pics/repair2.png doc/salome/gui/GEOM/pics/repair3.png doc/salome/gui/GEOM/pics/repair4.png doc/salome/gui/GEOM/pics/repair5.png doc/salome/gui/GEOM/pics/repair6.png doc/salome/gui/GEOM/pics/repair7.png doc/salome/gui/GEOM/pics/repair8.png doc/salome/gui/GEOM/pics/repair9.png doc/salome/gui/GEOM/pics/revolution.png doc/salome/gui/GEOM/pics/revolutionsn.png doc/salome/gui/GEOM/pics/rotationsn1.png doc/salome/gui/GEOM/pics/rotationsn2.png doc/salome/gui/GEOM/pics/scale_transformsn1.png doc/salome/gui/GEOM/pics/scale_transformsn2.png doc/salome/gui/GEOM/pics/sectionsn.png doc/salome/gui/GEOM/pics/shellsn.png doc/salome/gui/GEOM/pics/solidsn.png doc/salome/gui/GEOM/pics/sphere1.png doc/salome/gui/GEOM/pics/sphere2.png doc/salome/gui/GEOM/pics/spheres.png doc/salome/gui/GEOM/pics/supp_int_wires1.png doc/salome/gui/GEOM/pics/supp_int_wires2.png doc/salome/gui/GEOM/pics/suppress_faces1.png doc/salome/gui/GEOM/pics/suppress_faces2.png doc/salome/gui/GEOM/pics/torus1.png doc/salome/gui/GEOM/pics/torus2.png doc/salome/gui/GEOM/pics/toruses.png doc/salome/gui/GEOM/pics/transformation1.png doc/salome/gui/GEOM/pics/transformation10.png doc/salome/gui/GEOM/pics/transformation11.png doc/salome/gui/GEOM/pics/transformation2.png doc/salome/gui/GEOM/pics/transformation3.png doc/salome/gui/GEOM/pics/transformation4.png doc/salome/gui/GEOM/pics/transformation5.png doc/salome/gui/GEOM/pics/transformation6.png doc/salome/gui/GEOM/pics/transformation7.png doc/salome/gui/GEOM/pics/transformation8.png doc/salome/gui/GEOM/pics/transformation9.png doc/salome/gui/GEOM/pics/translationsn1.png doc/salome/gui/GEOM/pics/translationsn2.png doc/salome/gui/GEOM/pics/transparencysn.png doc/salome/gui/GEOM/pics/vector1.png doc/salome/gui/GEOM/pics/vector2.png doc/salome/gui/GEOM/pics/vectors.png doc/salome/gui/GEOM/pics/wiresn.png doc/salome/gui/GEOM/pics/workplane4.png doc/salome/gui/GEOM/pics/workplane5.png doc/salome/gui/GEOM/pics/workplane6.png doc/salome/gui/GEOM/pipe_creation.htm doc/salome/gui/GEOM/plane.htm doc/salome/gui/GEOM/point.htm doc/salome/gui/GEOM/primitives.htm doc/salome/gui/GEOM/propagate.htm doc/salome/gui/GEOM/repairing_operations.htm doc/salome/gui/GEOM/revolution.htm doc/salome/gui/GEOM/rotation.htm doc/salome/gui/GEOM/scale_transform.htm doc/salome/gui/GEOM/section.htm doc/salome/gui/GEOM/sewing.htm doc/salome/gui/GEOM/shape_processing.htm doc/salome/gui/GEOM/shell.htm doc/salome/gui/GEOM/sketcher.htm doc/salome/gui/GEOM/sketcher_tui.htm doc/salome/gui/GEOM/solid.htm doc/salome/gui/GEOM/sphere.htm doc/salome/gui/GEOM/suppress_faces.htm doc/salome/gui/GEOM/suppress_holes.htm doc/salome/gui/GEOM/suppress_internal_wires.htm doc/salome/gui/GEOM/transformation_operations.htm doc/salome/gui/GEOM/translation.htm doc/salome/gui/GEOM/turus.htm doc/salome/gui/GEOM/vector.htm doc/salome/gui/GEOM/whdata/whftdata0.htm doc/salome/gui/GEOM/whdata/whfts.htm doc/salome/gui/GEOM/whdata/whfwdata0.htm doc/salome/gui/GEOM/whdata/whtdata0.htm doc/salome/gui/GEOM/whgdata/whlstf0.htm doc/salome/gui/GEOM/whgdata/whlstf1.htm doc/salome/gui/GEOM/whgdata/whlstf10.htm doc/salome/gui/GEOM/whgdata/whlstf11.htm doc/salome/gui/GEOM/whgdata/whlstf12.htm doc/salome/gui/GEOM/whgdata/whlstf13.htm doc/salome/gui/GEOM/whgdata/whlstf14.htm doc/salome/gui/GEOM/whgdata/whlstf2.htm doc/salome/gui/GEOM/whgdata/whlstf3.htm doc/salome/gui/GEOM/whgdata/whlstf4.htm doc/salome/gui/GEOM/whgdata/whlstf5.htm doc/salome/gui/GEOM/whgdata/whlstf6.htm doc/salome/gui/GEOM/whgdata/whlstf7.htm doc/salome/gui/GEOM/whgdata/whlstf8.htm doc/salome/gui/GEOM/whgdata/whlstf9.htm doc/salome/gui/GEOM/whgdata/whlstfl0.htm doc/salome/gui/GEOM/whgdata/whlstfl10.htm doc/salome/gui/GEOM/whgdata/whlstfl11.htm doc/salome/gui/GEOM/whgdata/whlstfl12.htm doc/salome/gui/GEOM/whgdata/whlstfl13.htm doc/salome/gui/GEOM/whgdata/whlstfl14.htm doc/salome/gui/GEOM/whgdata/whlstfl15.htm doc/salome/gui/GEOM/whgdata/whlstfl16.htm doc/salome/gui/GEOM/whgdata/whlstfl17.htm doc/salome/gui/GEOM/whgdata/whlstfl18.htm doc/salome/gui/GEOM/whgdata/whlstfl19.htm doc/salome/gui/GEOM/whgdata/whlstfl2.htm doc/salome/gui/GEOM/whgdata/whlstfl20.htm doc/salome/gui/GEOM/whgdata/whlstfl21.htm doc/salome/gui/GEOM/whgdata/whlstfl22.htm doc/salome/gui/GEOM/whgdata/whlstfl23.htm doc/salome/gui/GEOM/whgdata/whlstfl24.htm doc/salome/gui/GEOM/whgdata/whlstfl25.htm doc/salome/gui/GEOM/whgdata/whlstfl3.htm doc/salome/gui/GEOM/whgdata/whlstfl4.htm doc/salome/gui/GEOM/whgdata/whlstfl5.htm doc/salome/gui/GEOM/whgdata/whlstfl6.htm doc/salome/gui/GEOM/whgdata/whlstfl7.htm doc/salome/gui/GEOM/whgdata/whlstfl8.htm doc/salome/gui/GEOM/whgdata/whlstfl9.htm doc/salome/gui/GEOM/whgdata/whlstt1.htm doc/salome/gui/GEOM/whgdata/whlstt10.htm doc/salome/gui/GEOM/whgdata/whlstt11.htm doc/salome/gui/GEOM/whgdata/whlstt12.htm doc/salome/gui/GEOM/whgdata/whlstt13.htm doc/salome/gui/GEOM/whgdata/whlstt14.htm doc/salome/gui/GEOM/whgdata/whlstt15.htm doc/salome/gui/GEOM/whgdata/whlstt16.htm doc/salome/gui/GEOM/whgdata/whlstt2.htm doc/salome/gui/GEOM/whgdata/whlstt3.htm doc/salome/gui/GEOM/whgdata/whlstt4.htm doc/salome/gui/GEOM/whgdata/whlstt5.htm doc/salome/gui/GEOM/whgdata/whlstt6.htm doc/salome/gui/GEOM/whgdata/whlstt7.htm doc/salome/gui/GEOM/whgdata/whlstt8.htm doc/salome/gui/GEOM/whgdata/whlstt9.htm doc/salome/gui/GEOM/whgdata/whnvl32.htm doc/salome/gui/GEOM/whskin_info.htm doc/salome/gui/GEOM/whxdata/whftdata0.xml doc/salome/gui/GEOM/whxdata/whfts.xml doc/salome/gui/GEOM/whxdata/whfwdata0.xml doc/salome/gui/GEOM/whxdata/whtdata0.xml doc/salome/gui/GEOM/wire.htm doc/salome/gui/GEOM/working_plane.htm doc/salome/gui/GEOM/working_with_groups.htm doc/salome/tui/GEOM/doxyfile doc/salome/tui/GEOM/doxyfile_py doc/salome/tui/GEOM/sources/static/tree.js idl/GEOM_Gen.idl resources/GEOMCatalog.xml src/BREPExport/BREPExport.cxx src/BREPImport/BREPImport.cxx src/BasicGUI/BasicGUI_ArcDlg.cxx src/BasicGUI/BasicGUI_CircleDlg.cxx src/BasicGUI/BasicGUI_CurveDlg.cxx src/BasicGUI/BasicGUI_EllipseDlg.cxx src/BasicGUI/BasicGUI_LineDlg.cxx src/BasicGUI/BasicGUI_MarkerDlg.cxx src/BasicGUI/BasicGUI_PlaneDlg.cxx src/BasicGUI/BasicGUI_PointDlg.cxx src/BasicGUI/BasicGUI_VectorDlg.cxx src/BasicGUI/BasicGUI_WorkingPlaneDlg.cxx src/BlocksGUI/BlocksGUI_BlockDlg.cxx src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx src/BlocksGUI/BlocksGUI_PropagateDlg.cxx src/BlocksGUI/BlocksGUI_QuadFaceDlg.cxx src/BlocksGUI/BlocksGUI_TrsfDlg.cxx src/BooleanGUI/BooleanGUI_Dialog.cxx src/BuildGUI/BuildGUI_CompoundDlg.cxx src/BuildGUI/BuildGUI_EdgeDlg.cxx src/BuildGUI/BuildGUI_FaceDlg.cxx src/BuildGUI/BuildGUI_ShellDlg.cxx src/BuildGUI/BuildGUI_SolidDlg.cxx src/BuildGUI/BuildGUI_WireDlg.cxx src/DlgRef/DlgRef_1List1Spin1Btn_QTD.cxx src/DlgRef/DlgRef_1List1Spin1Btn_QTD.h src/DlgRef/DlgRef_1Sel1Check1List_QTD.cxx src/DlgRef/DlgRef_1Sel1Check1List_QTD.h src/DlgRef/DlgRef_1Sel1Check_QTD.cxx src/DlgRef/DlgRef_1Sel1Check_QTD.h src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.cxx src/DlgRef/DlgRef_1Sel1Spin1Check_QTD.h src/DlgRef/DlgRef_1Sel1Spin_QTD.cxx src/DlgRef/DlgRef_1Sel1Spin_QTD.h src/DlgRef/DlgRef_1Sel2Spin_QTD.cxx src/DlgRef/DlgRef_1Sel2Spin_QTD.h src/DlgRef/DlgRef_1Sel3Check_QTD.cxx src/DlgRef/DlgRef_1Sel3Check_QTD.h src/DlgRef/DlgRef_1Sel3Spin_QTD.cxx src/DlgRef/DlgRef_1Sel3Spin_QTD.h src/DlgRef/DlgRef_1Sel4Spin_QTD.cxx src/DlgRef/DlgRef_1Sel4Spin_QTD.h src/DlgRef/DlgRef_1Sel5Spin_QTD.cxx src/DlgRef/DlgRef_1Sel5Spin_QTD.h src/DlgRef/DlgRef_1Sel_Ext.h src/DlgRef/DlgRef_1Sel_QTD.cxx src/DlgRef/DlgRef_1Sel_QTD.h src/DlgRef/DlgRef_1Spin_QTD.cxx src/DlgRef/DlgRef_1Spin_QTD.h src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.cxx src/DlgRef/DlgRef_2Sel1Spin2Check_QTD.h src/DlgRef/DlgRef_2Sel1Spin_QTD.cxx src/DlgRef/DlgRef_2Sel1Spin_QTD.h src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.cxx src/DlgRef/DlgRef_2Sel2Spin1Check_QTD.h src/DlgRef/DlgRef_2Sel2Spin_QTD.cxx src/DlgRef/DlgRef_2Sel2Spin_QTD.h src/DlgRef/DlgRef_2Sel3Spin_QTD.cxx src/DlgRef/DlgRef_2Sel3Spin_QTD.h src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.cxx src/DlgRef/DlgRef_2Sel4Spin1Check_QTD.h src/DlgRef/DlgRef_2Sel_QTD.cxx src/DlgRef/DlgRef_2Sel_QTD.h src/DlgRef/DlgRef_2Spin_QTD.cxx src/DlgRef/DlgRef_2Spin_QTD.h src/DlgRef/DlgRef_3Check_QTD.cxx src/DlgRef/DlgRef_3Check_QTD.h src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.cxx src/DlgRef/DlgRef_3Sel3Spin1Check_QTD.h src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.cxx src/DlgRef/DlgRef_3Sel4Spin2Check_QTD.h src/DlgRef/DlgRef_3Sel_QTD.cxx src/DlgRef/DlgRef_3Sel_QTD.h src/DlgRef/DlgRef_3Spin1Check_QTD.cxx src/DlgRef/DlgRef_3Spin1Check_QTD.h src/DlgRef/DlgRef_3Spin_QTD.cxx src/DlgRef/DlgRef_3Spin_QTD.h src/DlgRef/DlgRef_4Sel1List1Check_QTD.cxx src/DlgRef/DlgRef_4Sel1List1Check_QTD.h src/DlgRef/DlgRef_4Sel1List_QTD.cxx src/DlgRef/DlgRef_4Sel1List_QTD.h src/DlgRef/DlgRef_6Sel_QTD.cxx src/DlgRef/DlgRef_6Sel_QTD.h src/DlgRef/DlgRef_Skeleton_QTD.cxx src/DlgRef/DlgRef_Skeleton_QTD.h src/DlgRef/UIFiles/ui_to_cxx src/EntityGUI/EntityGUI.cxx src/EntityGUI/EntityGUI_1Sel_QTD.cxx src/EntityGUI/EntityGUI_1Sel_QTD.h src/EntityGUI/EntityGUI_1Spin_QTD.cxx src/EntityGUI/EntityGUI_1Spin_QTD.h src/EntityGUI/EntityGUI_2Spin_QTD.cxx src/EntityGUI/EntityGUI_2Spin_QTD.h src/EntityGUI/EntityGUI_3Spin_QTD.cxx src/EntityGUI/EntityGUI_3Spin_QTD.h src/EntityGUI/EntityGUI_4Spin_QTD.cxx src/EntityGUI/EntityGUI_4Spin_QTD.h src/EntityGUI/EntityGUI_Dir1_QTD.cxx src/EntityGUI/EntityGUI_Dir1_QTD.h src/EntityGUI/EntityGUI_Dir2_QTD.cxx src/EntityGUI/EntityGUI_Dir2_QTD.h src/EntityGUI/EntityGUI_Point_QTD.cxx src/EntityGUI/EntityGUI_Point_QTD.h src/EntityGUI/EntityGUI_Skeleton_QTD.cxx src/EntityGUI/EntityGUI_Skeleton_QTD.h src/EntityGUI/EntityGUI_SketcherDlg.cxx src/EntityGUI/EntityGUI_SubShapeDlg.cxx src/EntityGUI/UIFiles/ui_to_cxx src/GEOM/GEOM_Application.cxx src/GEOM/GEOM_Application.hxx src/GEOM/GEOM_Application.ixx src/GEOM/GEOM_Application.jxx src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx src/GEOM/GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_0.cxx src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx src/GEOM/GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_0.cxx src/GEOM/GEOM_DataMapOfAsciiStringTransient.hxx src/GEOM/GEOM_DataMapOfAsciiStringTransient_0.cxx src/GEOM/GEOM_Engine.cxx src/GEOM/GEOM_Engine.hxx src/GEOM/GEOM_Function.cxx src/GEOM/GEOM_Function.hxx src/GEOM/GEOM_IOperations.cxx src/GEOM/GEOM_IOperations.hxx src/GEOM/GEOM_ISubShape.hxx src/GEOM/GEOM_Object.cxx src/GEOM/GEOM_Object.hxx src/GEOM/GEOM_PythonDump.cxx src/GEOM/GEOM_PythonDump.hxx src/GEOM/GEOM_Solver.cxx src/GEOM/GEOM_Solver.hxx src/GEOM/GEOM_SubShapeDriver.cxx src/GEOM/GEOM_SubShapeDriver.hxx src/GEOM/Handle_GEOM_Application.hxx src/GEOM/Makefile.in src/GEOMAlgo/BlockFix.cdl src/GEOMAlgo/BlockFix.cxx src/GEOMAlgo/BlockFix.jxx src/GEOMAlgo/BlockFix_BlockFixAPI.cdl src/GEOMAlgo/BlockFix_BlockFixAPI.cxx src/GEOMAlgo/BlockFix_BlockFixAPI.jxx src/GEOMAlgo/BlockFix_BlockFixAPI.lxx src/GEOMAlgo/BlockFix_CheckTool.cdl src/GEOMAlgo/BlockFix_CheckTool.cxx src/GEOMAlgo/BlockFix_CheckTool.jxx src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cdl src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.cxx src/GEOMAlgo/BlockFix_PeriodicSurfaceModifier.jxx src/GEOMAlgo/BlockFix_SphereSpaceModifier.cdl src/GEOMAlgo/BlockFix_SphereSpaceModifier.cxx src/GEOMAlgo/BlockFix_SphereSpaceModifier.jxx src/GEOMAlgo/BlockFix_UnionEdges.cdl src/GEOMAlgo/BlockFix_UnionEdges.cxx src/GEOMAlgo/BlockFix_UnionEdges.jxx src/GEOMAlgo/BlockFix_UnionFaces.cdl src/GEOMAlgo/BlockFix_UnionFaces.cxx src/GEOMAlgo/BlockFix_UnionFaces.jxx src/GEOMAlgo/GEOMAlgo.cdl src/GEOMAlgo/GEOMAlgo_Algo.cdl src/GEOMAlgo/GEOMAlgo_Algo.cxx src/GEOMAlgo/GEOMAlgo_Algo.jxx src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cdl src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.cxx src/GEOMAlgo/GEOMAlgo_CoupleOfShapes.jxx src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cdl src/GEOMAlgo/GEOMAlgo_FinderShapeOn.cxx src/GEOMAlgo/GEOMAlgo_FinderShapeOn.jxx src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cdl src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cxx src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.hxx src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.jxx src/GEOMAlgo/GEOMAlgo_FinderShapeOnQuad.cxx src/GEOMAlgo/GEOMAlgo_FinderShapeOnQuad.hxx src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cdl src/GEOMAlgo/GEOMAlgo_GlueAnalyser.cxx src/GEOMAlgo/GEOMAlgo_GlueAnalyser.jxx src/GEOMAlgo/GEOMAlgo_Gluer.cdl src/GEOMAlgo/GEOMAlgo_Gluer.cxx src/GEOMAlgo/GEOMAlgo_Gluer.jxx src/GEOMAlgo/GEOMAlgo_PassKey.cdl src/GEOMAlgo/GEOMAlgo_PassKey.cxx src/GEOMAlgo/GEOMAlgo_PassKey.jxx src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cdl src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.cxx src/GEOMAlgo/GEOMAlgo_PassKeyMapHasher.jxx src/GEOMAlgo/GEOMAlgo_PassKeyShape.cdl src/GEOMAlgo/GEOMAlgo_PassKeyShape.cxx src/GEOMAlgo/GEOMAlgo_PassKeyShape.jxx src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cdl src/GEOMAlgo/GEOMAlgo_ShapeAlgo.cxx src/GEOMAlgo/GEOMAlgo_ShapeAlgo.jxx src/GEOMAlgo/GEOMAlgo_ShapeSolid.cdl src/GEOMAlgo/GEOMAlgo_ShapeSolid.cxx src/GEOMAlgo/GEOMAlgo_ShapeSolid.jxx src/GEOMAlgo/GEOMAlgo_ShellSolid.cdl src/GEOMAlgo/GEOMAlgo_ShellSolid.cxx src/GEOMAlgo/GEOMAlgo_ShellSolid.jxx src/GEOMAlgo/GEOMAlgo_SolidSolid.cdl src/GEOMAlgo/GEOMAlgo_SolidSolid.cxx src/GEOMAlgo/GEOMAlgo_SolidSolid.jxx src/GEOMAlgo/GEOMAlgo_StateCollector.cdl src/GEOMAlgo/GEOMAlgo_StateCollector.cxx src/GEOMAlgo/GEOMAlgo_StateCollector.jxx src/GEOMAlgo/GEOMAlgo_SurfaceTools.cdl src/GEOMAlgo/GEOMAlgo_SurfaceTools.cxx src/GEOMAlgo/GEOMAlgo_SurfaceTools.jxx src/GEOMAlgo/GEOMAlgo_Tools.cdl src/GEOMAlgo/GEOMAlgo_Tools.cxx src/GEOMAlgo/GEOMAlgo_Tools.jxx src/GEOMAlgo/GEOMAlgo_VertexSolid.cdl src/GEOMAlgo/GEOMAlgo_VertexSolid.cxx src/GEOMAlgo/GEOMAlgo_VertexSolid.jxx src/GEOMAlgo/GEOMAlgo_WireSolid.cdl src/GEOMAlgo/GEOMAlgo_WireSolid.cxx src/GEOMAlgo/GEOMAlgo_WireSolid.jxx src/GEOMAlgo/Makefile.in src/GEOMBase/GEOMBase.cxx src/GEOMBase/GEOMBase_Helper.cxx src/GEOMBase/GEOMBase_Skeleton.cxx src/GEOMBase/Makefile.in src/GEOMClient/Makefile.in src/GEOMFiltersSelection/GEOM_EdgeFilter.cxx src/GEOMFiltersSelection/GEOM_EdgeFilter.h src/GEOMFiltersSelection/GEOM_FaceFilter.cxx src/GEOMFiltersSelection/GEOM_FaceFilter.h src/GEOMFiltersSelection/GEOM_LogicalFilter.cxx src/GEOMFiltersSelection/GEOM_LogicalFilter.h src/GEOMFiltersSelection/GEOM_OCCFilter.cxx src/GEOMFiltersSelection/GEOM_OCCFilter.h src/GEOMFiltersSelection/GEOM_PreviewFilter.cxx src/GEOMFiltersSelection/GEOM_PreviewFilter.h src/GEOMFiltersSelection/GEOM_SelectionFilter.cxx src/GEOMFiltersSelection/GEOM_SelectionFilter.h src/GEOMFiltersSelection/GEOM_ShapeTypeFilter.cxx src/GEOMFiltersSelection/GEOM_TypeFilter.cxx src/GEOMFiltersSelection/GEOM_TypeFilter.h src/GEOMGUI/GEOMGUI_OCCSelector.cxx src/GEOMGUI/GEOMGUI_OCCSelector.h src/GEOMGUI/GEOMGUI_Selection.cxx src/GEOMGUI/GEOMGUI_Selection.h src/GEOMGUI/GEOM_Displayer.cxx src/GEOMGUI/GEOM_Displayer.h src/GEOMGUI/GEOM_msg_en.po src/GEOMGUI/GeometryGUI.cxx src/GEOMGUI/GeometryGUI.h src/GEOMImpl/GEOMImpl_ArcDriver.cxx src/GEOMImpl/GEOMImpl_ArcDriver.hxx src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx src/GEOMImpl/GEOMImpl_ArchimedeDriver.hxx src/GEOMImpl/GEOMImpl_Block6Explorer.cxx src/GEOMImpl/GEOMImpl_Block6Explorer.hxx src/GEOMImpl/GEOMImpl_BlockDriver.cxx src/GEOMImpl/GEOMImpl_BlockDriver.hxx src/GEOMImpl/GEOMImpl_BooleanDriver.cxx src/GEOMImpl/GEOMImpl_BooleanDriver.hxx src/GEOMImpl/GEOMImpl_BoxDriver.cxx src/GEOMImpl/GEOMImpl_BoxDriver.hxx src/GEOMImpl/GEOMImpl_ChamferDriver.cxx src/GEOMImpl/GEOMImpl_ChamferDriver.hxx src/GEOMImpl/GEOMImpl_CircleDriver.cxx src/GEOMImpl/GEOMImpl_CircleDriver.hxx src/GEOMImpl/GEOMImpl_ConeDriver.cxx src/GEOMImpl/GEOMImpl_ConeDriver.hxx src/GEOMImpl/GEOMImpl_CopyDriver.cxx src/GEOMImpl/GEOMImpl_CopyDriver.hxx src/GEOMImpl/GEOMImpl_CylinderDriver.cxx src/GEOMImpl/GEOMImpl_CylinderDriver.hxx src/GEOMImpl/GEOMImpl_EllipseDriver.cxx src/GEOMImpl/GEOMImpl_EllipseDriver.hxx src/GEOMImpl/GEOMImpl_ExportDriver.cxx src/GEOMImpl/GEOMImpl_ExportDriver.hxx src/GEOMImpl/GEOMImpl_FilletDriver.cxx src/GEOMImpl/GEOMImpl_FilletDriver.hxx src/GEOMImpl/GEOMImpl_FillingDriver.cxx src/GEOMImpl/GEOMImpl_FillingDriver.hxx src/GEOMImpl/GEOMImpl_Gen.cxx src/GEOMImpl/GEOMImpl_Gen.hxx src/GEOMImpl/GEOMImpl_GlueDriver.cxx src/GEOMImpl/GEOMImpl_GlueDriver.hxx src/GEOMImpl/GEOMImpl_HealingDriver.cxx src/GEOMImpl/GEOMImpl_HealingDriver.hxx src/GEOMImpl/GEOMImpl_I3DPrimOperations.cxx src/GEOMImpl/GEOMImpl_I3DPrimOperations.hxx src/GEOMImpl/GEOMImpl_IArc.hxx src/GEOMImpl/GEOMImpl_IArchimede.hxx src/GEOMImpl/GEOMImpl_IBasicOperations.cxx src/GEOMImpl/GEOMImpl_IBasicOperations.hxx src/GEOMImpl/GEOMImpl_IBlockTrsf.hxx src/GEOMImpl/GEOMImpl_IBlocks.hxx src/GEOMImpl/GEOMImpl_IBlocksOperations.cxx src/GEOMImpl/GEOMImpl_IBlocksOperations.hxx src/GEOMImpl/GEOMImpl_IBoolean.hxx src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx src/GEOMImpl/GEOMImpl_IBooleanOperations.hxx src/GEOMImpl/GEOMImpl_IBox.hxx src/GEOMImpl/GEOMImpl_IChamfer.hxx src/GEOMImpl/GEOMImpl_ICircle.hxx src/GEOMImpl/GEOMImpl_ICone.hxx src/GEOMImpl/GEOMImpl_ICopy.hxx src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx src/GEOMImpl/GEOMImpl_ICurvesOperations.hxx src/GEOMImpl/GEOMImpl_ICylinder.hxx src/GEOMImpl/GEOMImpl_IEllipse.hxx src/GEOMImpl/GEOMImpl_IFillet.hxx src/GEOMImpl/GEOMImpl_IFilling.hxx src/GEOMImpl/GEOMImpl_IGlue.hxx src/GEOMImpl/GEOMImpl_IGroupOperations.cxx src/GEOMImpl/GEOMImpl_IGroupOperations.hxx src/GEOMImpl/GEOMImpl_IHealing.hxx src/GEOMImpl/GEOMImpl_IHealingOperations.cxx src/GEOMImpl/GEOMImpl_IHealingOperations.hxx src/GEOMImpl/GEOMImpl_IImportExport.hxx src/GEOMImpl/GEOMImpl_IInsertOperations.cxx src/GEOMImpl/GEOMImpl_IInsertOperations.hxx src/GEOMImpl/GEOMImpl_ILine.hxx src/GEOMImpl/GEOMImpl_ILocalOperations.cxx src/GEOMImpl/GEOMImpl_ILocalOperations.hxx src/GEOMImpl/GEOMImpl_IMarker.hxx src/GEOMImpl/GEOMImpl_IMeasure.hxx src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx src/GEOMImpl/GEOMImpl_IMeasureOperations.hxx src/GEOMImpl/GEOMImpl_IMirror.hxx src/GEOMImpl/GEOMImpl_IOffset.hxx src/GEOMImpl/GEOMImpl_IPartition.hxx src/GEOMImpl/GEOMImpl_IPipe.hxx src/GEOMImpl/GEOMImpl_IPlane.hxx src/GEOMImpl/GEOMImpl_IPoint.hxx src/GEOMImpl/GEOMImpl_IPolyline.hxx src/GEOMImpl/GEOMImpl_IPosition.hxx src/GEOMImpl/GEOMImpl_IPrism.hxx src/GEOMImpl/GEOMImpl_IRevolution.hxx src/GEOMImpl/GEOMImpl_IRotate.hxx src/GEOMImpl/GEOMImpl_IScale.hxx src/GEOMImpl/GEOMImpl_IShapes.hxx src/GEOMImpl/GEOMImpl_IShapesOperations.cxx src/GEOMImpl/GEOMImpl_IShapesOperations.hxx src/GEOMImpl/GEOMImpl_ISketcher.hxx src/GEOMImpl/GEOMImpl_ISphere.hxx src/GEOMImpl/GEOMImpl_ISpline.hxx src/GEOMImpl/GEOMImpl_ITorus.hxx src/GEOMImpl/GEOMImpl_ITransformOperations.cxx src/GEOMImpl/GEOMImpl_ITransformOperations.hxx src/GEOMImpl/GEOMImpl_ITranslate.hxx src/GEOMImpl/GEOMImpl_IVector.hxx src/GEOMImpl/GEOMImpl_ImportDriver.cxx src/GEOMImpl/GEOMImpl_ImportDriver.hxx src/GEOMImpl/GEOMImpl_LineDriver.cxx src/GEOMImpl/GEOMImpl_LineDriver.hxx src/GEOMImpl/GEOMImpl_MarkerDriver.cxx src/GEOMImpl/GEOMImpl_MarkerDriver.hxx src/GEOMImpl/GEOMImpl_MeasureDriver.cxx src/GEOMImpl/GEOMImpl_MeasureDriver.hxx src/GEOMImpl/GEOMImpl_MirrorDriver.cxx src/GEOMImpl/GEOMImpl_MirrorDriver.hxx src/GEOMImpl/GEOMImpl_OffsetDriver.cxx src/GEOMImpl/GEOMImpl_OffsetDriver.hxx src/GEOMImpl/GEOMImpl_PartitionDriver.cxx src/GEOMImpl/GEOMImpl_PartitionDriver.hxx src/GEOMImpl/GEOMImpl_PipeDriver.cxx src/GEOMImpl/GEOMImpl_PipeDriver.hxx src/GEOMImpl/GEOMImpl_PlaneDriver.cxx src/GEOMImpl/GEOMImpl_PlaneDriver.hxx src/GEOMImpl/GEOMImpl_PointDriver.cxx src/GEOMImpl/GEOMImpl_PointDriver.hxx src/GEOMImpl/GEOMImpl_PolylineDriver.cxx src/GEOMImpl/GEOMImpl_PolylineDriver.hxx src/GEOMImpl/GEOMImpl_PositionDriver.cxx src/GEOMImpl/GEOMImpl_PositionDriver.hxx src/GEOMImpl/GEOMImpl_PrismDriver.cxx src/GEOMImpl/GEOMImpl_PrismDriver.hxx src/GEOMImpl/GEOMImpl_RevolutionDriver.cxx src/GEOMImpl/GEOMImpl_RevolutionDriver.hxx src/GEOMImpl/GEOMImpl_RotateDriver.cxx src/GEOMImpl/GEOMImpl_RotateDriver.hxx src/GEOMImpl/GEOMImpl_ScaleDriver.cxx src/GEOMImpl/GEOMImpl_ScaleDriver.hxx src/GEOMImpl/GEOMImpl_ShapeDriver.cxx src/GEOMImpl/GEOMImpl_ShapeDriver.hxx src/GEOMImpl/GEOMImpl_SketcherDriver.cxx src/GEOMImpl/GEOMImpl_SketcherDriver.hxx src/GEOMImpl/GEOMImpl_SphereDriver.cxx src/GEOMImpl/GEOMImpl_SphereDriver.hxx src/GEOMImpl/GEOMImpl_SplineDriver.cxx src/GEOMImpl/GEOMImpl_SplineDriver.hxx src/GEOMImpl/GEOMImpl_Template.cxx src/GEOMImpl/GEOMImpl_Template.hxx src/GEOMImpl/GEOMImpl_TorusDriver.cxx src/GEOMImpl/GEOMImpl_TorusDriver.hxx src/GEOMImpl/GEOMImpl_TranslateDriver.cxx src/GEOMImpl/GEOMImpl_TranslateDriver.hxx src/GEOMImpl/GEOMImpl_Types.hxx src/GEOMImpl/GEOMImpl_VectorDriver.cxx src/GEOMImpl/GEOMImpl_VectorDriver.hxx src/GEOMToolsGUI/GEOMToolsGUI.cxx src/GEOM_I/GEOM_DumpPython.cc src/GEOM_I/GEOM_Gen_i.cc src/GEOM_I/GEOM_Gen_i.hh src/GEOM_I/GEOM_I3DPrimOperations_i.cc src/GEOM_I/GEOM_I3DPrimOperations_i.hh src/GEOM_I/GEOM_IBasicOperations_i.cc src/GEOM_I/GEOM_IBasicOperations_i.hh src/GEOM_I/GEOM_IBlocksOperations_i.cc src/GEOM_I/GEOM_IBlocksOperations_i.hh src/GEOM_I/GEOM_IBooleanOperations_i.cc src/GEOM_I/GEOM_IBooleanOperations_i.hh src/GEOM_I/GEOM_ICurvesOperations_i.cc src/GEOM_I/GEOM_ICurvesOperations_i.hh src/GEOM_I/GEOM_IGroupOperations_i.cc src/GEOM_I/GEOM_IGroupOperations_i.hh src/GEOM_I/GEOM_IHealingOperations_i.cc src/GEOM_I/GEOM_IHealingOperations_i.hh src/GEOM_I/GEOM_IInsertOperations_i.cc src/GEOM_I/GEOM_IInsertOperations_i.hh src/GEOM_I/GEOM_ILocalOperations_i.cc src/GEOM_I/GEOM_ILocalOperations_i.hh src/GEOM_I/GEOM_IMeasureOperations_i.cc src/GEOM_I/GEOM_IMeasureOperations_i.hh src/GEOM_I/GEOM_IOperations_i.cc src/GEOM_I/GEOM_IOperations_i.hh src/GEOM_I/GEOM_IShapesOperations_i.cc src/GEOM_I/GEOM_IShapesOperations_i.hh src/GEOM_I/GEOM_ITransformOperations_i.cc src/GEOM_I/GEOM_ITransformOperations_i.hh src/GEOM_I/GEOM_Object_i.cc src/GEOM_I/GEOM_Object_i.hh src/GEOM_I/Makefile.in src/GEOM_I_Superv/GEOM_List_i.hh src/GEOM_I_Superv/GEOM_Superv_i.cc src/GEOM_I_Superv/GEOM_Superv_i.hh src/GEOM_SWIG/GEOM_Nut.py src/GEOM_SWIG/GEOM_TestOthers.py src/GEOM_SWIG/batchmode_geompy.py src/GEOM_SWIG/geompy.py src/GEOM_SWIG/libGEOM_Swig.i src/GenerationGUI/GenerationGUI_FillingDlg.cxx src/GenerationGUI/GenerationGUI_PipeDlg.cxx src/GenerationGUI/GenerationGUI_PrismDlg.cxx src/GenerationGUI/GenerationGUI_RevolDlg.cxx src/GroupGUI/GroupGUI.cxx src/GroupGUI/GroupGUI_GroupDlg.cxx src/IGESExport/IGESExport.cxx src/IGESImport/IGESImport.cxx src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.cxx src/MeasureGUI/MeasureGUI_1Sel12LineEdit_QTD.h src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.cxx src/MeasureGUI/MeasureGUI_1Sel1TextView_QTD.h src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.cxx src/MeasureGUI/MeasureGUI_1Sel3LineEdit_QTD.h src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.cxx src/MeasureGUI/MeasureGUI_1Sel6LineEdit_QTD.h src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.cxx src/MeasureGUI/MeasureGUI_2Sel1LineEdit_QTD.h src/MeasureGUI/MeasureGUI_CenterMassDlg.cxx src/MeasureGUI/MeasureGUI_PointDlg.cxx src/MeasureGUI/MeasureGUI_Skeleton.cxx src/MeasureGUI/MeasureGUI_Skeleton_QTD.cxx src/MeasureGUI/MeasureGUI_Skeleton_QTD.h src/MeasureGUI/UIFiles/ui_to_cxx src/NMTAlgo/Makefile.in src/NMTAlgo/NMTAlgo.cdl src/NMTAlgo/NMTAlgo_Algo.cdl src/NMTAlgo/NMTAlgo_Algo.cxx src/NMTAlgo/NMTAlgo_Algo.jxx src/NMTAlgo/NMTAlgo_Builder.cdl src/NMTAlgo/NMTAlgo_Builder.cxx src/NMTAlgo/NMTAlgo_Builder.jxx src/NMTAlgo/NMTAlgo_Loop3d.cdl src/NMTAlgo/NMTAlgo_Loop3d.cxx src/NMTAlgo/NMTAlgo_Loop3d.jxx src/NMTAlgo/NMTAlgo_Splitter.cdl src/NMTAlgo/NMTAlgo_Splitter.cxx src/NMTAlgo/NMTAlgo_Splitter.jxx src/NMTAlgo/NMTAlgo_Splitter1.cdl src/NMTAlgo/NMTAlgo_Splitter1.cxx src/NMTAlgo/NMTAlgo_Splitter1.jxx src/NMTAlgo/NMTAlgo_Splitter_1.cxx src/NMTAlgo/NMTAlgo_Splitter_2.cxx src/NMTAlgo/NMTAlgo_Tools.cdl src/NMTAlgo/NMTAlgo_Tools.cxx src/NMTAlgo/NMTAlgo_Tools.jxx src/NMTDS/NMTDS.cdl src/NMTDS/NMTDS_IndexRange.cdl src/NMTDS/NMTDS_IndexRange.cxx src/NMTDS/NMTDS_IndexRange.jxx src/NMTDS/NMTDS_ShapesDataStructure.cdl src/NMTDS/NMTDS_ShapesDataStructure.cxx src/NMTDS/NMTDS_ShapesDataStructure.hxx src/NMTDS/NMTDS_ShapesDataStructure.jxx src/NMTTools/Makefile.in src/NMTTools/NMTTools.cdl src/NMTTools/NMTTools_CommonBlock.cdl src/NMTTools/NMTTools_CommonBlock.cxx src/NMTTools/NMTTools_CommonBlock.jxx src/NMTTools/NMTTools_CommonBlockAPI.cdl src/NMTTools/NMTTools_CommonBlockAPI.cxx src/NMTTools/NMTTools_CommonBlockAPI.jxx src/NMTTools/NMTTools_CoupleOfShape.cdl src/NMTTools/NMTTools_CoupleOfShape.cxx src/NMTTools/NMTTools_CoupleOfShape.jxx src/NMTTools/NMTTools_DEProcessor.cdl src/NMTTools/NMTTools_DEProcessor.cxx src/NMTTools/NMTTools_DEProcessor.jxx src/NMTTools/NMTTools_DSFiller.cdl src/NMTTools/NMTTools_DSFiller.cxx src/NMTTools/NMTTools_DSFiller.jxx src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cdl src/NMTTools/NMTTools_IteratorOfCoupleOfShape.cxx src/NMTTools/NMTTools_IteratorOfCoupleOfShape.jxx src/NMTTools/NMTTools_PCurveMaker.cdl src/NMTTools/NMTTools_PCurveMaker.cxx src/NMTTools/NMTTools_PCurveMaker.jxx src/NMTTools/NMTTools_PaveFiller.cdl src/NMTTools/NMTTools_PaveFiller.cxx src/NMTTools/NMTTools_PaveFiller.jxx src/NMTTools/NMTTools_PaveFiller_0.cxx src/NMTTools/NMTTools_PaveFiller_1.cxx src/NMTTools/NMTTools_PaveFiller_2.cxx src/NMTTools/NMTTools_PaveFiller_3.cxx src/NMTTools/NMTTools_PaveFiller_4.cxx src/NMTTools/NMTTools_PaveFiller_5.cxx src/NMTTools/NMTTools_PaveFiller_6.cxx src/NMTTools/NMTTools_PaveFiller_7.cxx src/NMTTools/NMTTools_PaveFiller_8.cxx src/NMTTools/NMTTools_PaveFiller_9.cxx src/NMTTools/NMTTools_Tools.cdl src/NMTTools/NMTTools_Tools.cxx src/NMTTools/NMTTools_Tools.jxx src/OperationGUI/OperationGUI_ArchimedeDlg.cxx src/OperationGUI/OperationGUI_ChamferDlg.cxx src/OperationGUI/OperationGUI_ClippingDlg.cxx src/OperationGUI/OperationGUI_FilletDlg.cxx src/OperationGUI/OperationGUI_MaterialDlg.cxx src/OperationGUI/OperationGUI_PartitionDlg.cxx src/PARTITION/Partition.cdl src/PARTITION/Partition_Inter2d.cdl src/PARTITION/Partition_Inter3d.cdl src/PARTITION/Partition_Loop.cdl src/PARTITION/Partition_Loop2d.cdl src/PARTITION/Partition_Loop3d.cdl src/PARTITION/Partition_Spliter.cdl src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx src/RepairGUI/RepairGUI.cxx src/RepairGUI/RepairGUI_CloseContourDlg.cxx src/RepairGUI/RepairGUI_DivideEdgeDlg.cxx src/RepairGUI/RepairGUI_DivideEdgeDlg.h src/RepairGUI/RepairGUI_FreeBoundDlg.cxx src/RepairGUI/RepairGUI_FreeFacesDlg.cxx src/RepairGUI/RepairGUI_GlueDlg.cxx src/RepairGUI/RepairGUI_RemoveHolesDlg.cxx src/RepairGUI/RepairGUI_RemoveIntWiresDlg.cxx src/RepairGUI/RepairGUI_SewingDlg.cxx src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx src/RepairGUI/RepairGUI_SuppressFacesDlg.cxx src/STEPExport/STEPExport.cxx src/STEPImport/STEPImport.cxx src/ShHealOper/Makefile.in src/ShHealOper/ShHealOper_CloseContour.cxx src/TransformationGUI/TransformationGUI_MirrorDlg.cxx src/TransformationGUI/TransformationGUI_MultiRotationDlg.cxx src/TransformationGUI/TransformationGUI_MultiTranslationDlg.cxx src/TransformationGUI/TransformationGUI_OffsetDlg.cxx src/TransformationGUI/TransformationGUI_PositionDlg.cxx src/TransformationGUI/TransformationGUI_RotationDlg.cxx src/TransformationGUI/TransformationGUI_ScaleDlg.cxx src/TransformationGUI/TransformationGUI_TranslationDlg.cxx
4
INSTALL
Normal file
@ -0,0 +1,4 @@
|
||||
This is the version 3.1.0 of GEOM
|
||||
Compatible with :
|
||||
- KERNEL 3.1.0
|
||||
- GUI 3.1.0
|
257
adm_local/unix/make_commence.in
Normal file
@ -0,0 +1,257 @@
|
||||
# common directories to put headerfiles
|
||||
inc_builddir=$(top_builddir)/include/salome
|
||||
|
||||
@SET_MAKE@
|
||||
SHELL=/bin/sh
|
||||
|
||||
# header missing
|
||||
|
||||
HAVE_SSTREAM=@HAVE_SSTREAM@
|
||||
|
||||
|
||||
LIBS=@LIBS@
|
||||
LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker -L$(top_builddir)/lib/salome
|
||||
# add libstdc++ to link c++ library with libtool !
|
||||
LDFLAGS+= -lstdc++
|
||||
|
||||
CP=@CP@
|
||||
|
||||
# CPP
|
||||
|
||||
CPP=@CPP@
|
||||
CXXCPP=@CXXCPP@
|
||||
CPPFLAGS=@CPPFLAGS@ -I$(inc_builddir) -I$(srcdir) -I.
|
||||
|
||||
# C
|
||||
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
C_DEPEND_FLAG = @C_DEPEND_FLAG@
|
||||
|
||||
# C++
|
||||
|
||||
CXX = @CXX@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CXX_DEPEND_FLAG = @CXX_DEPEND_FLAG@
|
||||
|
||||
# BOOST Library
|
||||
|
||||
BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
|
||||
|
||||
# JAVA
|
||||
|
||||
JAVA_INCLUDES = @JAVA_INCLUDES@
|
||||
JAVA_LIBS = @JAVA_LIBS@
|
||||
JAVA_LDPATH = @JAVA_LDPATH@
|
||||
|
||||
# PYTHON
|
||||
|
||||
PYTHON = @PYTHON@
|
||||
PYTHONHOME = @PYTHONHOME@
|
||||
PYTHON_INCLUDES = @PYTHON_INCLUDES@
|
||||
PYTHON_LIBS = @PYTHON_LIBS@
|
||||
PYTHON_VERSION = @PYTHON_VERSION@
|
||||
PYTHON_SITE = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages
|
||||
PYTHON_SITE_INSTALL = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome
|
||||
# QT
|
||||
|
||||
QT_ROOT = @QT_ROOT@
|
||||
QT_INCLUDES = @QT_INCLUDES@
|
||||
QT_MT_INCLUDES = @QT_INCLUDES@ -DQT_THREAD_SUPPORT
|
||||
QT_LIBS = @QT_LIBS@
|
||||
QT_MT_LIBS = @QT_MT_LIBS@
|
||||
|
||||
MOC = @MOC@
|
||||
UIC = @UIC@
|
||||
|
||||
MSG2QM = @MSG2QM@
|
||||
|
||||
#QWT
|
||||
|
||||
QWT_INCLUDES=@QWT_INCLUDES@
|
||||
QWT_LIBS=@QWT_LIBS@
|
||||
|
||||
# SIP
|
||||
SIP = @SIP@
|
||||
SIP_INCLUDES = @SIP_INCLUDES@
|
||||
SIP_LIBS = @SIP_LIBS@
|
||||
|
||||
# PYQT
|
||||
PYQT_SIPS = @PYQT_SIPS@
|
||||
PYQT_LIBS = @PYQT_LIBS@
|
||||
|
||||
# openGL
|
||||
OGL_INCLUDES=@OGL_INCLUDES@
|
||||
OGL_LIBS=@OGL_LIBS@
|
||||
|
||||
# VTK
|
||||
VTK_INCLUDES=@VTK_INCLUDES@
|
||||
VTK_LIBS=@VTK_LIBS@
|
||||
|
||||
# HDF5
|
||||
|
||||
HDF5_INCLUDES=@HDF5_INCLUDES@
|
||||
HDF5_LIBS=@HDF5_LIBS@
|
||||
HDF5_MT_LIBS=@HDF5_MT_LIBS@
|
||||
|
||||
# OpenCasCade
|
||||
|
||||
OCC_INCLUDES=@CAS_CPPFLAGS@
|
||||
OCC_CXXFLAGS=@CAS_CXXFLAGS@
|
||||
|
||||
#OCC_KERNEL_LIBS=@CAS_KERNEL@
|
||||
#OCC_OCAF_LIBS=@CAS_OCAF@
|
||||
#OCC_VIEWER_LIBS=@CAS_VIEWER@
|
||||
#OCC_MODELER_LIBS=@CAS_MODELER@
|
||||
#OCC_DATAEXCHANGE_LIBS=@CAS_DATAEXCHANGE@
|
||||
#OCC_LIBS=@CAS_LDFLAGS@
|
||||
CAS_KERNEL=@CAS_KERNEL@
|
||||
CAS_MATH=@CAS_MATH@
|
||||
CAS_OCAF=@CAS_OCAF@
|
||||
CAS_OCAFVIS=@CAS_OCAFVIS@
|
||||
CAS_TKTopAlgo=@CAS_TKTopAlgo@
|
||||
CAS_VIEWER=@CAS_VIEWER@
|
||||
CAS_MODELER=@CAS_MODELER@
|
||||
CAS_DATAEXCHANGE=@CAS_DATAEXCHANGE@
|
||||
CAS_LDPATH=@CAS_LDPATH@
|
||||
# MPICH
|
||||
|
||||
MPICH_INCLUDES=@MPICH_INCLUDES@
|
||||
MPICH_LIBS=@MPICH_LIBS@
|
||||
|
||||
# Swig C++ Python
|
||||
|
||||
SWIG = @SWIG@
|
||||
SWIG_FLAGS = @SWIG_FLAGS@ -I$(inc_builddir) -I$(srcdir) -I.
|
||||
|
||||
# OMNIORB
|
||||
|
||||
OMNIORB_ROOT = @OMNIORB_ROOT@
|
||||
OMNIORB_INCLUDES = @OMNIORB_INCLUDES@
|
||||
OMNIORB_LIBS = @OMNIORB_LIBS@
|
||||
OMNIORB_CXXFLAGS = @OMNIORB_CXXFLAGS@
|
||||
|
||||
OMNIORB_IDL = @OMNIORB_IDL@
|
||||
OMNIORB_IDLCXXFLAGS = @OMNIORB_IDLCXXFLAGS@
|
||||
OMNIORB_IDLPYFLAGS = @OMNIORB_IDLPYFLAGS@ -I$(top_srcdir)/idl -I$(KERNEL_ROOT_DIR)/idl/salome
|
||||
|
||||
OMNIORB_IDL_CLN_H = @OMNIORB_IDL_CLN_H@
|
||||
OMNIORB_IDL_CLN_CXX = @OMNIORB_IDL_CLN_CXX@
|
||||
OMNIORB_IDL_CLN_OBJ = @OMNIORB_IDL_CLN_OBJ@
|
||||
|
||||
OMNIORB_IDL_SRV_H = @OMNIORB_IDL_SRV_H@
|
||||
OMNIORB_IDL_SRV_CXX = @OMNIORB_IDL_SRV_CXX@
|
||||
OMNIORB_IDL_SRV_OBJ = @OMNIORB_IDL_SRV_OBJ@
|
||||
|
||||
# Default ORB
|
||||
|
||||
CORBA_ROOT = @CORBA_ROOT@
|
||||
CORBA_INCLUDES = @CORBA_INCLUDES@
|
||||
CORBA_LIBS = @CORBA_LIBS@
|
||||
CORBA_CXXFLAGS = @CORBA_CXXFLAGS@
|
||||
|
||||
IDLCXXFLAGS = -bcxx @IDLCXXFLAGS@ -I$(top_srcdir)/idl -I$(KERNEL_ROOT_DIR)/idl/salome
|
||||
IDLPYFLAGS = @IDLPYFLAGS@
|
||||
|
||||
IDL = @IDL@
|
||||
|
||||
IDL_CLN_H = @IDL_CLN_H@
|
||||
IDL_CLN_CXX = @IDL_CLN_CXX@
|
||||
IDL_CLN_OBJ = @IDL_CLN_OBJ@
|
||||
|
||||
IDL_SRV_H = @IDL_SRV_H@
|
||||
IDL_SRV_CXX = @IDL_SRV_CXX@
|
||||
IDL_SRV_OBJ = @IDL_SRV_OBJ@
|
||||
|
||||
CPPFLAGS+= $(CORBA_INCLUDES)
|
||||
CXXFLAGS+= $(CORBA_CXXFLAGS)
|
||||
|
||||
# add corba libs when link salome application !
|
||||
#LDFLAGS+= $(CORBA_LIBS)
|
||||
LIBS+=$(CORBA_LIBS)
|
||||
|
||||
DOXYGEN = @DOXYGEN@
|
||||
|
||||
## Shared libraries
|
||||
LT_STATIC_EXEC=@LT_STATIC_EXEC@
|
||||
DYNAMIC_DIRS=@DYNAMIC_DIRS@
|
||||
LT_LIB=libtool
|
||||
LT=$(top_builddir)/libtool
|
||||
LT_COMPILE=$(LT) --mode=compile $(CC)
|
||||
LT_LINK_LIB=$(LT_LIB) --mode=link $(CC) -rpath $(libdir)
|
||||
LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
|
||||
LT_RUN=$(LT) --mode=execute
|
||||
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
|
||||
LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
|
||||
LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
|
||||
|
||||
INSTALL=@INSTALL@
|
||||
INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
||||
INSTALL_DATA=@INSTALL_DATA@
|
||||
|
||||
# create a symbolic link (or a copie ?)
|
||||
LN_S=@LN_S@
|
||||
|
||||
## Installation points
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
bindir=@bindir@/salome
|
||||
libdir=@libdir@/salome
|
||||
# warning : if user give this path in configure we could have salome/salome :-(
|
||||
includedir=@includedir@/salome
|
||||
datadir=@datadir@/salome
|
||||
idldir=${prefix}/idl/salome
|
||||
sharedpydir=@libdir@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules
|
||||
incmakedir=${prefix}/salome_adm/unix
|
||||
|
||||
docdir=${prefix}/doc/salome
|
||||
|
||||
#
|
||||
# begin of package rules
|
||||
#
|
||||
|
||||
.PHONY: all lib bin inc resources data docs tests install uninstall dep depend depend_idl cleandep mostlyclean clean distclean
|
||||
|
||||
.SUFFIXES: .cxx .cc .c .f .o .lo .idl .py .i .ui .po .qm
|
||||
|
||||
all:
|
||||
$(MAKE) inc
|
||||
$(MAKE) depend_idl
|
||||
$(MAKE) depend
|
||||
$(MAKE) lib
|
||||
$(MAKE) bin
|
||||
$(MAKE) resources
|
||||
|
||||
#
|
||||
# add target to build administrative files
|
||||
#
|
||||
|
||||
Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in
|
||||
cd $(top_builddir) ; ./config.status
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure
|
||||
cd $(top_builddir) ; ./config.status --recheck
|
||||
|
||||
# VPATH contain $(srcdir), so make configure is good in top_srcdir and we must add target configure otherwise :-)
|
||||
ifneq ($(top_srcdir),$(srcdir))
|
||||
configure: $(top_srcdir)/configure
|
||||
endif
|
||||
|
||||
$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
|
||||
cd $(top_srcdir) ; autoconf
|
||||
|
||||
$(top_srcdir)/configure.in: $(top_srcdir)/configure.in.base
|
||||
cd $(top_srcdir) && ./build_configure
|
||||
|
||||
|
||||
ACLOCAL_SRC = \
|
||||
ac_cxx_bool.m4 check_corba.m4 check_vtk.m4 \
|
||||
ac_cxx_depend_flag.m4 check_hdf5.m4 enable_pthreads.m4 \
|
||||
ac_cxx_mutable.m4 check_mico.m4 libtool.m4 \
|
||||
ac_cxx_namespaces.m4 check_omniorb.m4 pyembed.m4 \
|
||||
ac_cxx_partial_specialization.m4 check_opengl.m4 python.m4 \
|
||||
ac_cxx_typename.m4 check_pthreads.m4 check_cas.m4 \
|
||||
ac_cc_warnings.m4 check_qt.m4 check_swig.m4
|
||||
|
||||
$(top_srcdir)/aclocal.m4: $(ACLOCAL_SRC:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%)
|
||||
cd $(top_srcdir) ; aclocal --acdir=adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files
|
1
bin/VERSION
Executable file
@ -0,0 +1 @@
|
||||
THIS IS SALOME - GEOM VERSION: 3.1.0
|
215
build_configure
Executable file
@ -0,0 +1,215 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Tool for updating list of .in file for the SALOME project
|
||||
# and regenerating configure script
|
||||
#
|
||||
# Author : Marc Tajchman - CEA
|
||||
# Date : 10/10/2002
|
||||
# $Header$
|
||||
#
|
||||
|
||||
ORIG_DIR=`pwd`
|
||||
CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
|
||||
|
||||
########################################################################
|
||||
# Test if the KERNEL_ROOT_DIR is set correctly
|
||||
if test ! -d "${KERNEL_ROOT_DIR}"; then
|
||||
echo "failed : KERNEL_ROOT_DIR variable is not correct !"
|
||||
exit
|
||||
fi
|
||||
|
||||
# Test if the KERNEL_SRC is set correctly
|
||||
|
||||
#if test ! -d "${KERNEL_SRC}"; then
|
||||
# echo "failed : KERNEL_SRC variable is not correct !"
|
||||
# exit
|
||||
#fi
|
||||
########################################################################
|
||||
# find_in - utility function
|
||||
#
|
||||
# usage :
|
||||
# find_in directory filename
|
||||
#
|
||||
# Finds files following the *.in pattern, recursively in the
|
||||
# directory (first argument).
|
||||
# Results are appended into the file (second argument)
|
||||
#
|
||||
# Difference from the standard unix find is that files are tested
|
||||
# before directories
|
||||
#
|
||||
|
||||
find_in()
|
||||
{
|
||||
local i
|
||||
local f=$2
|
||||
|
||||
# if the first argument is not a directory, returns
|
||||
|
||||
if [ ! -d "$1" ] ; then
|
||||
return
|
||||
fi
|
||||
|
||||
# dont look in the CVS directories
|
||||
|
||||
case $1 in
|
||||
*/CVS) return ;;
|
||||
*/adm_local/*) return ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
# for each regular file contained in the directory
|
||||
# test if it's a .in file
|
||||
|
||||
for i in "$1"/*
|
||||
do
|
||||
if [ -f "$i" ] ; then
|
||||
case $i in
|
||||
*.in) echo " "$i" \\" >> $f;;
|
||||
*) ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
|
||||
# for each subdirectory of the first argument, proceeds recursively
|
||||
|
||||
for i in "$1"/*
|
||||
do
|
||||
if [ -d "$i" ] ; then
|
||||
find_in "$i" "$f"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
#######################################################################
|
||||
# Generate list of .in files (Makefile.in, config.h.in, etc)
|
||||
# appending it in file configure.in
|
||||
|
||||
cd ${CONF_DIR}
|
||||
ABS_CONF_DIR=`pwd`
|
||||
|
||||
#
|
||||
# Common part of the configure.in file
|
||||
#
|
||||
chmod u+w configure.in.base
|
||||
if ! \cp -f configure.in.base configure.in_tmp1
|
||||
then
|
||||
echo
|
||||
echo "error : can't create files in" ${CONF_DIR}
|
||||
echo "aborting ..."
|
||||
chmod u-w configure.in.base
|
||||
exit
|
||||
fi
|
||||
chmod u-w configure.in.base
|
||||
|
||||
if [ -e "${CONF_DIR}/salome_adm" ] ; then
|
||||
\rm -f ${CONF_DIR}/salome_adm
|
||||
fi
|
||||
|
||||
# make a link allowing AC_OUTPUT to find the salome_adm/.../*.in files
|
||||
echo "" >> configure.in_tmp1
|
||||
echo 'ln -fs ${KERNEL_ROOT_DIR}/salome_adm ${ROOT_SRCDIR}/.' >> configure.in_tmp1
|
||||
|
||||
echo "" >> configure.in_tmp1
|
||||
echo "AC_OUTPUT([ \\" >> configure.in_tmp1
|
||||
|
||||
#
|
||||
# List of .in files in the adm/unix directory
|
||||
# These files MUST be on top of AC_OUTPUT list so we
|
||||
# put them "manually"
|
||||
#
|
||||
|
||||
echo " ./salome_adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1
|
||||
echo " ./salome_adm/unix/F77config.h \\" >> configure.in_tmp1
|
||||
echo " ./salome_adm/unix/sstream \\" >> configure.in_tmp1
|
||||
echo " ./salome_adm/unix/depend \\" >> configure.in_tmp1
|
||||
echo " ./adm_local/unix/make_omniorb \\" >> configure.in_tmp1
|
||||
echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1
|
||||
echo " ./adm_local/unix/make_commence \\" >> configure.in_tmp1
|
||||
echo " ./salome_adm/unix/make_conclude \\" >> configure.in_tmp1
|
||||
echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1
|
||||
|
||||
\rm -f configure.in_tmp2 configure.in_tmp3
|
||||
touch configure.in_tmp2
|
||||
find_in . configure.in_tmp2
|
||||
sed -e '/^...salome_adm/d' configure.in_tmp2 > configure.in_tmp3
|
||||
sed -e '/^...adm_local.unix.make_omniorb/d' configure.in_tmp3 > configure.in_tmp2
|
||||
sed -e '/^...adm_local.unix.make_commence/d' configure.in_tmp2 > configure.in_tmp3
|
||||
sed -e '/configure.in/d' configure.in_tmp3 > configure.in_tmp2
|
||||
sed -e 's/.in / /' configure.in_tmp2 >> configure.in_tmp1
|
||||
#sed '/^.salome_adm/d' configure.in_tmp2 > configure.in_tmp3
|
||||
#sed '/configure.in/d' configure.in_tmp3 > configure.in_tmp2
|
||||
#sed 's/.in / /' configure.in_tmp2 >> configure.in_tmp1
|
||||
|
||||
echo "])" >> configure.in_tmp1
|
||||
|
||||
# delete the link created for AC_OUTPUT
|
||||
echo "" >> configure.in_tmp1
|
||||
#echo 'rm -f ${ROOT_SRCDIR}/salome_adm' >> configure.in_tmp1
|
||||
\mv configure.in_tmp1 configure.in_new
|
||||
\rm -f configure.in_tmp2 configure.in_tmp3
|
||||
|
||||
|
||||
########################################################################
|
||||
# Create new (or replace old) configure.in file
|
||||
# Print a message if the file is write protected
|
||||
#
|
||||
|
||||
echo
|
||||
if test ! -f configure.in
|
||||
then
|
||||
echo -n "Creating new file 'configure.in' ... "
|
||||
if \mv configure.in_new configure.in >& /dev/null
|
||||
then
|
||||
echo "done"
|
||||
else
|
||||
echo "error, check your file permissions"
|
||||
fi
|
||||
else
|
||||
echo -n "Updating 'configure.in' file ... "
|
||||
if ! \cp configure.in configure.in_old >& /dev/null
|
||||
then
|
||||
echo
|
||||
echo
|
||||
echo "Can't backup previous configure.in"
|
||||
echo -n "Continue (you will not be able to revert) - (Y/N) ? "
|
||||
read R
|
||||
case "x$R" in
|
||||
xn*) exit;;
|
||||
xN*) exit;;
|
||||
esac
|
||||
echo
|
||||
echo -n " "
|
||||
fi
|
||||
if \cp configure.in_new configure.in >& /dev/null
|
||||
then
|
||||
echo "done"
|
||||
else
|
||||
echo
|
||||
echo "error, can't update previous configure.in"
|
||||
fi
|
||||
fi
|
||||
|
||||
########################################################################
|
||||
# Use autoconf to rebuild the configure script
|
||||
#
|
||||
|
||||
if test -f configure
|
||||
then
|
||||
echo -n "Updating 'configure' script ... "
|
||||
else
|
||||
echo -n "Creating 'configure' script ... "
|
||||
fi
|
||||
|
||||
aclocal --acdir=adm_local/unix/config_files -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files
|
||||
if autoconf
|
||||
then
|
||||
echo "done"
|
||||
else
|
||||
echo "failed (check file permissions and/or user quotas ...)"
|
||||
fi
|
||||
|
||||
cd ${ORIG_DIR}
|
||||
|
||||
echo
|
40
doc/Makefile.in
Normal file
@ -0,0 +1,40 @@
|
||||
|
||||
# -* Makefile *-
|
||||
#
|
||||
# Author : Patrick GOLDBRONN (CEA)
|
||||
# Date : 30/11/2001
|
||||
# $Header$
|
||||
#
|
||||
# source path
|
||||
top_srcdir=@top_srcdir@
|
||||
top_builddir=..
|
||||
srcdir=@srcdir@
|
||||
VPATH=.:@srcdir@
|
||||
|
||||
SUBDIRS= salome
|
||||
|
||||
@COMMENCE@
|
||||
|
||||
docs:
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
clean:
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
distclean: clean
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
install:
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
uninstall:
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done
|
95
doc/salome/GEOM_index_v3.1.0.html
Normal file
@ -0,0 +1,95 @@
|
||||
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=iso-8859-1">
|
||||
|
||||
<meta name="GENERATOR"
|
||||
content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
|
||||
<title>Geometry Module Documentation</title>
|
||||
</head>
|
||||
<body bgcolor="#cccccc" text="#000000" link="#0000ee" alink="#0000ee"
|
||||
vlink="#551a8b">
|
||||
|
||||
<div align="center">
|
||||
<center>
|
||||
<center>
|
||||
</center>
|
||||
|
||||
<table width="96%" align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="http://www.opencascade.com"><img
|
||||
src="tui/GEOM/sources/logocorp.gif" border="0" height="46" width="122">
|
||||
</a></td>
|
||||
<td>
|
||||
|
||||
<div align="right"><a href="http://www.opencascade.org/SALOME/"><img
|
||||
src="tui/GEOM/sources/application.gif" border="0" height="46" width="108">
|
||||
</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div align="center">
|
||||
<center>
|
||||
<hr width="100%" size="2">
|
||||
<h1>Geometry MODULE Documentation</h1>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
<table width="96%">
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
|
||||
<div align="center">
|
||||
<p> <img src="tui/GEOM/sources/Application-About.png"
|
||||
alt="Application-About.png" width="30%" height="20%">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<center>
|
||||
<table width="96%">
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</center>
|
||||
|
||||
<address> </address>
|
||||
|
||||
<center><big><a href="gui/GEOM/geom.htm">GUI Documentation</a></big></center>
|
||||
|
||||
<address> </address>
|
||||
|
||||
<center></center>
|
||||
|
||||
<center><br>
|
||||
</center>
|
||||
|
||||
<address> </address>
|
||||
|
||||
<center><big><a href="tui/GEOM/index.html">TUI Documentation</a></big></center>
|
||||
|
||||
<address> </address>
|
||||
|
||||
<center></center>
|
||||
|
||||
<center><br>
|
||||
<br>
|
||||
</center>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</body>
|
||||
</html>
|
45
doc/salome/Makefile.in
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright (C) 2003 CEA/DEN, EDF R&D
|
||||
#
|
||||
#
|
||||
#
|
||||
# File : Makefile.in
|
||||
# Author : Vasily Rusyaev (Open Cascade NN)
|
||||
# Module : doc
|
||||
# $Header:
|
||||
|
||||
top_srcdir=@top_srcdir@
|
||||
top_builddir=../..
|
||||
srcdir=@srcdir@
|
||||
VPATH=.:@srcdir@
|
||||
|
||||
SUBDIRS= tui gui
|
||||
|
||||
@COMMENCE@
|
||||
|
||||
docs:
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done; \
|
||||
cp -f $(srcdir)/GEOM_index_v3.1.0.html GEOM_index_v3.1.0.html
|
||||
|
||||
clean:
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
distclean: clean
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
|
||||
install:
|
||||
$(MAKE) docs
|
||||
(cd tui && $(MAKE) install);
|
||||
(cd gui && $(MAKE) install);
|
||||
cp -f GEOM_index_v3.1.0.html $(docdir)
|
||||
|
||||
uninstall:
|
||||
@@SETX@; for d in $(SUBDIRS); do \
|
||||
(cd $$d && $(MAKE) $@) || exit 1; \
|
||||
done; \
|
||||
rm -fr $(docdir)/GEOM_index_v3.1.0.html
|
165
doc/salome/gui/GEOM/add_point_on_edge.htm
Executable file
@ -0,0 +1,165 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Add Point on Edge</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:22px; height:22px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
||||
p.whs4 { margin-left:40px; font-size:12pt; font-weight:bold; }
|
||||
img_whs5 { border:none; width:312px; height:388px; float:none; border-style:none; }
|
||||
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
||||
p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
|
||||
p.whs8 { margin-left:80px; font-size:12pt; text-indent:-40px; }
|
||||
img_whs9 { border:none; width:200px; height:231px; border-style:none; }
|
||||
img_whs10 { border:none; width:185px; height:231px; border-style:none; }
|
||||
p.whs11 { font-size:12pt; text-indent:-68px; margin-left:72px; }
|
||||
p.whs12 { font-weight:bold; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs6 {text-indent:1pt; }";
|
||||
strNSS += "p.whs7 {text-indent:1pt; }";
|
||||
strNSS += "p.whs8 {text-indent:1pt; }";
|
||||
strNSS += "p.whs11 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image42.gif" width="22px" height="22px" border="0" class="img_whs1"></font></span>Add Point on Edge</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
|
||||
style="font-weight: bold;"><B>Add Point on Edge</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>Repair - > Add Point on Edge.</B></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2">This operation splits an edge in two in accordance
|
||||
with the specified mode (by length or by parameter) and a value specifying
|
||||
the position of the point on edge (for example val =0.5; mode = Length).
|
||||
This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span>
|
||||
only. </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
|
||||
Value, IsByParameter)</I></span>, where Shape is a shape which contains an
|
||||
edge to be divided, EdgeID is the ID of the edge to be divided, if it
|
||||
= -1, then Shape is an edge, Value is a paramter on the edge or a length.
|
||||
IsByParameter if it is True then Value is the edge parameter in the range
|
||||
[0:1] otherwise it is a length of the edge in the range [0:1]</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 Edge + 1 value setting the position of the point according to
|
||||
one of the selected modes</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog
|
||||
Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs7">Example:</p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs8"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs9"> <img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs12"><span style="font-weight: normal;">Our</span>
|
||||
TUI Scripts<span style="font-weight: normal;"> provide you with useful
|
||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing
|
||||
Operations</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
135
doc/salome/gui/GEOM/arc.htm
Executable file
@ -0,0 +1,135 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Arc</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||
img_whs4 { border:none; width:312px; height:359px; float:none; border-style:none; }
|
||||
p.whs5 { color:#808080; font-size:12pt; }
|
||||
p.whs6 { font-size:12pt; color:#000000; }
|
||||
p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }
|
||||
img_whs8 { border:none; width:330px; height:283px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nArc");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Arc</h1>
|
||||
|
||||
<p><b><span style="font-weight: normal;">T</b>o</span> create an <span
|
||||
style="font-weight: bold;"><B>Arc</B></span> in the <span style="font-weight: bold;"><B>Main
|
||||
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
||||
Basic - > Arc</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">You can define
|
||||
an Arc by <span style="font-weight: normal;">by three</span><span style="font-weight: bold;"><B>
|
||||
Points </B></span><span style="font-weight: normal;">that lie on it.</span><span
|
||||
style="font-weight: bold;"> <B></B></span></b>Point1 is the starting point of
|
||||
the arc, Point2 is a middle point of the arc and Point3 is the ending
|
||||
point of the arc.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
|
||||
GEOM_Object (edge).</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 3 vertices.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="330px" height="283px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="basic_geometrical_objects.htm">Basic Geometric
|
||||
Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
135
doc/salome/gui/GEOM/archimede.htm
Executable file
@ -0,0 +1,135 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Archimede</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
p.whs4 { font-size:12pt; margin-left:40px; }
|
||||
img_whs5 { border:none; width:312px; height:367px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; float:none; width:199px; height:184px; border-style:none; }
|
||||
img_whs7 { border:none; float:none; width:186px; height:183px; border-style:none; }
|
||||
img_whs8 { border:none; float:none; width:181px; height:181px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBasic Operations\nArchimede");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Archimede</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
an <span style="font-weight: bold;"><B>Archimede</B></span> operation in the
|
||||
Main Menu select <span style="font-weight: bold;"><B>Operations - > Archimede</B></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3">This
|
||||
operation creates a plane corresponding to the modeled water-line of the
|
||||
object plunged into the water (in Z direction).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:
|
||||
</b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>,
|
||||
where Shape is a shape to put into the water, Weight is a weight of the
|
||||
shape, WaterDensity is
|
||||
density of water, MeshingDeflection is a deflection of the mesh, using
|
||||
to compute the section.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 shape +
|
||||
3 values (Weight, Water Density & Meshing Deflection).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/archimede.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/archimedesn1.png" x-maintain-ratio="TRUE" width="199px" height="184px" border="0" class="img_whs6"> <img src="pics/archimedesn2.png" x-maintain-ratio="TRUE" width="186px" height="183px" border="0" class="img_whs7"> <img src="pics/archimedesn3.png" x-maintain-ratio="TRUE" width="181px" height="181px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of the use of <a href="basic_operations.htm#bookmark1">Basic Operations</a>.
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
656
doc/salome/gui/GEOM/basic_geometrical_objects.htm
Executable file
@ -0,0 +1,656 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Basic Geometrical Objects</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBasic Geometrical Objects");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Basic Geometrical Objects</h1>
|
||||
|
||||
<h3><a name=bookmark>Creation of a Point</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(0.,
|
||||
0., 0.)</p>
|
||||
|
||||
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
|
||||
100., 100., 100.)</p>
|
||||
|
||||
<p class="whs1">px = geompy.MakeVertex(100.,
|
||||
0., 0.)</p>
|
||||
|
||||
<p class="whs1">py = geompy.MakeVertex(0.,
|
||||
100., 0.)</p>
|
||||
|
||||
<p class="whs1">pz = geompy.MakeVertex(0.,
|
||||
0., 100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create a curve and a vertex on it</p>
|
||||
|
||||
<p class="whs1">Arc = geompy.MakeArc(py,
|
||||
pz, px)</p>
|
||||
|
||||
<p class="whs1">p_on_arc = geompy.MakeVertexOnCurve(Arc,
|
||||
0.25)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in the study</p>
|
||||
|
||||
<p class="whs1">id_p0 =
|
||||
geompy.addToStudy(p0, "Vertex
|
||||
0")</p>
|
||||
|
||||
<p class="whs1">id_p100 =
|
||||
geompy.addToStudy(p100, "Vertex 100")</p>
|
||||
|
||||
<p class="whs1">id_px =
|
||||
geompy.addToStudy(px, "Vertex
|
||||
X")</p>
|
||||
|
||||
<p class="whs1">id_py =
|
||||
geompy.addToStudy(py, "Vertex
|
||||
Y")</p>
|
||||
|
||||
<p class="whs1">id_pz =
|
||||
geompy.addToStudy(pz, "Vertex
|
||||
Z")</p>
|
||||
|
||||
<p class="whs1">id_Arc =
|
||||
geompy.addToStudy(Arc, "Arc")</p>
|
||||
|
||||
<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc,
|
||||
"Vertex on Arc")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display vertices</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p100)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_Arc)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_p_on_arc)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark1>Creation of a Line</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(0.,
|
||||
0., 0.)</p>
|
||||
|
||||
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
|
||||
100., 100., 100.)</p>
|
||||
|
||||
<p class="whs1">px = geompy.MakeVertex(100.,
|
||||
0. , 0.
|
||||
)</p>
|
||||
|
||||
<p class="whs1">py = geompy.MakeVertex(0.
|
||||
, 100.,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">pz = geompy.MakeVertex(0.
|
||||
, 0. ,
|
||||
100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create a vector on two points</p>
|
||||
|
||||
<p class="whs1">vxy =
|
||||
geompy.MakeVector(px, py)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create a line with a point and a vector</p>
|
||||
|
||||
<p class="whs1">line1 = geompy.MakeLine(pz,
|
||||
vxy)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>#create a line on two points</p>
|
||||
|
||||
<p class="whs1">line2 = geompy.MakeLineTwoPnt(p0,
|
||||
p100)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in the study</p>
|
||||
|
||||
<p class="whs1">id_vxy =
|
||||
geompy.addToStudy(vxy, "Vector")</p>
|
||||
|
||||
<p class="whs1">id_line1 =
|
||||
geompy.addToStudy(line1,"Line1")</p>
|
||||
|
||||
<p class="whs1">id_line2 =
|
||||
geompy.addToStudy(line2,"Line2")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display lines</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_line1)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_line2)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark2>Creation of a
|
||||
Circle</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(0.,
|
||||
0., 0.)</p>
|
||||
|
||||
<p class="whs1">px = geompy.MakeVertex(100.,
|
||||
0. , 0.
|
||||
)</p>
|
||||
|
||||
<p class="whs1">py = geompy.MakeVertex(0.
|
||||
, 100.,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">pz = geompy.MakeVertex(0.
|
||||
, 0. ,
|
||||
100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector on two points</p>
|
||||
|
||||
<p class="whs1">vxy =
|
||||
geompy.MakeVector(px, py)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create circle with point, vector and radius</p>
|
||||
|
||||
<p class="whs1">circle1 = geompy.MakeCircle(pz,
|
||||
vxy, 30)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>#create circle on three points</p>
|
||||
|
||||
<p class="whs1">circle2 = geompy.MakeCircleThreePnt(p0,
|
||||
px, py)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_vxy =
|
||||
geompy.addToStudy(vxy, "Vector")</p>
|
||||
|
||||
<p class="whs1">id_circle1 =
|
||||
geompy.addToStudy(circle1,"Circle1")</p>
|
||||
|
||||
<p class="whs1">id_circle2 =
|
||||
geompy.addToStudy(circle2,"Circle2")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display circles</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_circle1)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_circle2)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark3>Creation of an Ellipse</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(0.,
|
||||
0., 0.)</p>
|
||||
|
||||
<p class="whs1">p50 = geompy.MakeVertex(50.,
|
||||
50., 50.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector on two points</p>
|
||||
|
||||
<p class="whs1">vector =
|
||||
geompy.MakeVector(p0, p50)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create ellipse with point, vector and radiuses</p>
|
||||
|
||||
<p class="whs1">ellipse = geompy.MakeEllipse(p50,
|
||||
vector, 50, 25)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_vector =
|
||||
geompy.addToStudy(vector, "Vector")</p>
|
||||
|
||||
<p class="whs1">id_ellipse = geompy.addToStudy(ellipse,"Ellipse")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display normal vector and ellipse</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_vector)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_ellipse)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark4>Creation of a Curve</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(0.
|
||||
, 0. ,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(50.
|
||||
, 100., 200.)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(150.,
|
||||
50., 100.)</p>
|
||||
|
||||
<p class="whs1">p3 = geompy.MakeVertex(100.,
|
||||
150., 170.)</p>
|
||||
|
||||
<p class="whs1">p4 = geompy.MakeVertex(200.,
|
||||
200., 150.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create polyline on list of points</p>
|
||||
|
||||
<p class="whs1">polyline = geompy.MakePolyline([p0,
|
||||
p1, p2, p3, p4])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create bezier on list of points</p>
|
||||
|
||||
<p class="whs1">bezier = geompy.MakeBezier([p0,
|
||||
p1, p2, p3, p4])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>#create interpolation curve on list of points</p>
|
||||
|
||||
<p class="whs1">interpol = geompy.MakeInterpol([p0,
|
||||
p1, p2, p3, p4])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_p0 =
|
||||
geompy.addToStudy(p0, "Point1")</p>
|
||||
|
||||
<p class="whs1">id_p1 =
|
||||
geompy.addToStudy(p1, "Point2")</p>
|
||||
|
||||
<p class="whs1">id_p2 =
|
||||
geompy.addToStudy(p2, "Point3")</p>
|
||||
|
||||
<p class="whs1">id_p3 =
|
||||
geompy.addToStudy(p3, "Point4")</p>
|
||||
|
||||
<p class="whs1">id_p4 =
|
||||
geompy.addToStudy(p4, "Point5")</p>
|
||||
|
||||
<p class="whs1">id_polyline = geompy.addToStudy(polyline,
|
||||
"Polyline")</p>
|
||||
|
||||
<p class="whs1">id_bezier =
|
||||
geompy.addToStudy(bezier, "Bezier")</p>
|
||||
|
||||
<p class="whs1">id_interpol = geompy.addToStudy(interpol,
|
||||
"Interpol")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p># display points and curves</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_polyline)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_bezier)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_interpol)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark5>Creation of a Vector</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(10.,
|
||||
50., 20.)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(70.,
|
||||
70., 70.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector on two points</p>
|
||||
|
||||
<p class="whs1">vector1 = geompy.MakeVector(p1,
|
||||
p2)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector with the given components</p>
|
||||
|
||||
<p class="whs1">vector2 = geompy.MakeVectorDXDYDZ(30,
|
||||
30, 100)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_p1 =
|
||||
geompy.addToStudy(p1, "Point1")</p>
|
||||
|
||||
<p class="whs1">id_p2 =
|
||||
geompy.addToStudy(p2, "Point2")</p>
|
||||
|
||||
<p class="whs1">id_vector1 = geompy.addToStudy(vector1,"Vector1")</p>
|
||||
|
||||
<p class="whs1">id_vector2 = geompy.addToStudy(vector2,"Vector2")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display points and vectors</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_vector1)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_vector2)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark6>Creation of a Plane</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
100.)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(100.,
|
||||
0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p3 = geompy.MakeVertex(200.,
|
||||
200., 200.)</p>
|
||||
|
||||
<p class="whs1">p4 = geompy.MakeVertex(100.,
|
||||
100., 0.)</p>
|
||||
|
||||
<p class="whs1">p5 = geompy.MakeVertex(0.
|
||||
, 100.,
|
||||
0.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector with the given components</p>
|
||||
|
||||
<p class="whs1">vector = geompy.MakeVectorDXDYDZ(100.,
|
||||
100., 100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector with two points</p>
|
||||
|
||||
<p class="whs1">vector_arc = geompy.MakeVector(p2,
|
||||
p5)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create arc with three points</p>
|
||||
|
||||
<p class="whs1">arc = geompy.MakeArc(p2,
|
||||
p4, p5)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create wire</p>
|
||||
|
||||
<p class="whs1">wire = geompy.MakeWire([vector_arc,
|
||||
arc])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create face</p>
|
||||
|
||||
<p class="whs1">isPlanarWanted = 1</p>
|
||||
|
||||
<p class="whs1">face = geompy.MakeFace(wire,
|
||||
isPlanarWanted)</p>
|
||||
|
||||
<p class="whs1">trimsize = 1000.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create plane with point, vector and trimsize</p>
|
||||
|
||||
<p class="whs1">plane1 = geompy.MakePlane(p1,
|
||||
vector, trimsize)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create plane with three points and trimsize</p>
|
||||
|
||||
<p class="whs1">plane2 = geompy.MakePlaneThreePnt(p1,
|
||||
p2, p3, trimsize)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create plane with given face</p>
|
||||
|
||||
<p class="whs1">plane3 = geompy.MakePlaneFace(face,
|
||||
trimsize)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_face =
|
||||
geompy.addToStudy(face, "Face")</p>
|
||||
|
||||
<p class="whs1">id_plane1 = geompy.addToStudy(plane1,"Plane1")</p>
|
||||
|
||||
<p class="whs1">id_plane2 = geompy.addToStudy(plane2,"Plane2")</p>
|
||||
|
||||
<p class="whs1">id_plane3 = geompy.addToStudy(plane3,"Plane3")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display points and vectors</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_face)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_plane1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_plane2)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_plane3)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_plane1,1)</p>
|
||||
|
||||
<p class="whs1">gg.setTransparency(id_plane1,0.5)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_plane2,1)</p>
|
||||
|
||||
<p class="whs1">gg.setTransparency(id_plane2,0.5)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_plane3,1)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setTransparency(id_plane3,0.5)</span>
|
||||
</p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
242
doc/salome/gui/GEOM/basic_operations.htm
Executable file
@ -0,0 +1,242 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Basic Operations</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBasic Operations");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Basic Operations</h1>
|
||||
|
||||
<h3><a name=bookmark>Partition</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p0 =
|
||||
geompy.MakeVertex( 0.,
|
||||
0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p200 = geompy.MakeVertex(200.,
|
||||
200., 200.)</p>
|
||||
|
||||
<p class="whs1">pz =
|
||||
geompy.MakeVertex( 0.,
|
||||
0.,
|
||||
100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector</p>
|
||||
|
||||
<p class="whs1">vxyz = geompy.MakeVectorDXDYDZ(100.,
|
||||
100., 100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create box with two points</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
|
||||
p200)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create plane</p>
|
||||
|
||||
<p class="whs1">trimsize =
|
||||
500.</p>
|
||||
|
||||
<p class="whs1">plane = geompy.MakePlane(pz,
|
||||
vxyz, trimsize)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create partition objects</p>
|
||||
|
||||
<p class="whs1">partition1 = geompy.MakePartition([box],
|
||||
[plane])</p>
|
||||
|
||||
<p class="whs1">partition2 = geompy.Partition([box],
|
||||
[plane])</p>
|
||||
|
||||
<p class="whs1">partition3 = geompy.MakeHalfPartition(box,
|
||||
plane)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_box = geompy.addToStudy(box,"Box")</p>
|
||||
|
||||
<p class="whs1">id_plane = geompy.addToStudy(plane,"Plane")</p>
|
||||
|
||||
<p class="whs1">id_partition1 = geompy.addToStudy(partition1,"MakePartition")</p>
|
||||
|
||||
<p class="whs1">id_partition2 = geompy.addToStudy(partition2,"Partition")</p>
|
||||
|
||||
<p class="whs1">id_partition3 = geompy.addToStudy(partition3,"MakeHalfPartition")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display partition objects and plane</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_plane)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_plane,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_partition1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_partition2)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_partition3)</span>
|
||||
</p>
|
||||
|
||||
<h3><a name=bookmark1>Archimede</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p0 =
|
||||
geompy.MakeVertex( 0.,
|
||||
0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p200 = geompy.MakeVertex(200.,
|
||||
200., 200.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create box with two points</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
|
||||
p200)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># perform an Archimede operation on the given shape with given parameters</p>
|
||||
|
||||
<p class="whs1">weight =
|
||||
1000000.</p>
|
||||
|
||||
<p class="whs1">waterdensity = 1.</p>
|
||||
|
||||
<p class="whs1">meshingdeflection
|
||||
= 0.01</p>
|
||||
|
||||
<p class="whs1">archimede =
|
||||
geompy.Archimede(box, weight, waterdensity, meshingdeflection)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_box = geompy.addToStudy(box,"Box")</p>
|
||||
|
||||
<p class="whs1">id_archimede = geompy.addToStudy(archimede,"Archimede")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display box and result of Archimede operation</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_archimede)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_archimede,1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
258
doc/salome/gui/GEOM/blocks_operations.htm
Executable file
@ -0,0 +1,258 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Blocks Operations</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBlocks Operations");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Blocks Operations</h1>
|
||||
|
||||
<h3><a name=bookmark4>Multi Transformation</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p_25_25_50 = geompy.MakeVertex(25.,
|
||||
25., 50.)</p>
|
||||
|
||||
<p class="whs1">p_50_25_25 = geompy.MakeVertex(50.,
|
||||
25., 25.)</p>
|
||||
|
||||
<p class="whs1">p_25_50_25 = geompy.MakeVertex(25.,
|
||||
50., 25.)</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(50,
|
||||
50, 50)</p>
|
||||
|
||||
<p class="whs1">top_face = geompy.GetFaceNearPoint(box,
|
||||
p_25_25_50)</p>
|
||||
|
||||
<p class="whs1">yz_face = geompy.GetFaceNearPoint(box,
|
||||
p_50_25_25)</p>
|
||||
|
||||
<p class="whs1">xz_face = geompy.GetFaceNearPoint(box,
|
||||
p_25_50_25)</p>
|
||||
|
||||
<p class="whs1">top_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
|
||||
top_face)</p>
|
||||
|
||||
<p class="whs1">yz_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
|
||||
yz_face)</p>
|
||||
|
||||
<p class="whs1">xz_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
|
||||
xz_face)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># Multi-transformate block and glue the result</p>
|
||||
|
||||
<p class="whs1">box_tr1 = geompy.MakeMultiTransformation1D(box,
|
||||
yz_face_ind, top_face_ind, 3)</p>
|
||||
|
||||
<p class="whs1">box_tr2 = geompy.MakeMultiTransformation2D(box,
|
||||
xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_box = geompy.addToStudy(box,
|
||||
"Box")</p>
|
||||
|
||||
<p class="whs1">id_box_tr1 = geompy.addToStudy(box_tr1,
|
||||
"Multi-transformed Block 1D")</p>
|
||||
|
||||
<p class="whs1">id_box_tr2 = geompy.addToStudy(box_tr2,
|
||||
"Multi-transformed Block 2D")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display results</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_box_tr1)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_box_tr2)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark5>Explode on Blocks</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create box and sphere</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
|
||||
200, 200)</p>
|
||||
|
||||
<p class="whs1">sphere = geompy.MakeSphereR(100)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p># make compound</p>
|
||||
|
||||
<p class="whs1">compound = geompy.MakeCompound([box,
|
||||
sphere])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># get all the blocks, contained in the given compound</p>
|
||||
|
||||
<p class="whs1">make_block_explode
|
||||
= geompy.MakeBlockExplode(compound, 1, 1)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_compound = geompy.addToStudy(compound,
|
||||
"Compound")</p>
|
||||
|
||||
<p class="whs1">id_make_block_explode
|
||||
= geompy.addToStudy(make_block_explode[0], "MakeBlockExplode")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display results</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_make_block_explode)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_make_block_explode,1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark6>Propagate</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create box and sphere</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
|
||||
200, 200)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># check and improve</p>
|
||||
|
||||
<p class="whs1">check_box = geompy.CheckAndImprove(box)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># build all possible propagation groups</p>
|
||||
|
||||
<p class="whs1">listChains = geompy.Propagate(check_box)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">geompy.addToStudy(check_box,
|
||||
"Box")</p>
|
||||
|
||||
<p class="whs1">for chain in listChains:</p>
|
||||
|
||||
<p class="whs1"> geompy.addToStudyInFather(check_box,
|
||||
chain, "propagation chain")</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
348
doc/salome/gui/GEOM/boolean_operations.htm
Executable file
@ -0,0 +1,348 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Boolean Operations</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBoolean Operations");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Boolean Operations</h1>
|
||||
|
||||
<h3><a name=bookmark>Fuse</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(25,
|
||||
55, 0)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(
|
||||
0, 0, 0)</p>
|
||||
|
||||
<p class="whs1">v = geompy.MakeVector(p1,
|
||||
p2)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create cylinder</p>
|
||||
|
||||
<p class="whs1">height = 35</p>
|
||||
|
||||
<p class="whs1">radius1 = 20</p>
|
||||
|
||||
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
|
||||
v, radius1, height)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create sphere</p>
|
||||
|
||||
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># make fuse</p>
|
||||
|
||||
<p class="whs1">fuse = geompy.MakeFuse(cylinder,
|
||||
sphere)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_cylinder = geompy.addToStudy(cylinder,
|
||||
"Cylinder")</p>
|
||||
|
||||
<p class="whs1">id_sphere = geompy.addToStudy(sphere,
|
||||
"Sphere")</p>
|
||||
|
||||
<p class="whs1">id_fuse = geompy.addToStudy(fuse,
|
||||
"Fuse")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display results</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_sphere)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_sphere,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_fuse)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_fuse,1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark1>Common</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(25,
|
||||
55, 0)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(
|
||||
0, 0, 0)</p>
|
||||
|
||||
<p class="whs1">v = geompy.MakeVector(p1,
|
||||
p2)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create cylinder</p>
|
||||
|
||||
<p class="whs1">height = 35</p>
|
||||
|
||||
<p class="whs1">radius1 = 20</p>
|
||||
|
||||
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
|
||||
v, radius1, height)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create sphere</p>
|
||||
|
||||
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># make common</p>
|
||||
|
||||
<p class="whs1">common = geompy.MakeCommon(cylinder,
|
||||
sphere)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_common = geompy.addToStudy(common,
|
||||
"Common")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display results</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_common)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_common,1)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3><a name=bookmark2>Cut </a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(25,
|
||||
55, 0)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(
|
||||
0, 0, 0)</p>
|
||||
|
||||
<p class="whs1">v = geompy.MakeVector(p1,
|
||||
p2)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create cylinder</p>
|
||||
|
||||
<p class="whs1">height = 35</p>
|
||||
|
||||
<p class="whs1">radius1 = 20</p>
|
||||
|
||||
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
|
||||
v, radius1, height)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create sphere</p>
|
||||
|
||||
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># make cut</p>
|
||||
|
||||
<p class="whs1">cut = geompy.MakeCut(cylinder,
|
||||
sphere)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_cut = geompy.addToStudy(cut,
|
||||
"Cut")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display results</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_cut)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut,1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark3>Section</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(25,
|
||||
55, 0)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(
|
||||
0, 0, 0)</p>
|
||||
|
||||
<p class="whs1">v = geompy.MakeVector(p1,
|
||||
p2)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create cylinder</p>
|
||||
|
||||
<p class="whs1">height = 35</p>
|
||||
|
||||
<p class="whs1">radius1 = 20</p>
|
||||
|
||||
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
|
||||
v, radius1, height)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create sphere</p>
|
||||
|
||||
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># make section</p>
|
||||
|
||||
<p class="whs1">section = geompy.MakeSection(cylinder,
|
||||
sphere)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_section = geompy.addToStudy(section,
|
||||
"Section")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display results</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_section)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_section,1)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
172
doc/salome/gui/GEOM/box.htm
Executable file
@ -0,0 +1,172 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Box</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-style:italic; }
|
||||
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
||||
p.whs5 { font-weight:normal; }
|
||||
img_whs6 { border:none; width:312px; height:332px; float:none; border-style:none; }
|
||||
p.whs7 { font-size:12pt; font-weight:bold; }
|
||||
p.whs8 { font-size:12pt; font-weight:bold; font-style:normal; }
|
||||
p.whs9 { font-size:12pt; font-style:normal; font-weight:bold; }
|
||||
p.whs10 { font-size:12pt; font-style:normal; font-weight:normal; }
|
||||
img_whs11 { border:none; width:267px; height:280px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nBox");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Box</h1>
|
||||
|
||||
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Box</B></span>
|
||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
||||
style="font-weight: bold;"><B>New Entity - > Primitives - > Box</B></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Box</B></span>.
|
||||
</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
||||
GEOM_Object (SOLID).</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Firstly, you can define a <span style="font-weight: bold;"><B>Box</B></span>
|
||||
by two specified <span style="font-weight: bold;"><B>Vertices (</B></span>its
|
||||
opposite corners), and with edges, parallel to the coordinate axes. </p>
|
||||
|
||||
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
|
||||
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxTwoPnt(Point1,
|
||||
Point2)</I></span></p>
|
||||
|
||||
<p><b style="font-weight: bold;">Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
||||
+ </font></span>2 vertices (opposite corners of the box).</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p><b style="font-weight: bold;"><img src="pics/box1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: normal;"><span style="font-weight: normal;">Secondly,
|
||||
you can define a </span><span style="font-weight: bold;"><B>Box</B></span><span
|
||||
style="font-weight: normal;"> by </b>specified dimensions along the coordinate
|
||||
axes</span> and with edges, parallel to them. The
|
||||
center of the box will be at point (DX/2, DY/2, DZ/2). </p>
|
||||
|
||||
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
|
||||
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxDXDYDZ(DX,
|
||||
DY, DZ)</I></span></p>
|
||||
|
||||
<p><span><b style="font-weight: bold;">Arguments: </b></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
||||
+ 3 values (dimensions at origin).</font></span></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><img src="pics/box2.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs6"></b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>NB! </B></font></span>The is
|
||||
a third way to create a Box, which is currently accessible only via<span
|
||||
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B> TUI </B></font></span>commands.</p>
|
||||
|
||||
<p class="whs7"><span style="font-weight: normal;">You
|
||||
can define a </span>Box<span style="font-weight: normal;"> by the coordinates
|
||||
of two </span>Vertices<span style="font-weight: normal;"> (in this way
|
||||
you don't need to create them in advance). </span></p>
|
||||
|
||||
<p class="whs8"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-weight: normal; font-style: italic;"><I>geompy.MakeBox(x1,y1,z1,x2,y2,z2)</I></span>
|
||||
</p>
|
||||
|
||||
<p class="whs8"><b style="font-weight: bold;">Arguments:<span
|
||||
style="font-weight: normal;"> </b>Name</span> + <span style="font-weight: normal;">X,
|
||||
Y and Z coordinates of both points.</span></p>
|
||||
|
||||
<p class="whs8"> </p>
|
||||
|
||||
<p class="whs9">Example:</p>
|
||||
|
||||
<p class="whs10"><img src="pics/boxes.png" x-maintain-ratio="TRUE" width="267px" height="280px" border="0" class="img_whs11"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
||||
provide you with useful examples of creation of <a href="primitives.htm#bookmark">Primitives</a>.
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
330
doc/salome/gui/GEOM/building_by_blocks.htm
Executable file
@ -0,0 +1,330 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Building by Blocks</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBuilding by Blocks");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Building by Blocks</h1>
|
||||
|
||||
<h3>Quadrangle Face</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(150.,
|
||||
30., 0.)</p>
|
||||
|
||||
<p class="whs1">p3 = geompy.MakeVertex(
|
||||
0., 120.,
|
||||
50.)</p>
|
||||
|
||||
<p class="whs1">p4 = geompy.MakeVertex(
|
||||
0., 40.,
|
||||
70.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create edges</p>
|
||||
|
||||
<p class="whs1">edge1 = geompy.MakeEdge(p1,
|
||||
p2)</p>
|
||||
|
||||
<p class="whs1">edge2 = geompy.MakeEdge(p2,
|
||||
p3)</p>
|
||||
|
||||
<p class="whs1">edge3 = geompy.MakeEdge(p3,
|
||||
p4)</p>
|
||||
|
||||
<p class="whs1">edge4 = geompy.MakeEdge(p4,
|
||||
p1)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create quadrangle face from four edges</p>
|
||||
|
||||
<p class="whs1">qface1 = geompy.MakeQuad(edge1,
|
||||
edge2, edge3, edge4)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create quadrangle face on two edges</p>
|
||||
|
||||
<p class="whs1">qface2 = geompy.MakeQuad2Edges(edge1,
|
||||
edge3)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create quadrangle with specified corners</p>
|
||||
|
||||
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p1,
|
||||
p2, p3, p4)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_p1 = geompy.addToStudy(p1,"Point1")</p>
|
||||
|
||||
<p class="whs1">id_p2 = geompy.addToStudy(p2,"Point2")</p>
|
||||
|
||||
<p class="whs1">id_p3 = geompy.addToStudy(p3,"Point3")</p>
|
||||
|
||||
<p class="whs1">id_p4 = geompy.addToStudy(p4,"Point4")</p>
|
||||
|
||||
<p class="whs1">id_edge1 = geompy.addToStudy(edge1,"Edge1")</p>
|
||||
|
||||
<p class="whs1">id_edge2 = geompy.addToStudy(edge2,"Edge2")</p>
|
||||
|
||||
<p class="whs1">id_edge3 = geompy.addToStudy(edge3,"Edge3")</p>
|
||||
|
||||
<p class="whs1">id_edge4 = geompy.addToStudy(edge4,"Edge4")</p>
|
||||
|
||||
<p class="whs1">id_qface1 = geompy.addToStudy(qface1,"Qface1")</p>
|
||||
|
||||
<p class="whs1">id_qface2 = geompy.addToStudy(qface2,"Qface2")</p>
|
||||
|
||||
<p class="whs1">id_qface3 = geompy.addToStudy(qface3,"Qface3")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display vertices, edges and quadrangle faces</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_edge1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_edge2)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_edge3)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_edge4)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_qface1)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_qface1,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_qface2)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_qface2,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_qface3)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_qface3,1)</span>
|
||||
</p>
|
||||
|
||||
<h3> </h3>
|
||||
|
||||
<h3>Hexagonal Solid</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(150.,
|
||||
30., 0.)</p>
|
||||
|
||||
<p class="whs1">p3 = geompy.MakeVertex(
|
||||
0., 120.,
|
||||
50.)</p>
|
||||
|
||||
<p class="whs1">p4 = geompy.MakeVertex(
|
||||
0., 40.,
|
||||
70.)</p>
|
||||
|
||||
<p class="whs1">p5 = geompy.MakeVertex(100.,
|
||||
20., 45.)</p>
|
||||
|
||||
<p class="whs1">p6 = geompy.MakeVertex(
|
||||
0., 70.,
|
||||
40.)</p>
|
||||
|
||||
<p class="whs1">p7 = geompy.MakeVertex(
|
||||
70., 70., 70.)</p>
|
||||
|
||||
<p class="whs1">p8 = geompy.MakeVertex(
|
||||
70.,-15., 70.)</p>
|
||||
|
||||
<p class="whs1">p9 = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
40.)</p>
|
||||
|
||||
<p class="whs1">p10 = geompy.MakeVertex(
|
||||
0., 70.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p11 = geompy.MakeVertex(
|
||||
70., 70., 0.)</p>
|
||||
|
||||
<p class="whs1">p12 = geompy.MakeVertex(
|
||||
70., -15., 0.)</p>
|
||||
|
||||
<p class="whs1">p13 = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
0.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create faces</p>
|
||||
|
||||
<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p1,
|
||||
p2, p3, p4)</p>
|
||||
|
||||
<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p1,
|
||||
p2, p5, p4)</p>
|
||||
|
||||
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p13,
|
||||
p12, p11, p10)</p>
|
||||
|
||||
<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p9,
|
||||
p8, p7, p6)</p>
|
||||
|
||||
<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p13,
|
||||
p9, p6, p10)</p>
|
||||
|
||||
<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p13,
|
||||
p9, p8, p12)</p>
|
||||
|
||||
<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p12,
|
||||
p8, p7, p11)</p>
|
||||
|
||||
<p class="whs1">qface8 = geompy.MakeQuad4Vertices(p11,
|
||||
p7, p6, p10)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create hexahedral solid between two given faces</p>
|
||||
|
||||
<p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1,
|
||||
qface2)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create hexahedral solids, bounded by the six given faces</p>
|
||||
|
||||
<p class="whs1">solid2 = geompy.MakeHexa(qface3,
|
||||
qface4, qface5, qface6, qface7, qface8)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_solid1 = geompy.addToStudy(solid1,"Solid1")</p>
|
||||
|
||||
<p class="whs1">id_solid2 = geompy.addToStudy(solid2,"Solid2")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display solids</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_solid1)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_solid1,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_solid2)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_solid2,1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
192
doc/salome/gui/GEOM/chamfer.htm
Executable file
@ -0,0 +1,192 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Chamfer</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
img_whs3 { border:none; width:312px; height:319px; float:none; border-style:none; }
|
||||
img_whs4 { border:none; width:225px; height:239px; float:none; border-style:none; }
|
||||
img_whs5 { border:none; width:312px; height:381px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; width:230px; height:245px; float:none; border-style:none; }
|
||||
img_whs7 { border:none; width:221px; height:238px; float:none; border-style:none; }
|
||||
p.whs8 { font-size:12pt; margin-left:40px; }
|
||||
p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nChamfer");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Chamfer</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Fillet</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>Operations - > Transformation - >
|
||||
Fillet</B></span> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>This operation allows you to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">make chamfer
|
||||
of the edges of a Shape.</font></span></p>
|
||||
|
||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
||||
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
|
||||
be a</span></b> GEOM_Object.</font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o create
|
||||
chamfer on all edges of the given shape, you need to define the <span
|
||||
style="font-weight: bold;"><B>Main Object</B></span> to create a chamfer on and
|
||||
the <span style="font-weight: bold;"><B>Dimension</B></span> (radius) of the
|
||||
chamfer. </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeChamferAll(Shape, D)</I></span>
|
||||
</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
|
||||
+ 1 SHAPE + 1 value (Chamfer dimension).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs3"> <img src="pics/chamfer_all.png" x-maintain-ratio="TRUE" width="225px" height="239px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To create chamfer on the specified edges of
|
||||
the given shape, you
|
||||
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
||||
to create a fillet on, select the necessary edges in the object browser
|
||||
or in the viewer and define the <span style="font-weight: bold;"><B>Dimension</B></span>
|
||||
of the Chamfer.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape, D1,
|
||||
D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer on,
|
||||
D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, Face1
|
||||
and Face2 are indices of faces in Shape.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> <img src="pics/chamfer_edge.png" x-maintain-ratio="TRUE" width="230px" height="245px" border="0" class="img_whs6"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To create chamfer on the specified faces of
|
||||
the given shape, you
|
||||
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
||||
to create a fillet on, select the necessary faces in the object browser
|
||||
or in the viewer and define the <span style="font-weight: bold;"><B>Dimension</B></span>
|
||||
of the Chamfer.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeChamferFace(Shape, D1,
|
||||
D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer on,
|
||||
D1 is a chamfer size along a face from ListOfFaceID,
|
||||
D2 is a
|
||||
chamfer size along two faces connected to the edge to which the chamfer
|
||||
is applied, ListOfFaceID is a list of indices of faces in Shape.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> <img src="pics/chamfer_faces.png" x-maintain-ratio="TRUE" width="221px" height="238px" border="0" class="img_whs7"></p>
|
||||
|
||||
<p class="whs8"> </p>
|
||||
|
||||
<p class="whs9"> <span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
||||
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
||||
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation
|
||||
Operations</a>. </font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
176
doc/salome/gui/GEOM/changing_display_parameters.htm
Executable file
@ -0,0 +1,176 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Changing Display Parameters</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nChanging Displaying Parameters");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Changing Displaying Parameters</h1>
|
||||
|
||||
<h3>Changing Color</h3>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBox(0,0,0,
|
||||
50,50,50)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
|
||||
30)</p>
|
||||
|
||||
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
|
||||
|
||||
<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
|
||||
|
||||
<p class="whs1">gg.setColor(fuse_id,218,165,31)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3>Changing Display Mode</h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
salome</span></p>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBox(0,0,0,
|
||||
50,50,50)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
|
||||
30)</p>
|
||||
|
||||
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
|
||||
|
||||
<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(fuse_id,1)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3>Changing Transparency</h3>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBox(0,0,0,
|
||||
50,50,50)</p>
|
||||
|
||||
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
|
||||
30)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
|
||||
|
||||
<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
|
||||
|
||||
<p class="whs1">gg.setColor(fuse_id,218,165,31)</p>
|
||||
|
||||
<p class="whs1">gg.setTransparency(fuse_id,0.5)
|
||||
</p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
256
doc/salome/gui/GEOM/changing_displaying_parameters.htm
Executable file
@ -0,0 +1,256 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Changing displaying parameters</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
p.whs4 { margin-left:40px; }
|
||||
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs6 { width:20px; height:20px; border-style:none; }
|
||||
p.whs7 { font-size:12pt; margin-left:40px; }
|
||||
img_whs8 { border:none; width:403px; height:422px; float:none; border-style:none; }
|
||||
img_whs9 { border:none; width:400px; height:424px; float:none; border-style:none; }
|
||||
p.whs10 { font-size:12pt; font-family:'Times New Roman' , serif; }
|
||||
p.whs11 { font-size:12pt; }
|
||||
img_whs12 { border:none; float:none; width:393px; height:423px; border-style:none; }
|
||||
p.whs13 { font-size:14pt; }
|
||||
img_whs14 { border:none; width:354px; height:177px; float:none; border-style:none; }
|
||||
p.whs15 { margin-left:40px; font-size:12pt; }
|
||||
img_whs16 { border:none; width:397px; height:428px; float:none; border-style:none; }
|
||||
img_whs17 { border:none; width:401px; height:429px; float:none; border-style:none; }
|
||||
img_whs18 { border:none; width:255px; height:150px; float:none; border-style:none; }
|
||||
img_whs19 { border:none; width:377px; height:426px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nManaging geometrical objects\nChanging displaying parameters");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Changing displaying parameters</h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM you can set different
|
||||
displaying parameters for visualization of geometrical objects in the
|
||||
viewer:</span></b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
href="#W_S">Wireframe/Shading</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
href="#Color">Color</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
href="#Transparency">Transparency</a> </p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
href="#Isos">Isos</a> (in OCC viewer only)</p></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class=TODO>To set displaying parameters of a geometrical object:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs4">Right-click on this geometrical object in
|
||||
the viewer and from the pop-up menu select <span style="font-weight: bold;"><B>Properties</B></span>.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;"><a
|
||||
NAME=W_S><img src="files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif" width="20px" height="20px" border="0" class="img_whs6">Wireframe/Shading</a></b> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
||||
Set the display mode of the selected shape.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
||||
Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/disp_mode1sn.png" x-maintain-ratio="TRUE" width="403px" height="422px" border="0" class="img_whs8"> <img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="424px" border="0" class="img_whs9"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;"><a
|
||||
NAME=Color
|
||||
style="font-size: 14pt;">Color</a></b></p>
|
||||
|
||||
<p class="whs10"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">Description:</b>
|
||||
Change the color of a shape.</p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
gg.setColor(ID, Short, Short, Short)</i></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example</b></font></span><span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>:</b></font></span></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="424px" border="0" class="img_whs9"> <img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="393px" height="423px" border="0" class="img_whs12"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs13"><b style="font-weight: bold;"><a NAME=Transparency><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Transparency</font></span></a></b></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">Description:</b>
|
||||
Change the transparency (between 0 & 1) of a shape.</p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
gg.setTransparency(ID, Double)</i></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/neo-transparency.png" x-maintain-ratio="TRUE" width="354px" height="177px" border="0" class="img_whs14"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs15"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="397px" height="428px" border="0" class="img_whs16"> <img src="pics/transparencysn.png" x-maintain-ratio="TRUE" width="401px" height="429px" border="0" class="img_whs17"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;"><a
|
||||
NAME=Isos><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Isos</font></span></a></b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">Description:</b>
|
||||
Changes the number of isolines displayed within a shape.</p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">Arguments:</b>
|
||||
2 values (number of isolines).</p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/neo-isos.png" x-maintain-ratio="TRUE" width="255px" height="150px" border="0" class="img_whs18"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs11"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="397px" height="428px" border="0" class="img_whs16"> <img src="pics/isos_u12_v12sn.png" x-maintain-ratio="TRUE" width="377px" height="426px" border="0" class="img_whs19"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs11">Our TUI Scripts provide you with useful examples
|
||||
of <a href="changing_display_parameters.htm">Changing Displaying Parameters</a>.
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
154
doc/salome/gui/GEOM/check_free_boundaries.htm
Executable file
@ -0,0 +1,154 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Check Free Boundaries</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:22px; height:22px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
||||
p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
||||
img_whs5 { border:none; width:243px; height:203px; float:none; border-style:none; }
|
||||
p.whs6 { font-size:12pt; margin-left:0px; }
|
||||
img_whs7 { border:none; width:436px; height:339px; float:none; border-style:none; }
|
||||
img_whs8 { border:none; width:442px; height:336px; float:none; border-style:none; }
|
||||
p.whs9 { font-weight:bold; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs6 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Boundaries");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image44.gif" width="22px" height="22px" border="0" class="img_whs1"> </font></span>Check Free Boundaries</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
|
||||
style="font-weight: bold;"><B>Check Free Boundaries</B></span> in the Main Menu
|
||||
select <span style="font-weight: bold;"><B>Repair - > Check Free Boundaries</B></span>.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">This operation detects wires and edges that
|
||||
correspond to the shape's boundary, and highlights it</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.
|
||||
</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span
|
||||
style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>,
|
||||
where Shape is a shape to be checked, NoError is false if an error occurred
|
||||
while checking free boundaries, ClosedWires is a list of closed free boundary
|
||||
wires, OpenWires is a list of open free boundary wires.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Shape</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog
|
||||
Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs6"><img src="pics/free_boudaries1.png" x-maintain-ratio="TRUE" width="436px" height="339px" border="0" class="img_whs7"> <img src="pics/free_boudaries2.png" x-maintain-ratio="TRUE" width="442px" height="336px" border="0" class="img_whs8"> </p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs9"><span style="font-weight: normal;">Our</span>
|
||||
TUI Scripts<span style="font-weight: normal;"> provide you with useful
|
||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark8">Repairing
|
||||
Operations</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
148
doc/salome/gui/GEOM/check_free_faces.htm
Executable file
@ -0,0 +1,148 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Check Free Faces</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:23px; height:22px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
||||
p.whs4 { font-size:12pt; margin-left:40px; }
|
||||
img_whs5 { border:none; width:322px; height:163px; float:none; border-style:none; }
|
||||
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
||||
p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
|
||||
img_whs8 { border:none; float:none; width:234px; height:281px; border-style:none; }
|
||||
img_whs9 { border:none; width:248px; height:283px; float:none; border-style:none; }
|
||||
p.whs10 { font-weight:bold; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs6 {text-indent:1pt; }";
|
||||
strNSS += "p.whs7 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Faces");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image10.gif" width="23px" height="22px" border="0" class="img_whs1"> </font></span>Check Free Faces</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
|
||||
style="font-weight: bold;"><B>Check Free Faces</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>Repair - > Check Free Faces.</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">This operation retrieves all free faces from
|
||||
a given shape. A free face is a face not shared between two shells of
|
||||
the shape. </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.
|
||||
Returns a list of IDs of all free faces, contained in the shape.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span
|
||||
style="font-style: italic;"> <I></i>GetFreeFacesIDs(Shape)</I></span>, where
|
||||
Shape is a shape to be checked.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>A</B></span>rguments:</b>
|
||||
Shape</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/repair10.png" x-maintain-ratio="TRUE" width="322px" height="163px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs7">Examples: </p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs6"><img src="pics/free_faces1.png" x-maintain-ratio="TRUE" width="234px" height="281px" border="0" class="img_whs8"> <img src="pics/free_faces2.png" x-maintain-ratio="TRUE" width="248px" height="283px" border="0" class="img_whs9"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs10"><span style="font-weight: normal;">Our</span>
|
||||
TUI Scripts<span style="font-weight: normal;"> provide you with useful
|
||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark9">Repairing
|
||||
Operations</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
150
doc/salome/gui/GEOM/circle.htm
Executable file
@ -0,0 +1,150 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Circle</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; font-weight:bold; }
|
||||
img_whs4 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
||||
img_whs5 { border:none; width:312px; height:359px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; width:348px; height:321px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCircle");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Circle</h1>
|
||||
|
||||
<p><b><span style="font-weight: normal;">T</span></b>o create a <span style="font-weight: bold;"><B>Circle</B></span>
|
||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
||||
style="font-weight: bold;"><B>New Entity - > Basic - > Circle</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There
|
||||
are 2 algorithms to create a</span> Circle <span style="font-weight: normal;">in
|
||||
the 3D space.</span> </b></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
||||
GEOM_Object (edge).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
|
||||
you can define a </span><span style="font-weight: bold;"><B>Circle</B></span><span
|
||||
style="font-weight: normal;"> by a</span> Center Point, <span style="font-weight: normal;">a</span>
|
||||
Vector <span style="font-weight: normal;">giving the </b>circl</span>e’s
|
||||
normal and a <span style="font-weight: bold;"><B>Radius</B></span>.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span></p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
||||
</b><span style="font-weight: normal;">Name + 1 vertex (for the center)
|
||||
+ 1 edge (for the direction) + Radius.</span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs4"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><span style="font-weight: normal;">Secondly,
|
||||
you can define a</span> Circle<span style="font-weight: normal;"> by three</span>
|
||||
Points <span style="font-weight: normal;">that lie on it.</span> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
||||
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeCircleThreePnt(Point1,
|
||||
Point2, Point3)</I></span> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
||||
</b><span style="font-weight: normal;">Name + 3 points which will form
|
||||
the circle.</span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><img src="pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs5"></b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><img src="pics/circles.png" x-maintain-ratio="TRUE" width="348px" height="321px" border="0" class="img_whs6"></b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="basic_geometrical_objects.htm#bookmark2">Basic
|
||||
Geometric Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
149
doc/salome/gui/GEOM/close_contour.htm
Executable file
@ -0,0 +1,149 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Close Contour</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
ul.whs3 { list-style:disc; }
|
||||
p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
||||
img_whs5 { border:none; width:312px; height:397px; float:none; border-style:none; }
|
||||
p.whs6 { font-size:12pt; font-weight:bold; }
|
||||
p.whs7 { font-weight:bold; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nClose Contour");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Close Contour</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Close Contour</B></span> operation in the
|
||||
Main Menu select <span style="font-weight: bold;"><B>Repair - > Close
|
||||
Contour.</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">This operation closes an open contour and modifies
|
||||
the underlying face (if needed) in accordance with user specified mode:</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs2">By common vertex – a
|
||||
vertex is created between the end points of the contour and its tolerance
|
||||
is increased to a value of the gap between the ends of the contour;</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs2">By new edge – a new edge
|
||||
is inserted between the end points of the contour.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs2">This operation is available in <span style="font-weight: bold;"><B>OCC
|
||||
Viewer</B></span> only. </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires,
|
||||
IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires
|
||||
is a list of edges or wires ID’s which has to be closed within the shape
|
||||
(if the list contains only one element = -1, the shape itself is considered
|
||||
as a wire), IsCommonVertex
|
||||
if this parameter is True a closure has to be done by creation of a common
|
||||
vertex, otherwise an edge is added between the end vertices.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments: <span
|
||||
style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire,
|
||||
or a set of Edges) + mode of closure (by vertex or by edge)</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs7"><span style="font-weight: normal;">Our</span>
|
||||
TUI Scripts <span style="font-weight: normal;">provide you with useful
|
||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark2">Repairing
|
||||
Operations</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
141
doc/salome/gui/GEOM/common.htm
Executable file
@ -0,0 +1,141 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Common</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
|
||||
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }
|
||||
img_whs7 { border:none; border-style:none; float:none; width:234px; height:266px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nCommon");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Common</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Common</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>Operations - > Boolean - > Common</B></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This
|
||||
operation</span> </b>cuts the common part of two shapes and transforms
|
||||
it into an independent geometrical object.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object
|
||||
(COMPOUND).</p>
|
||||
|
||||
<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span>
|
||||
<span style="font-style: italic;"><I>geompy.MakeCommon(s1,
|
||||
s2)</I></span> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 2 shapes.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/bool2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> <img src="pics/commonsn.png" x-maintain-ratio="TRUE" width="234px" height="266px" border="0" class="img_whs7"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of the use of <a href="boolean_operations.htm#bookmark1">Boolean Operations</a>.
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
484
doc/salome/gui/GEOM/complex_objects.htm
Executable file
@ -0,0 +1,484 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Complex Objects</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nComplex Objects");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Complex Objects</h1>
|
||||
|
||||
<h3><a name=bookmark>Creation of a Prism</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(
|
||||
0.,
|
||||
0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(
|
||||
100., 0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p3 = geompy.MakeVertex(
|
||||
100., 100., 0.)</p>
|
||||
|
||||
<p class="whs1">p4 = geompy.MakeVertex(
|
||||
0.,
|
||||
100., 0.)</p>
|
||||
|
||||
<p class="whs1">p5 = geompy.MakeVertex(
|
||||
0.,
|
||||
0.,
|
||||
60.)</p>
|
||||
|
||||
<p class="whs1">p6 = geompy.MakeVertex(-100.,
|
||||
0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p7 = geompy.MakeVertex(-100.,-100.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">p8 = geompy.MakeVertex(
|
||||
0.,-100.,
|
||||
0.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector with the given components</p>
|
||||
|
||||
<p class="whs1">vector = geompy.MakeVectorDXDYDZ(50.,
|
||||
50., 50.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>#create vectors with two points</p>
|
||||
|
||||
<p class="whs1">vector1_arc1 = geompy.MakeVector(p1,
|
||||
p2)</p>
|
||||
|
||||
<p class="whs1">vector2_arc1 = geompy.MakeVector(p1,
|
||||
p4)</p>
|
||||
|
||||
<p class="whs1">vector1_arc2 = geompy.MakeVector(p1,
|
||||
p6)</p>
|
||||
|
||||
<p class="whs1">vector2_arc2 = geompy.MakeVector(p1,
|
||||
p8)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create arcs with three points</p>
|
||||
|
||||
<p class="whs1">arc1 = geompy.MakeArc(p2,
|
||||
p3, p4)</p>
|
||||
|
||||
<p class="whs1">arc2 = geompy.MakeArc(p6,
|
||||
p7, p8)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create wires</p>
|
||||
|
||||
<p class="whs1">wire1 = geompy.MakeWire([vector1_arc1,
|
||||
arc1, vector2_arc1])</p>
|
||||
|
||||
<p class="whs1">wire2 = geompy.MakeWire([vector1_arc2,
|
||||
arc2, vector2_arc2])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create faces</p>
|
||||
|
||||
<p class="whs1">isPlanarWanted = 1</p>
|
||||
|
||||
<p class="whs1">face1 = geompy.MakeFace(wire1,
|
||||
isPlanarWanted)</p>
|
||||
|
||||
<p class="whs1">face2 = geompy.MakeFace(wire2,
|
||||
isPlanarWanted)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create prisms</p>
|
||||
|
||||
<p class="whs1">prism1 = geompy.MakePrism(face2,
|
||||
p1, p5)</p>
|
||||
|
||||
<p class="whs1">prism2 = geompy.MakePrismVecH(face1,
|
||||
vector, 50)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_face1 =
|
||||
geompy.addToStudy(face1,"Face1")</p>
|
||||
|
||||
<p class="whs1">id_face2 =
|
||||
geompy.addToStudy(face2,"Face2")</p>
|
||||
|
||||
<p class="whs1">id_prism1 = geompy.addToStudy(prism1,"Prism1")</p>
|
||||
|
||||
<p class="whs1">id_prism2 = geompy.addToStudy(prism2,"Prism2")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display cylinders</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_prism1)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_prism1,1)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_prism2)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_prism2,1)</span>
|
||||
</p>
|
||||
|
||||
<h3><a name=bookmark1>Creation of a Revolution</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(
|
||||
10., 10.,
|
||||
10.)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(
|
||||
15., 15.,
|
||||
50.)</p>
|
||||
|
||||
<p class="whs1">p3 = geompy.MakeVertex(
|
||||
40., 40.,
|
||||
0.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>#create vectors with two points</p>
|
||||
|
||||
<p class="whs1">vector1 = geompy.MakeVector(p1,
|
||||
p2)</p>
|
||||
|
||||
<p class="whs1">vector2 = geompy.MakeVector(p1,
|
||||
p3)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector with the given components</p>
|
||||
|
||||
<p class="whs1">vector3 = geompy.MakeVectorDXDYDZ(-20.,
|
||||
-20., 100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create wire</p>
|
||||
|
||||
<p class="whs1">wire = geompy.MakeWire([vector1,
|
||||
vector2])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create revolution</p>
|
||||
|
||||
<p class="whs1">revolution = geompy.MakeRevolution(wire,
|
||||
vector3, 2.3)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_vector3 =
|
||||
geompy.addToStudy(vector3,"Axis")</p>
|
||||
|
||||
<p class="whs1">id_wire =
|
||||
geompy.addToStudy(wire,"Wire")</p>
|
||||
|
||||
<p class="whs1">id_revolution = geompy.addToStudy(revolution,"Revolution")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display vector, wire and revolution</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_vector3)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_revolution)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_revolution,1)</span>
|
||||
</p>
|
||||
|
||||
<h3><a name=bookmark2>Creation of a Filling</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1">mindeg = 2</p>
|
||||
|
||||
<p class="whs1">maxdeg = 5</p>
|
||||
|
||||
<p class="whs1">tol3d =
|
||||
0.0001</p>
|
||||
|
||||
<p class="whs1">tol2d =
|
||||
0.0001</p>
|
||||
|
||||
<p class="whs1">nbiter = 5</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertex and vector</p>
|
||||
|
||||
<p class="whs1">p1 = geompy.MakeVertex(
|
||||
-30., -30.,
|
||||
50.)</p>
|
||||
|
||||
<p class="whs1">p2 = geompy.MakeVertex(
|
||||
-60., -60.,
|
||||
30.)</p>
|
||||
|
||||
<p class="whs1">p3 = geompy.MakeVertex(
|
||||
-30., -30.,
|
||||
10.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create arc with three points</p>
|
||||
|
||||
<p class="whs1">arc = geompy.MakeArc(p1,
|
||||
p2, p3)</p>
|
||||
|
||||
<p class="whs1">ShapeListCompound
|
||||
= []</p>
|
||||
|
||||
<p class="whs1">i = 0</p>
|
||||
|
||||
<p class="whs1">while i <= 3 :</p>
|
||||
|
||||
<p class="whs1"> S
|
||||
= geompy.MakeTranslation(arc, i * 50., 0., 0.)</p>
|
||||
|
||||
<p class="whs1"> ShapeListCompound.append(S)</p>
|
||||
|
||||
<p class="whs1"> i
|
||||
= i + 1</p>
|
||||
|
||||
<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create filling</p>
|
||||
|
||||
<p class="whs1">filling = geompy.MakeFilling(compound,
|
||||
mindeg, maxdeg, tol3d, tol2d, nbiter)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_compound = geompy.addToStudy(compound,"Compound")</p>
|
||||
|
||||
<p class="whs1">id_filling = geompy.addToStudy(filling,"Filling")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display compound and filling</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_filling)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filling,1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3><a name=bookmark3>Creation of a Pipe</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p0 =
|
||||
geompy.MakeVertex(0. ,
|
||||
0. , 0.
|
||||
)</p>
|
||||
|
||||
<p class="whs1">px =
|
||||
geompy.MakeVertex(100., 0. ,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">py =
|
||||
geompy.MakeVertex(0. ,
|
||||
100., 0. )</p>
|
||||
|
||||
<p class="whs1">pz =
|
||||
geompy.MakeVertex(0. ,
|
||||
0. , 100.)</p>
|
||||
|
||||
<p class="whs1">pxyz = geompy.MakeVertex(100.,
|
||||
100., 100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vector on two points</p>
|
||||
|
||||
<p class="whs1">vxy = geompy.MakeVector(px,
|
||||
py)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create arc with three points</p>
|
||||
|
||||
<p class="whs1">arc = geompy.MakeArc(py,
|
||||
pz, px)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create wire</p>
|
||||
|
||||
<p class="whs1">wire = geompy.MakeWire([vxy,
|
||||
arc])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create edge</p>
|
||||
|
||||
<p class="whs1">edge = geompy.MakeEdge(p0,
|
||||
pxyz)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create pipe</p>
|
||||
|
||||
<p class="whs1">pipe = geompy.MakePipe(wire,
|
||||
edge)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_wire = geompy.addToStudy(wire,"Wire")</p>
|
||||
|
||||
<p class="whs1">id_edge = geompy.addToStudy(edge,"Edge")</p>
|
||||
|
||||
<p class="whs1">id_pipe = geompy.addToStudy(pipe,"Pipe")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display wire, edge (path) and pipe</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_edge)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_pipe)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_pipe,1)</span>
|
||||
</p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
133
doc/salome/gui/GEOM/compound.htm
Executable file
@ -0,0 +1,133 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Compound</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||
img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
||||
img_whs5 { border:none; width:195px; height:174px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nCompound");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span>Compound</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o create
|
||||
a <span style="font-weight: bold;"><B>Compound </B></span>in the Main Menu select
|
||||
New Entity - > Build - > <span style="font-weight: bold;"><B>Compound.</B></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2">You can create a compound from a list of shells.
|
||||
</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object
|
||||
(COMPOUND).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + List of shapes.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/neo-obj7.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/compoundsn.png" x-maintain-ratio="TRUE" width="195px" height="174px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="geometrical_objects.htm#bookmark4">Advanced Geometric
|
||||
Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
169
doc/salome/gui/GEOM/cone.htm
Executable file
@ -0,0 +1,169 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Cone</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-weight:bold; }
|
||||
img_whs4 { border:none; width:312px; height:402px; float:none; border-style:none; }
|
||||
p.whs5 { margin-left:0px; }
|
||||
p.whs6 { font-size:12pt; margin-left:40px; }
|
||||
img_whs7 { border:none; width:276px; height:282px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs5 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCone");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cone</h1>
|
||||
|
||||
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cone</B></span>
|
||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
||||
style="font-weight: bold;"><B>New Entity - > Primitives - > Cone</B></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Torus</B></span>.
|
||||
</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
||||
GEOM_Object (SOLID).</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Firstly, you can define a <span style="font-weight: bold;"><B>Cone</B></span>
|
||||
by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
|
||||
point of the cone base), the <span style="font-weight: bold;"><B>Axis</B></span>,
|
||||
the <span style="font-weight: bold;"><B>Height</B></span> and the first and the
|
||||
second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point,
|
||||
Axis, Radius1, Radius2)</I></span></p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
||||
</b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex
|
||||
+ 1 vector (for direction) + 3 values (Radius of the base part, radius
|
||||
of the upper part, height).</font></span></p>
|
||||
|
||||
<p><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Secondly, you can define a <span style="font-weight: bold;"><B>Cone</B></span>
|
||||
with the centre at the origin of coordinates by its <span style="font-weight: bold;"><B>Height</B></span>
|
||||
and <span style="font-weight: bold;"><B>Radiuses</B></span>. The <span style="font-weight: bold;"><B>Axis</B></span>
|
||||
of the <span style="font-weight: bold;"><B>Cone</B></span> will be collinear
|
||||
to the OZ axis of the coordinate system. </p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-weight: bold;"><B>geompy.MakeConeR1R2H(Radius1,
|
||||
Radius2, Height)</B></span> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
||||
</b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 3 values
|
||||
(Radius of the base part, radius of the upper part, height).</font></span></p>
|
||||
|
||||
<p class="whs5"> <img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><span style="font-weight: bold;"><B>Note:</B></span> If both radiuses are non-zero,
|
||||
the <span style="font-weight: bold;"><B>Cone</B></span> will be truncated. If
|
||||
the radiuses are equal, a <span style="font-weight: bold;"><B>Cylinder</B></span>
|
||||
will be created instead. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs6"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs7"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
162
doc/salome/gui/GEOM/curve.htm
Executable file
@ -0,0 +1,162 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Curve</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
ul.whs3 { list-style:disc; }
|
||||
p.whs4 { font-size:12pt; font-style:italic; }
|
||||
img_whs5 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
||||
p.whs6 { font-size:12pt; font-style:normal; font-weight:bold; }
|
||||
p.whs7 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }
|
||||
img_whs8 { border:none; float:none; width:310px; height:308px; border-style:none; }
|
||||
img_whs9 { border:none; width:313px; height:310px; float:none; border-style:none; }
|
||||
img_whs10 { border:none; float:none; width:291px; height:313px; border-style:none; }
|
||||
p.whs11 { font-size:12pt; margin-left:40px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCurve");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="image32.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Curve</h1>
|
||||
|
||||
<p>To create a <span style="font-weight: bold;"><B>Curve</B></span> in the <span
|
||||
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
|
||||
Entity - > Basic - > Curve</B></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
|
||||
a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve</B></font></span><span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space. Each time you define it by
|
||||
a list of </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Points</B></font></span><span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> through which the curve passes. The three </font></span><span
|
||||
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve Construction</B></font></span><span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> menu choices correspond to the three possible
|
||||
types of curves: Polyline, Besier or B-spline (Interpolated) curve. </font></span></p>
|
||||
|
||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
||||
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">of
|
||||
each operation will be a</span></b> GEOM_Object (edge).</font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Commands:</b>
|
||||
</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span></p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs2">ListOfShape is a list of points through which
|
||||
the curve passes.</p>
|
||||
|
||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + at least 2 points which will serve as nodes on the curve.</font></span></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs5"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs6">Examples:</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs7">Polyline
|
||||
<span
|
||||
style="font-size: 12pt;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
x-text-underline: off;
|
||||
/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font size=3 style="font-size:12pt;"><I><B> Bezier
|
||||
B-Spline</B></I></font></span></p>
|
||||
|
||||
<p class="whs2"><img src="pics/polyline.png" x-maintain-ratio="TRUE" width="310px" height="308px" border="0" class="img_whs8"> <img src="pics/bezier.png" x-maintain-ratio="TRUE" width="313px" height="310px" border="0" class="img_whs9"> <img src="pics/interpol.png" x-maintain-ratio="TRUE" width="291px" height="313px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="basic_geometrical_objects.htm#bookmark4">Basic
|
||||
Geometric Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
138
doc/salome/gui/GEOM/cut.htm
Executable file
@ -0,0 +1,138 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Cut</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
|
||||
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }
|
||||
img_whs7 { border:none; border-style:none; width:231px; height:267px; float:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nCut");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cut</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Cut</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>Operations - > Boolean - > Cut</B></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3">This operation cuts a shape with another
|
||||
one.</p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be a</span> </b> GEOM_Object
|
||||
(COMPOUND).</p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 2 shapes.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/bool3.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> <img src="pics/cutsn.png" x-maintain-ratio="TRUE" width="231px" height="267px" border="0" class="img_whs7"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of the use of <a href="boolean_operations.htm#bookmark3">Boolean Operations</a>.
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
160
doc/salome/gui/GEOM/cylinder.htm
Executable file
@ -0,0 +1,160 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Cylinder</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-weight:bold; }
|
||||
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
|
||||
p.whs5 { margin-left:0px; }
|
||||
p.whs6 { margin-left:40px; }
|
||||
img_whs7 { border:none; width:287px; height:272px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs5 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCylinder");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cylinder</h1>
|
||||
|
||||
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span>
|
||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
||||
style="font-weight: bold;"><B>New Entity - > Primitives - > Cylinder</B></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>.
|
||||
</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
||||
GEOM_Object (SOLID).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Cylinder</B></span>
|
||||
by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
|
||||
point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span>
|
||||
(the axis of the cylinder), and its dimensions: the Radius and the Height.</p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point,
|
||||
Axis, Radius, Height)</I></span>, </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
||||
<span style="font-weight: normal;"> </span></b><span
|
||||
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
|
||||
+ 1 vertex + 1 vector + 2 values (Dimensions: radius and height).</font></span></p>
|
||||
|
||||
<p><b style="font-weight: bold;"><img src="pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b><span style="font-weight: normal;">Secondly, you can define</b> a
|
||||
</span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius
|
||||
and the height at the
|
||||
origin of coordinate system. The axis of the cylinder will be collinear
|
||||
to the OZ axis of the coordinate system. </p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius,
|
||||
Height)</I></span></p>
|
||||
|
||||
<p><span><b style="font-weight: bold;">Arguments</span>: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
||||
+ </font></span>2 values (Dimensions at origin: radius and height).</p>
|
||||
|
||||
<p class="whs5"> <img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs6"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs7"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
130
doc/salome/gui/GEOM/edge.htm
Executable file
@ -0,0 +1,130 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Edge</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
||||
img_whs5 { border:none; width:195px; height:202px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nEdge");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Edge</h1>
|
||||
|
||||
<p class="whs2"><b><span style="font-weight: normal;">T</b>o</span>
|
||||
create an <span style="font-weight: bold;"><B>Edge</B></span> in the <span style="font-weight: bold;"><B>Main
|
||||
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
||||
Build - > Edge</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">You can create an <span style="font-weight: bold;"><B>Edge</B></span>
|
||||
from two points (<span style="font-weight: bold;"><B>Point1</B></span> and <span
|
||||
style="font-weight: bold;"><B>Point2</B></span>), being the first and the last
|
||||
vertices of the edge.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;"> will
|
||||
be a</span></b> GEOM_Object (EDGE).</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>,
|
||||
where Vertex1 and Vertex2 are correspondingly the first and the last vertex
|
||||
of the edge.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 2 vertices.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/neo-obj2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/edgesn.png" x-maintain-ratio="TRUE" width="195px" height="202px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="geometrical_objects.htm#bookmark">Advanced Geometric
|
||||
Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
148
doc/salome/gui/GEOM/ellipse.htm
Executable file
@ -0,0 +1,148 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Ellipse</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
|
||||
p.whs5 { font-size:12pt; font-weight:bold; margin-left:0px; }
|
||||
p.whs6 { font-size:12pt; color:#000000; }
|
||||
p.whs7 { color:#808080; font-size:12pt; }
|
||||
p.whs8 { color:#808080; font-size:12pt; margin-left:40px; }
|
||||
img_whs9 { border:none; width:354px; height:323px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs5 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nEllipse");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span></b>Ellipse</h1>
|
||||
|
||||
<p><b><span style="font-weight: normal;">T</span></b>o create an <span
|
||||
style="font-weight: bold;"><B>Ellipse</B></span> in the <span style="font-weight: bold;"><B>Main
|
||||
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
||||
Basic - > Ellipse</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You
|
||||
can define an</span> Ellipse <span style="font-weight: normal;">by its</span>
|
||||
Center Point, <span style="font-weight: normal;">a</span> Vector <span
|
||||
style="font-weight: normal;">giving its normal, and its</span> Major &
|
||||
Minor Radiuses.</b></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
|
||||
GEOM_Object (edge).</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><span
|
||||
style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
|
||||
RadiusMinor)</I></span>, </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius
|
||||
+ 1 Y Radius.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs8"><img src="pics/ellipsesn.png" x-maintain-ratio="TRUE" width="354px" height="323px" border="0" class="img_whs9"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
||||
provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark3">Basic
|
||||
Geometric Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
180
doc/salome/gui/GEOM/explode.htm
Executable file
@ -0,0 +1,180 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Explode</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { margin-left:0px; }
|
||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
|
||||
p.whs4 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
p.whs5 { font-size:12pt; }
|
||||
ul.whs6 { list-style:disc; }
|
||||
p.whs7 { font-size:12pt; font-style:italic; }
|
||||
p.whs8 { font-size:12pt; font-style:normal; }
|
||||
p.whs9 { font-size:12pt; margin-left:40px; }
|
||||
img_whs10 { border:none; width:312px; height:283px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs2 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nExplode");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Explode</h1>
|
||||
|
||||
<p class="whs2">To<span style="font-weight: bold;"><B> Explode</B></span>
|
||||
an object into subshapes, in the main menu select <span style="font-weight: bold;"><B>New
|
||||
Entity > Explode</B></span>.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">To create a list of subshapes
|
||||
(vertices, edges, wires etc.) of the given shape using the </font></span><span
|
||||
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Explode</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
||||
operation, you need to define the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Main
|
||||
Object,</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> which will be exploded and
|
||||
the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Type of Subshapes</B></font></span><span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> you wish to obtain from it</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">.</font></span></p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of the operation will be a List</span>
|
||||
of</b> GEOM_Objects (edges, faces, solids or compsolids).</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">Using</span>
|
||||
TUI Commands<span style="font-weight: normal;"> you can perform this operation
|
||||
in a variety of ways:</span> </b></p>
|
||||
|
||||
<ul type="disc" class="whs6">
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape,
|
||||
Type)</I></span> explodes a Shape on subshapes of a given Type and returns
|
||||
a <span style="font-weight: bold;"><B>List</B></span> of sub-shapes. </p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllIDs(Shape,
|
||||
Type)</I></span> explodes
|
||||
a Shape on subshapes of a given Type and returns a List of IDs of sub-shapes.
|
||||
</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllSorted(Shape,
|
||||
Type)</I></span> explodes
|
||||
a shape on subshapes of a given type and <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">sorts
|
||||
them by coordinates of their gravity centers, returning a
|
||||
list of sub-shapes. </font></span></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs7">geompy.SubShapeAllSortedIDs(Shape,
|
||||
Type) <span style="font-style: normal;">explodes
|
||||
a shape on subshapes of a given type</span> <span style="font-style: normal;">and
|
||||
sorts them by coordinates of their gravity centers, returning
|
||||
a List of IDs of sub-shapes.</span></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs7"><span
|
||||
style="font-style: normal;">g</span>eompy.SubShape(Shape, Type, ListOfInd)
|
||||
<span style="font-style: normal;">allows
|
||||
to obtain a compound of sub-shapes of the
|
||||
Shape, selected
|
||||
by they indices in a list of all sub-shapes of the given Type. Each index
|
||||
is in the range [1, Nb_Sub-Shapes_Of_Given_Type].</span> </p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs8"><span
|
||||
style="font-size: 12pt; font-style: normal;"><font size=3 style="font-size:12pt;">geompy.SubShapeSorted(Shape,
|
||||
Type, ListOfInd) allows to obtain a compound of sub-shapes of the Shape,
|
||||
selected by they indices in sorted list of all sub-shapes of the given
|
||||
Type. Each index is in the range [1, Nb_Sub-Shapes_Of_Given_Type] </font></span></p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 SHAPE + 1 type of SubShape.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="pics/neo-obj1.png" x-maintain-ratio="TRUE" width="312px" height="283px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
163
doc/salome/gui/GEOM/explode_on_blocks.htm
Executable file
@ -0,0 +1,163 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Explode on Blocks</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:23px; height:22px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||
img_whs4 { border:none; width:312px; height:372px; float:none; border-style:none; }
|
||||
p.whs5 { font-size:12pt; margin-left:0px; }
|
||||
p.whs6 { font-size:12pt; margin-left:0px; font-weight:bold; }
|
||||
p.whs7 { margin-left:40px; font-size:12pt; }
|
||||
img_whs8 { border:none; width:316px; height:278px; float:none; border-style:none; }
|
||||
p.whs9 { font-size:12pt; margin-left:36px; text-indent:-36px; }
|
||||
p.whs10 { font-size:12pt; text-indent:-36px; margin-left:40px; font-weight:bold; }
|
||||
p.whs11 { font-weight:bold; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs5 {margin-left:1pt; }";
|
||||
strNSS += "p.whs6 {margin-left:1pt; }";
|
||||
strNSS += "p.whs9 {text-indent:1pt; }";
|
||||
strNSS += "p.whs10 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBlocks Operations\nExplode on Blocks");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><img src="image53.gif" width="23px" height="22px" border="0" class="img_whs1"> Explode on Blocks</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
an <span style="font-weight: bold;"><B>Explode on Blocks</B></span> operation
|
||||
in the Main Menu select <span style="font-weight: bold;"><B>Operations -
|
||||
> Blocks - > Explode on Blocks.</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">This operation</b>
|
||||
returns blocks of the given compound. The user may define the type blocks
|
||||
to be extracted by setting the minimum and maximum number of faces in
|
||||
the target block. By checking the corresponding box the user may also
|
||||
interactively choose the blocks from a compound .</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound,
|
||||
MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded
|
||||
into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal
|
||||
and the
|
||||
maximal number of faces of the resulting blocks.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments: <span
|
||||
style="font-weight: normal;">1 compound + 1 integer (min. and max. number
|
||||
of faces in the block to be extracted).</span></b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/mtransf3.png" x-maintain-ratio="TRUE" width="312px" height="372px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs6">Example:</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/block_explodesn.png" x-maintain-ratio="TRUE" width="316px" height="278px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs10"> </p>
|
||||
|
||||
<p class="whs11"> <span
|
||||
style="font-weight: normal;">Our</span> TUI
|
||||
Scripts <span style="font-weight: normal;">provide you with useful examples
|
||||
of the use of</span> <a href="blocks_operations.htm#bookmark5">Blocks
|
||||
Operations</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
169
doc/salome/gui/GEOM/extrusion.htm
Executable file
@ -0,0 +1,169 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Extrusion</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
img_whs3 { border:none; width:312px; height:350px; float:none; border-style:none; }
|
||||
p.whs4 { font-size:12pt; font-weight:bold; }
|
||||
p.whs5 { font-size:12pt; margin-left:40px; }
|
||||
p.whs6 { font-size:12pt; font-style:italic; }
|
||||
p.whs7 { font-size:12pt; margin-left:0px; }
|
||||
img_whs8 { border:none; float:none; width:300px; height:178px; border-style:none; }
|
||||
img_whs9 { border:none; width:350px; height:179px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs7 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nExtrusion");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Extrusion</h1>
|
||||
|
||||
<p><b><span style="font-weight: normal;">T</b>o</span> generate an <span
|
||||
style="font-weight: bold;"><B>Extrusion</B></span> on an object in the <span
|
||||
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
|
||||
Entity - > Generation -
|
||||
> Extrusion</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To create an Extrusion (Prism) you should define
|
||||
the <span style="font-weight: bold;"><B>Base Shape </B></span>(a basis of the
|
||||
extrusion)<span style="font-weight: bold;"><B>, </B></span>the <span style="font-weight: bold;"><B>Vector</B></span>
|
||||
(a normal of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span>
|
||||
of extrusion. </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of the operation will be a</span></b>
|
||||
GEOM_Object (edge, face, solid or compsolid).</p>
|
||||
|
||||
<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
|
||||
Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base,
|
||||
Vector, Height)</I></span></p>
|
||||
|
||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-style: italic;"><I><b
|
||||
style="font-weight: bold;">A</I></span>rguments:</b> Name + 1 shape (vertex,
|
||||
edge, wire, face or shell) serving as base object + 1 vector (for direction)
|
||||
+ 1 value (dimension).</font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs4">NB! <span style="font-weight: normal;">The
|
||||
is another way to create an</span> Extrusion, <span style="font-weight: normal;">which
|
||||
is currently accessible only via</span> TUI commands.</p>
|
||||
|
||||
<p class="whs4"><span style="font-weight: normal;">You
|
||||
can define the</span> Extrusion <span style="font-weight: normal;">by
|
||||
the </span>Base Shape<span style="font-weight: normal;"> and the </span>Start<span
|
||||
style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;">
|
||||
of the </span>Vector<span style="font-weight: normal;"> (in
|
||||
this way you don't need to create it in advance).</span> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI
|
||||
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePrism(Base,
|
||||
Point1, Point2) </I></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs6">Base Shape Prisms</p>
|
||||
|
||||
<p class="whs7"><img src="pics/prisms_basessn.png" x-maintain-ratio="TRUE" width="300px" height="178px" border="0" class="img_whs8"> <img src="pics/prismssn.png" x-maintain-ratio="TRUE" width="350px" height="179px" border="0" class="img_whs9"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
||||
provide you with useful examples of creation of <a href="complex_objects.htm#bookmark">Complex
|
||||
Geometric Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
151
doc/salome/gui/GEOM/face.htm
Executable file
@ -0,0 +1,151 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Face</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||
img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
||||
p.whs5 { font-size:12pt; font-style:italic; }
|
||||
img_whs6 { border:none; width:180px; height:182px; float:none; border-style:none; }
|
||||
img_whs7 { border:none; width:179px; height:182px; float:none; border-style:none; }
|
||||
img_whs8 { border:none; float:none; width:181px; height:182px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nFace");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Face</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o create
|
||||
a <span style="font-weight: bold;"><B>Face</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>New Entity - > Build - > Face</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">To
|
||||
create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;">
|
||||
you need to select a wire, whose elements will be connected so that the
|
||||
surface of the resulting object was minimal. Check </span><span style="font-weight: bold;"><B>Try
|
||||
to create a planar face</B></span><span style="font-weight: normal;"> to create
|
||||
a planar face or nothing if it is impossible.</span></b></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object
|
||||
(FACE).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, isPlanarWanted</I></span>)</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 wire.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/neo-obj4.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><span style="font-weight: bold;"><B>TUI commands</B></span>
|
||||
give you some advanced possibilities.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaceWires(Wires,
|
||||
isPlanarWanted)</I></span> - Creates a face on the given wires set. The argument
|
||||
is not a single wire, but a list of wires. </p>
|
||||
|
||||
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaces(Wires,
|
||||
isPlanarWanted)</I></span> is a shortcut to <span style="font-style: italic;"><I>MakeFaceWires().
|
||||
</I></span></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/facesn1.png" x-maintain-ratio="TRUE" width="180px" height="182px" border="0" class="img_whs6"> <img src="pics/facesn2.png" x-maintain-ratio="TRUE" width="179px" height="182px" border="0" class="img_whs7"> <img src="pics/facesn3.png" x-maintain-ratio="TRUE" width="181px" height="182px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="geometrical_objects.htm#bookmark1">Advanced Geometric
|
||||
Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
885
doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm
Executable file
@ -0,0 +1,885 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style>
|
||||
<!--
|
||||
A:link { color:#0000ff; }
|
||||
-->
|
||||
</style><style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
ul.whs3 { list-style:disc; }
|
||||
p.whs4 { font-size:12pt; }
|
||||
p.whs5 { margin-left:40px; }
|
||||
p.whs6 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs7 { width:20px; height:20px; border-style:none; }
|
||||
p.whs8 { font-size:12pt; margin-left:120px; }
|
||||
p.whs9 { font-size:12pt; font-style:italic; margin-left:120px; }
|
||||
table.whs10 { x-cell-content-align:top; width:65.051%; border-spacing:0px; }
|
||||
col.whs11 { width:39.418%; }
|
||||
col.whs12 { width:28.296%; }
|
||||
col.whs13 { width:32.286%; }
|
||||
tr.whs14 { x-cell-content-align:top; }
|
||||
td.whs15 { width:39.418%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
img_whs16 { border:none; width:312px; height:332px; float:none; border-style:none; }
|
||||
td.whs17 { width:28.296%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
p.whs18 { font-size:12pt; margin-right:0px; }
|
||||
img_whs19 { border:none; width:312px; height:473px; float:none; border-style:none; }
|
||||
td.whs20 { width:32.286%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
img_whs21 { border:none; width:312px; height:421px; float:none; border-style:none; }
|
||||
p.whs22 { font-size:12pt; margin-left:40px; }
|
||||
p.whs23 { color:#808080; font-size:12pt; }
|
||||
p.whs24 { font-size:12pt; color:#000000; }
|
||||
p.whs25 { color:#808080; font-size:12pt; margin-left:40px; }
|
||||
img_whs26 { border:none; width:150px; height:140px; border-style:none; }
|
||||
img_whs27 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
||||
img_whs28 { border:none; width:150px; height:139px; border-style:none; }
|
||||
table.whs29 { x-cell-content-align:top; width:50.278%; border-spacing:0px; }
|
||||
col.whs30 { width:49.724%; }
|
||||
col.whs31 { width:50.276%; }
|
||||
td.whs32 { width:49.724%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
img_whs33 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
||||
td.whs34 { width:50.276%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
img_whs35 { border:none; width:312px; height:359px; float:none; border-style:none; }
|
||||
img_whs36 { border:none; width:150px; height:129px; border-style:none; }
|
||||
img_whs37 { border:none; width:312px; height:376px; float:none; border-style:none; }
|
||||
p.whs38 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
||||
img_whs39 { border:none; width:150px; height:154px; border-style:none; }
|
||||
img_whs40 { border:none; width:150px; height:123px; border-style:none; }
|
||||
p.whs41 { font-size:14pt; }
|
||||
img_whs42 { border:none; width:20px; height:20px; border-style:none; }
|
||||
img_whs43 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
||||
p.whs44 { font-size:12pt; font-weight:bold; }
|
||||
p.whs45 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }
|
||||
img_whs46 { border:none; width:200px; height:181px; float:none; border-style:none; }
|
||||
img_whs47 { border:none; width:175px; height:181px; border-style:none; }
|
||||
img_whs48 { border:none; width:203px; height:181px; border-style:none; }
|
||||
p.whs49 { font-size:12pt; margin-left:0px; }
|
||||
img_whs50 { border:none; width:312px; height:358px; float:none; border-style:none; }
|
||||
img_whs51 { border:none; width:150px; height:128px; border-style:none; }
|
||||
table.whs52 { x-cell-content-align:top; width:72.604%; border-spacing:0px; }
|
||||
col.whs53 { width:32.089%; }
|
||||
col.whs54 { width:32.008%; }
|
||||
col.whs55 { width:35.903%; }
|
||||
td.whs56 { width:32.089%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
td.whs57 { width:32.008%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
img_whs58 { border:none; width:312px; height:385px; float:none; border-style:none; }
|
||||
td.whs59 { width:35.903%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
p.whs60 { font-size:12pt; font-weight:bold; color:#000000; }
|
||||
img_whs61 { border:none; width:150px; height:131px; border-style:none; }
|
||||
table.whs62 { x-cell-content-align:top; width:81.596%; border-spacing:0px; }
|
||||
col.whs63 { width:33.942%; }
|
||||
col.whs64 { width:33.812%; }
|
||||
col.whs65 { width:32.246%; }
|
||||
td.whs66 { width:33.942%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
img_whs67 { border:none; width:312px; height:231px; float:none; border-style:none; }
|
||||
td.whs68 { width:33.812%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
img_whs69 { border:none; width:312px; height:266px; float:none; border-style:none; }
|
||||
td.whs70 { width:32.246%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
img_whs71 { border:none; width:312px; height:274px; float:none; border-style:none; }
|
||||
p.whs72 { font-size:12pt; margin-left:40px; font-weight:bold; text-indent:-40px; }
|
||||
img_whs73 { border:none; width:16px; height:16px; border-style:none; }
|
||||
table.whs74 { x-cell-content-align:top; width:63.512%; border-spacing:0px; }
|
||||
col.whs75 { width:49.962%; }
|
||||
col.whs76 { width:45.348%; }
|
||||
col.whs77 { width:4.69%; }
|
||||
td.whs78 { width:49.962%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
p.whs79 { font-weight:bold; font-size:14pt; }
|
||||
img_whs80 { border:none; width:312px; height:391px; float:none; border-style:none; }
|
||||
td.whs81 { width:45.348%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
td.whs82 { width:4.69%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
p.whs83 { margin-left:40px; font-weight:bold; text-indent:-40px; font-size:14pt; }
|
||||
p.whs84 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }
|
||||
p.whs85 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }
|
||||
p.whs86 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }
|
||||
img_whs87 { border:none; width:200px; height:219px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs18 {margin-right:1pt; }";
|
||||
strNSS += "p.whs49 {margin-left:1pt; }";
|
||||
strNSS += "p.whs72 {text-indent:1pt; }";
|
||||
strNSS += "p.whs83 {text-indent:1pt; }";
|
||||
strNSS += "p.whs84 {text-indent:1pt; }";
|
||||
strNSS += "p.whs85 {text-indent:1pt; }";
|
||||
strNSS += "p.whs86 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Creating basic geometrical objects<a HREF="#_Toc57604478"><b><span
|
||||
style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">	</font></span></b></a></h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> In GEOM you can </b>create basic geometrical objects (1D
|
||||
& 2D elements) such as:</p>
|
||||
|
||||
<p class="whs1"><a HREF="#_Toc57604479"><b><font><span
|
||||
style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">	</font></span></font></b></a></p>
|
||||
|
||||
<dir>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57604480"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
||||
face="Times New Roman"
|
||||
size=4> Point	</font></span></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57604481"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
||||
face="Times New Roman"
|
||||
size=4> Line	</font></span></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57604482"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
||||
face="Times New Roman"
|
||||
size=4> Circle	</font></span></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57604483"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
||||
face="Times New Roman"
|
||||
size=4> Ellipse	</font></span></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57604484"> Arc</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
href="#_Toc57604488">Curve</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57604485"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
||||
face="Times New Roman"
|
||||
size=4> Vector	</font></span></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57604486"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
||||
face="Times New Roman"
|
||||
size=4> Plane	</font></span></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57604487"> Working plane</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
href="#_Toc57604489">Local coordinate system</a><a
|
||||
HREF="#_Toc57604487">	</a></p></li>
|
||||
</ul>
|
||||
</dir>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class=TODO>To create basic geometrical objects:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs5">In the main menu select <span style="font-weight: bold;"><B>New
|
||||
Entity > Basic</B></span>.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57604480><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif" width="20px" height="20px" border="0" class="img_whs7"> Point</font></span></a></b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a point.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(vertex).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b>
|
||||
<span style="font-style: italic;"><I>g</I></span>eompy.MakeVertex(X,
|
||||
Y, Z) - </p>
|
||||
|
||||
<p class="whs8">geompy.MakeVertexWithRef(Reference,
|
||||
X, Y, Z)</p>
|
||||
|
||||
<p class="whs9">geompy.MakeVertexOnCurve(Edge, Parameter)
|
||||
</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
||||
Constructor:</b> Name + X, Y and Z coordinates of the point.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd
|
||||
Constructor: </B></span>Name + 1 reference point + 3 coordinates defining
|
||||
the position of this point regarding the reference one</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
||||
Constructor:</b> Name + 1 edge +
|
||||
1 Parameter defining the position of the point on the given edge.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="65.051%" class="whs10">
|
||||
<col class="whs11">
|
||||
<col class="whs12">
|
||||
<col class="whs13">
|
||||
|
||||
<tr valign="top" class="whs14">
|
||||
<td width="39.418%" class="whs15">
|
||||
<p class="whs4"><img src="../pics/point1.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs16"></td>
|
||||
<td width="28.296%" class="whs17">
|
||||
<p class="whs18"><img src="../pics/neo-point2.png" x-maintain-ratio="TRUE" width="312px" height="473px" border="0" class="img_whs19"></td>
|
||||
<td width="32.286%" class="whs20">
|
||||
<p class="whs4"><img src="../pics/point3.png" x-maintain-ratio="TRUE" width="312px" height="421px" border="0" class="img_whs21"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs25"><img src="../image16.gif" width="150px" height="140px" border="0" class="img_whs26"></p>
|
||||
|
||||
<p class="whs25"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57604481><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif" width="20px" height="20px" border="0" class="img_whs7"> Line</font></span></a></b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a line.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(edge).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-style: italic;"><I>geompy.MakeLine(Point1, Point2)</I></span>,
|
||||
where Point1 and Point2 are points through which
|
||||
the line passes.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 2 vertices.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs22"><img src="../pics/line.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs27"></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs25"><img src="../image67.jpg" width="150px" height="139px" border="0" class="img_whs28"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57604482><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs7"> Circle</font></span></a></b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a circle.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(edge).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span>,
|
||||
where Point defines the center of the circle, Vector gives the circle’s
|
||||
normal and Radius is the circle’s radius.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
||||
Constructor:</b> Name + 1 vertex (for the center) + 1 edge (for the direction)
|
||||
+ Radius.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd
|
||||
Constructor: </B></span>Name + 3 points which will form the circle.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="50.278%" class="whs29">
|
||||
<col class="whs30">
|
||||
<col class="whs31">
|
||||
|
||||
<tr valign="top" class="whs14">
|
||||
<td width="49.724%" class="whs32">
|
||||
<p class="whs4"><img src="../pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs33"></td>
|
||||
<td width="50.276%" class="whs34">
|
||||
<p class="whs4"><img src="../pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs25"><img src="../image17.gif" width="150px" height="129px" border="0" class="img_whs36"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57604483><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs7"> Ellipse</font></span></a></b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Creates an ellipse.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(edge).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><span
|
||||
style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
|
||||
RadiusMinor)</I></span>, where Point defines the center of the ellipse, Vector
|
||||
gives the ellipse’s normal, RadiusMajor and RadiusMinor are
|
||||
correspondingly a major and minor radiuses of the ellipse.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius
|
||||
+ 1 Y Radius.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs22"><img src="../pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs37"></p>
|
||||
|
||||
<p class="whs38"> </p>
|
||||
|
||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs25"><img src="../image19.gif" width="150px" height="154px" border="0" class="img_whs39"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57604484><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs7"> Arc</font></span></a></b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Creates an arc.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(edge).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span>,
|
||||
where Point1 is the starting point of the arc, Point2 is a middle point
|
||||
of the arc and Point3 is the ending point of the arc.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 3 vertices.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs22"><img src="../pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs25"><img src="../image20.gif" width="150px" height="123px" border="0" class="img_whs40"></p>
|
||||
|
||||
<p class="whs25"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs41"><b style="font-weight: bold;"><a NAME=_Toc57604488><img src="../image32.gif" width="20px" height="20px" border="0" class="img_whs42"> Curve</a></b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a curve in 3D space.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b>
|
||||
GEOM_Object (edge).</font></span></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
||||
</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span>,
|
||||
where ListOfShape is a list of points through which the curve passes .</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span>,
|
||||
where ListOfShape is a list of points through which the curve passes .</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span>,
|
||||
where ListOfShape is a list of points through which the curve passes .</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + at least 2 points which will serve as nodes on the curve.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs22"><img src="../pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs43"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs44">Example:</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs45">Polyline
|
||||
Bezier
|
||||
B-Spline</p>
|
||||
|
||||
<p class="whs4"><img src="../image147.jpg" x-maintain-ratio="TRUE" width="200px" height="181px" border="0" class="img_whs46"> <img src="../image149.jpg" width="175px" height="181px" border="0" class="img_whs47"> <img src="../image150.jpg" width="203px" height="181px" border="0" class="img_whs48"></p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57604485><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif" width="20px" height="20px" border="0" class="img_whs7"> Vector</font></span></a></b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a vector.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(edge).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-style: italic;"><I>geompy.MakeVector(Point1, Point2)</I></span>,
|
||||
where Point1 is the first point of the vector and the Point2 is the last
|
||||
point of the vector.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments :</b></p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
||||
Constructor :</b> Name + 2 vertices.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
||||
Constructor :</b> Name + 3 values (Coordinates of the 2nd vertex. The
|
||||
first vertex is in the origin).</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs49"> <img src="../pics/vector1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs27"> <img src="../pics/vector2.png" x-maintain-ratio="TRUE" width="312px" height="358px" border="0" class="img_whs50"></p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs25"><img src="../image21.gif" width="150px" height="128px" border="0" class="img_whs51"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57604486><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif" width="20px" height="20px" border="0" class="img_whs7"> Plane</font></span></a></b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a plane.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(face).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-style: italic;"><I>geompy.MakePlane(Point, Vector, TrimSize)</I></span>,
|
||||
where Point is a point through which the
|
||||
plane passes, Vector gives a normal of the plane and TrimSize is a half
|
||||
size of a side of quadrangle face, representing the plane.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
||||
Constructor :</b> Name + 1 vertex + 1 vector +
|
||||
1 value (to define the size of the plane).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
||||
Constructor :</b> Name + 1 vertex + 3 points (for the direction) + 1 value
|
||||
(to define the size of the plane).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">3rd
|
||||
Constructor :</b> Name + 1 selection + 1 value (to define the size of
|
||||
the plane).</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="72.604%" class="whs52">
|
||||
<col class="whs53">
|
||||
<col class="whs54">
|
||||
<col class="whs55">
|
||||
|
||||
<tr valign="top" class="whs14">
|
||||
<td width="32.089%" class="whs56">
|
||||
<p class="whs4"><img src="../pics/plane1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs33"></td>
|
||||
<td width="32.008%" class="whs57">
|
||||
<p class="whs4"><img src="../pics/plane2.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs58"></td>
|
||||
<td width="35.903%" class="whs59">
|
||||
<p class="whs4"><img src="../pics/plane3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs58"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs60"><b><span style="font-weight: bold;"><B>Example:</B></span></b></p>
|
||||
|
||||
<p class="whs23"> </p>
|
||||
|
||||
<p class="whs25"><img src="../image76.jpg" width="150px" height="131px" border="0" class="img_whs61"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57604487><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif" width="20px" height="20px" border="0" class="img_whs7"> Working
|
||||
Plane</font></span></a></b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Sets the working plane (and the camera position).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs4">Name + 1 selection (face
|
||||
or planar face), </p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4">Name + 2
|
||||
vectors, </p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4">Name + XYZ coordinate
|
||||
system</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="81.596%" class="whs62">
|
||||
<col class="whs63">
|
||||
<col class="whs64">
|
||||
<col class="whs65">
|
||||
|
||||
<tr valign="top" class="whs14">
|
||||
<td width="33.942%" class="whs66">
|
||||
<p class="whs4"><img src="../pics/workplane4.png" x-maintain-ratio="TRUE" width="312px" height="231px" border="0" class="img_whs67"></td>
|
||||
<td width="33.812%" class="whs68">
|
||||
<p class="whs4"><img src="../pics/workplane5.png" x-maintain-ratio="TRUE" width="312px" height="266px" border="0" class="img_whs69"></td>
|
||||
<td width="32.246%" class="whs70">
|
||||
<p class="whs4"><img src="../pics/workplane6.png" x-maintain-ratio="TRUE" width="312px" height="274px" border="0" class="img_whs71"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs49"> </p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs38"> </p>
|
||||
|
||||
<p class="whs72"> </p>
|
||||
|
||||
<p class="whs72"><a name=_Toc57604489><img src="../image35.gif" width="16px" height="16px" border="0" class="img_whs73"><span
|
||||
style="font-size: 14pt;"> <font size=4 style="font-size:14pt;"></font></span><b><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Local
|
||||
coordinate system</font></span></b></a></p>
|
||||
|
||||
<p class="whs72"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
The user
|
||||
may manually enter values of X, Y, and Z coordinates of origin in the
|
||||
corresponding fields of the dialog box, or select a point in the object
|
||||
browser or 3D viewer, in this case coordinates of origin are automatically
|
||||
filled in with the coordinates of the selected point. </p>
|
||||
|
||||
<p class="whs4">The user then specifies components of X and
|
||||
Y axes direction.</p>
|
||||
|
||||
<p class="whs4">Preview of the new LCS (small trihedron located
|
||||
and oriented according to parameters of LCS) is displayed in the 3D viewer
|
||||
and updated as soon as the user modifies some parameter. </p>
|
||||
|
||||
<p class="whs4">Then the user presses «OK» or «Apply» button
|
||||
to create an LCS at the location with the specified coordinates. The new
|
||||
object is shown in the Object Browser and in 3D viewer.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
||||
<span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY,
|
||||
XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin
|
||||
of LCS, XDX, XDY, XDZ is a vector of OX direction
|
||||
of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
||||
Constructor :</b> Name + Coordinates of origin, X axis direction, Y axis
|
||||
direction</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
||||
Constructor :</b> Name + reference object.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">3rd
|
||||
Constructor :</b> Name + 1 point of origin + X axis direction, Y axis
|
||||
direction.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4">.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="63.512%" class="whs74">
|
||||
<col class="whs75">
|
||||
<col class="whs76">
|
||||
<col class="whs77">
|
||||
|
||||
<tr valign="top" class="whs14">
|
||||
<td width="49.962%" class="whs78">
|
||||
<p class="whs79"><img src="../pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs80"></td>
|
||||
<td width="45.348%" class="whs81">
|
||||
<p class="whs79"><img src="../pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs43"></td>
|
||||
<td width="4.69%" class="whs82">
|
||||
<p class="whs79"><img src="../pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs83"> </p>
|
||||
|
||||
<p class="whs84"><span style="font-weight: bold;
|
||||
margin-left: 80px;
|
||||
text-indent: -80px;
|
||||
font-size: 12pt;"><font size=3 style="font-size:12pt;"><B>Example:</B></font></span></p>
|
||||
|
||||
<p class="whs85"> </p>
|
||||
|
||||
<p class="whs86"><img src="../image145.jpg" width="200px" height="219px" border="0" class="img_whs87"></p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
153
doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm
Executable file
@ -0,0 +1,153 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
h1.whs1 { margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
p.whs2 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
||||
img_whs4 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
p.whs5 { text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; }
|
||||
p.whs6 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:normal; }
|
||||
p.whs7 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:48px; }
|
||||
p.whs8 { margin-left:48px; }
|
||||
p.whs9 { font-size:12pt; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "h1.whs1 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS += "p.whs2 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS += "p.whs5 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS += "p.whs6 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS += "p.whs7 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nUsing boolean operations");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1 class="whs1">Using boolean operations</h1>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs4">In GEOM for construction of more complex geometrical objects
|
||||
(2D & 3D elements) you can use the following boolean operations:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li style="list-style: disc;"
|
||||
type=disc
|
||||
class=kadov-p><p class="whs2"><a href="../fuse.htm">Fuse</a></p></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
|
||||
<li style="list-style: disc;"
|
||||
type=disc
|
||||
class=kadov-p><p class="whs2"><a href="../common.htm">Common</a></p></li>
|
||||
|
||||
<li style="list-style: disc;"
|
||||
type=disc
|
||||
class=kadov-p><p class="whs5"><a href="../cut.htm">Cut</a></p></li>
|
||||
|
||||
<li style="list-style: disc;"
|
||||
type=disc
|
||||
class=kadov-p><p class="whs2"><a href="../section.htm">Section</a></p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs6">There is a general TUI command covering
|
||||
all these operations, which can be used alongside with separate commands
|
||||
for each operation.</p>
|
||||
|
||||
<p class="whs7"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1,
|
||||
Shape2, Operation)</I></span>, where Shape1 is the first argument and Shape2
|
||||
is the second argument of Boolean operation, Operation is a type of the
|
||||
Boolean operation (1 – Common, 2 – Cut, 3 – Fuse, 4 – Section).</p>
|
||||
|
||||
<p class="whs8"> </p>
|
||||
|
||||
<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our <span style="font-weight: bold;"><B>TUI
|
||||
Scripts</B></span> provide you with useful examples of the use of <a href="../boolean_operations.htm">Boolean
|
||||
Operations</a>. </font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
458
doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm
Executable file
@ -0,0 +1,458 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-size:12pt; font-weight:normal; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
p.whs3 { font-size:12pt; }
|
||||
p.whs4 { margin-left:40px; }
|
||||
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs6 { width:20px; height:20px; border-style:none; }
|
||||
ul.whs7 { list-style:disc; }
|
||||
p.whs8 { font-size:12pt; margin-left:40px; }
|
||||
img_whs9 { border:none; border-style:none; width:312px; height:283px; float:none; }
|
||||
p.whs10 { font-family:'Times New Roman' , serif; font-size:14pt; font-style:italic; font-weight:bold; }
|
||||
img_whs11 { border:none; border-style:none; width:312px; height:324px; float:none; }
|
||||
img_whs12 { border:none; width:150px; height:102px; border-style:none; }
|
||||
img_whs13 { border:none; border-style:none; width:312px; height:289px; float:none; }
|
||||
img_whs14 { border:none; width:150px; height:120px; border-style:none; }
|
||||
p.whs15 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
img_whs16 { border:none; border-style:none; width:312px; height:315px; float:none; }
|
||||
img_whs17 { border:none; width:150px; height:116px; border-style:none; }
|
||||
img_whs18 { border:none; width:150px; height:131px; border-style:none; }
|
||||
img_whs19 { border:none; width:150px; height:105px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><b><span style="font-weight: bold;"><B>B</B></span>uilding geometrical objects</b></h1>
|
||||
|
||||
<p class="whs1"><b><span style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2">In GEOM you can create basic and advanced geometrical objects
|
||||
(2D & 3D elements) using the following building functions:</span></b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a href="#explode">Explode</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3">Build</p></li>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a href="#edge">Edge</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a href="#wire">Wire</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a href="#face">Face</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a href="#shell">Shell</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a href="#solid">Solid</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a href="#compound">Compound</a></p></li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class=TODO
|
||||
style="font-family: 'Times New Roman', serif;
|
||||
font-size: 14pt;
|
||||
font-weight: bold;">To use Explode:</p>
|
||||
|
||||
<p class=TODO
|
||||
style="font-family: 'Times New Roman', serif;
|
||||
font-size: 14pt;
|
||||
font-weight: bold;"> </p>
|
||||
|
||||
<p class="whs4">In the main menu select <span style="font-weight: bold;"><B>New
|
||||
Entity > Explode</B></span>.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;"><a
|
||||
NAME=explode><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif" width="20px" height="20px" border="0" class="img_whs6"> Explode</font></span></a></b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
||||
Returns a list of subshapes (vertices, edges, wires etc.) of the given
|
||||
shape.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Result :</b>
|
||||
List of GEOM_Objects.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:
|
||||
</b></p>
|
||||
|
||||
<ul type="disc" class="whs7">
|
||||
|
||||
<li class=kadov-p><p class="whs3"><span style="font-style: italic;"><I>geompy.SubShape(Shape,
|
||||
ListOfID)</I></span>, where Shape is a shape whose subshape(s) is (are) retrieved,
|
||||
ListOfID is a list of requested sub shapes IDs. To get a subshape ID use
|
||||
method GetSubShapeID().</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape,
|
||||
TypeOfShape)</I></span>, where Shape is a shape to be exploded on sub shapes
|
||||
of type TypeOfShape.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 SHAPE + 1 type of SubShape.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../pics/neo-obj1.png" x-maintain-ratio="TRUE" width="312px" height="283px" border="0" class="img_whs9"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs10">To use building functions:</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs8">In the main menu select
|
||||
<span style="font-weight: bold;"><B>New Entity > </B></span><span style="font-weight: bold;"><B>Build
|
||||
</B></span>submenu.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=edge><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif" width="20px" height="20px" border="0" class="img_whs6"><b> Edge</b></a></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
||||
Creates an edge.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(EDGE).</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>,
|
||||
where Vertex1 and Vertex2 are correspondingly the first and the last vertex
|
||||
of the edge.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 2 vertices.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../pics/neo-obj2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs11"></p>
|
||||
|
||||
<p class="whs8"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../image9.gif" width="150px" height="102px" border="0" class="img_whs12"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=wire><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Wire</b></font></span></a></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a wire.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(WIRE).</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI Command :</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeWire(ListOfShape)</I></span>,
|
||||
where ListOfShape is a list of edges and/or wires from which the wire
|
||||
to be constructed.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + List of connected wires or edges..</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../pics/neo-obj3.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs13"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../image11.gif" width="150px" height="120px" border="0" class="img_whs14"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=face><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Face</b></font></span></a></p>
|
||||
|
||||
<p class="whs15"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a face.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(FACE).</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, WantPlanarFace)</I></span>,
|
||||
where Wire is a wire and if boolean parameter WantPlanarFace is planar
|
||||
then only a planar face or no face is constructed.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 wire.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../pics/neo-obj4.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs16"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../image12.gif" width="150px" height="116px" border="0" class="img_whs17"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=shell><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Shell</b></font></span></a></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a shell.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(SHELL).</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeShell(ListOfShape)</I></span>,
|
||||
where ListOfShape is a list of faces and (or) shells from which the shell
|
||||
is constructed.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">List of faces having connected edges.</font></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../pics/neo-obj5.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs13"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../image18.jpg" width="150px" height="131px" border="0" class="img_whs18"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=solid><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Solid</b></font></span></a></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a solid - closed geometrical 3D element.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_<span>Object
|
||||
(SOLID).</span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeSolid(ListOfShape)</I></span>,
|
||||
where ListOfShape is a list of shells from which the solid is constructed.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + A closed shell or a list of shells.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../pics/neo-obj6.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs16"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=compound><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="../salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Compound</b></font></span></a></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a compound.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(COMPOUND).</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span>,
|
||||
where ListOfShape is a list of shapes from which the compound is constructed.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + List of shapes.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../pics/neo-obj7.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs13"></p>
|
||||
|
||||
<p class="whs8"> </p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs8"><img src="../image13.gif" width="150px" height="105px" border="0" class="img_whs19"></p>
|
||||
|
||||
<p class="whs8"> </p>
|
||||
|
||||
<p class="whs8"> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
307
doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm
Executable file
@ -0,0 +1,307 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style>
|
||||
<!--
|
||||
A:link { color:#0000ff; }
|
||||
-->
|
||||
</style><style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-size:12pt; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
p.whs3 { margin-left:40px; }
|
||||
h3.whs4 { font-size:14pt; }
|
||||
img_whs5 { width:20px; height:20px; border-style:none; }
|
||||
p.whs6 { font-size:12pt; margin-left:40px; }
|
||||
img_whs7 { border:none; border-style:none; width:312px; height:350px; float:none; }
|
||||
img_whs8 { border:none; width:150px; height:116px; border-style:none; }
|
||||
p.whs9 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs10 { border:none; width:150px; height:153px; border-style:none; }
|
||||
img_whs11 { border:none; border-style:none; width:312px; height:367px; float:none; }
|
||||
img_whs12 { border:none; width:150px; height:103px; border-style:none; }
|
||||
p.whs13 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
img_whs14 { border:none; border-style:none; width:312px; height:324px; float:none; }
|
||||
img_whs15 { border:none; width:150px; height:117px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Generating complex objects</h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> </b>Generation operations in GEOM are used to create advanced
|
||||
geometrical objects (3D elements). They are:</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Prism">Extrusion</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Revolution">Revolution</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Filling">Filling</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Pipe">Pipe
|
||||
creation</a></p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class=TODO>To use generation operations:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>New
|
||||
Entity > Generation</B></span><span>.</span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3 class="whs4"><b style="font-weight: bold;"><a NAME=Prism><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs5"> Extrusion</a></b> </h3>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Creates an extruded shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(edge, face, solid or compsolid).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command :</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakePrism(baseShape, Vector,
|
||||
Height)</I></span>, where baseShape is a basis of the prism, Vector is a normal
|
||||
of the prism and Height is a height of the prism.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
|
||||
+ 1 vector (for direction) + 1 value (dimension).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs6"><img src="../pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs7"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs6"><img src="../image14.gif" width="150px" height="116px" border="0" class="img_whs8"> <img src="../image27.jpg" width="150px" height="116px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs9"><a NAME=Revolution><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Revolution</b></a></p>
|
||||
|
||||
<p class="whs9"><span><font size=4 style="font-size:14pt;"><b
|
||||
style="font-weight: bold;"><font style="font-size: 14pt;"
|
||||
size=4>	</font></b></font></span></p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Creates an extruded shape by revolution.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(edge, face, solid or compsolid).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeRevolution(Shape, Axis,
|
||||
Angle)</I></span>, where Shape is a shape to rotate, Axis is the axis of the
|
||||
revolution and Angle is an angle by which Shape has to be rotated around
|
||||
Axis.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
|
||||
+ 1 vector (for direction) + 1 value (angle).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs6"><img src="../pics/revolution.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs7"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs6"><img src="../image15.gif" width="150px" height="153px" border="0" class="img_whs10"> <img src="../image52.jpg" width="150px" height="153px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs9"><a NAME=Filling><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Filling</b></a></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a curving face using several curves.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(face).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree,
|
||||
MaxDegree, Tol2D, Tol3D, NbIter)</I></span>, where Shape is a shape to fill,
|
||||
MinDegree and MaxDegree are correspondingly maximal and minimal degree,
|
||||
Tol2D is a tolerance for 2D and Tol3D is a tolerance for 3D, NbIter is
|
||||
a number of iterations.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number
|
||||
of iterations, 2D tolerance, 3D tolerance).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs6"><img src="../pics/filling.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs11"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs6"><img src="../image7.gif" width="150px" height="103px" border="0" class="img_whs12"> <img src="../image11.jpg" width="150px" height="103px" border="0" class="img_whs12"></p>
|
||||
|
||||
<p class="whs13"> </p>
|
||||
|
||||
<p class="whs9"><a NAME=Pipe><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Pipe</b></a></p>
|
||||
|
||||
<p class="whs13"><span><font size=3 style="font-size:12pt;"><b
|
||||
style="font-weight: bold;"><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
|
||||
face="Times New Roman"
|
||||
size=4>	</font></b></font></span></p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Creates an extruded shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(edge, face, solid or compsolid).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakePipe(baseShape, pathShape)</I></span>,
|
||||
where baseShape is a shape to be extruded, pathShape is a path along which
|
||||
baseShape is extruded.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
|
||||
+ 1 shape (edge, face or shell) for definition of the path.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs6"><img src="../pics/pipe.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs14"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs6"><img src="../image8.gif" width="150px" height="117px" border="0" class="img_whs15"> <img src="../image12.jpg" width="150px" height="117px" border="0" class="img_whs15"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
145
doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm
Executable file
@ -0,0 +1,145 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-size:12pt; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
p.whs3 { margin-left:40px; }
|
||||
img_whs4 { border:none; border-style:none; width:557px; height:274px; float:none; }
|
||||
img_whs5 { border:none; border-style:none; width:529px; height:272px; float:none; }
|
||||
p.whs6 { font-size:12pt; font-family:'Times New Roman' , serif; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nImporting\\exporting geometrical objects");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Importing\exporting geometrical objects</h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM you can import
|
||||
and export geometrical objects from\into BREP, IGES, STEP </span></b><b><span
|
||||
style="font-weight: normal;">files. </span></b></p>
|
||||
|
||||
|
||||
|
||||
<p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs3">From the <span style="font-weight: bold;"><B>File
|
||||
</B></span>menu choose <span style="font-weight: bold;"><B>Import </B></span>and
|
||||
select the required format of the file for importation. Then you will
|
||||
see a standard dialog box allowing to search for and choose *.brep, *.iges
|
||||
or *.step file:</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><img src="../pics/import.png" x-maintain-ratio="TRUE" width="557px" height="274px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3">Select the required file and click <span
|
||||
style="font-weight: bold;"><B>OK</B></span>. You file will be imported into GEOM
|
||||
and its contents (geometrical objects) will be displayed in the <span
|
||||
style="font-weight: bold;"><B>Object Browser</B></span>. </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs3">Select the object you wish to export, then
|
||||
from the <span style="font-weight: bold;"><B>File </B></span>menu choose <span
|
||||
style="font-weight: bold;"><B>Export </B></span>and select the required format
|
||||
of the file for exportation. You will see a standard dialog box allowing
|
||||
to enter the name and select the location for the file which will be exported:</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><img src="../pics/export.png" x-maintain-ratio="TRUE" width="529px" height="272px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3">Click <span style="font-weight: bold;"><B>OK</B></span>
|
||||
to confirm your exportation. </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<li class=kadov-p><p class="whs6"> </p></li>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
597
doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm
Executable file
@ -0,0 +1,597 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style>
|
||||
<!--
|
||||
A:visited { color:#800080; }
|
||||
A:link { color:#0000ff; }
|
||||
-->
|
||||
</style><style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-size:12pt; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
p.whs3 { margin-left:40px; }
|
||||
img_whs4 { border:none; width:21px; height:19px; border-style:none; }
|
||||
p.whs5 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
||||
img_whs6 { border:none; width:272px; height:303px; float:none; border-style:none; }
|
||||
p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs8 { width:20px; height:20px; border-style:none; }
|
||||
p.whs9 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
img_whs10 { border:none; border-style:none; width:360px; height:307px; float:none; }
|
||||
p.whs11 { font-size:12pt; margin-left:40px; }
|
||||
img_whs12 { border:none; width:312px; height:367px; float:none; border-style:none; }
|
||||
p.whs13 { font-size:12pt; margin-left:400px; }
|
||||
img_whs14 { border:none; width:360px; height:333px; float:none; border-style:none; }
|
||||
p.whs15 { font-size:12pt; font-weight:bold; }
|
||||
img_whs16 { border:none; width:360px; height:328px; float:none; border-style:none; }
|
||||
p.whs17 { font-size:12pt; font-weight:normal; }
|
||||
img_whs18 { border:none; border-style:none; width:360px; height:290px; float:none; }
|
||||
img_whs19 { border:none; border-style:none; width:360px; height:328px; float:none; }
|
||||
img_whs20 { border:none; width:360px; height:405px; float:none; border-style:none; }
|
||||
img_whs21 { border:none; width:360px; height:309px; float:none; border-style:none; }
|
||||
p.whs22 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
||||
img_whs23 { border:none; width:25px; height:23px; border-style:none; }
|
||||
ul.whs24 { list-style:disc; }
|
||||
img_whs25 { border:none; width:329px; height:436px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs22 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nUsing measurement tools");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Using measurement tools</h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2">Measurement tools in GEOM are necessary for getting</b> different
|
||||
data concerning created or imported geometrical objects. They are:</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#PointCoord">Point
|
||||
coordinates</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Basic_properties">Basic
|
||||
properties</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Center_gravity">Center
|
||||
of mass</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Inertia</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Bounding_box">Bounding
|
||||
box</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Min_distance">Min.
|
||||
distance</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Tolerance">Tolerance</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Whatis">WhatIs</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a href="#Check_comp_blocks">Check
|
||||
compound of blocks</a></p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
||||
show how to use <a href="../measurement_tools.htm">Measurement Tools</a>
|
||||
with <span style="font-weight: bold;"><B>TUI
|
||||
commands</B></span>. </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class=TODO>To use measurement tools:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>Measures
|
||||
</B></span>submenu.</p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><a name=PointCoord> <img src="../image49.gif" width="21px" height="19px" border="0" class="img_whs4"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Point coordinates</B></font></span></a></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
||||
Returns the coordinates of a point.</font></span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Point
|
||||
coordinates (X, Y, Z) in 3D space in the form of Python Tuple.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
||||
<span style="font-style: italic;"><I>geompy.PointCoordinates(Point)</I></span>,
|
||||
where Point is a point whose coordinates are inquired.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 point.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs5"><img src="../pics/measures1.png" x-maintain-ratio="TRUE" width="272px" height="303px" border="0" class="img_whs6"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><b style="font-weight: bold;"><a
|
||||
NAME=Basic_properties
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif" width="20px" height="20px" border="0" class="img_whs8"> Basic properties</a></b>
|
||||
</p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Return the properties (Length, Surface & Volume) of a definite geometrical
|
||||
object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Display
|
||||
Length, Surface & Volume in the form of Python Tuple.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
||||
<span style="font-style: italic;"><I>geompy.BasicProperties(Shape)</I></span>,
|
||||
where Shape is a shape whose properties are inquired.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs3"><img src="../pics/neo-basicprop.png" x-maintain-ratio="TRUE" width="360px" height="307px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs7"><a name=Center_gravity
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
|
||||
Center of mass</b></a></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a gravity center of a shape and returns its coordinates.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(vertex).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeCDG(Shape)</I></span>, where
|
||||
Shape is the shape for which a center of gravity is computed.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs11"><img src="../pics/measures3.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs12"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=Inertia_axis
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
||||
size=4> Inertia</font></b></a>
|
||||
</p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Returns the inertia axis of a geometrical object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Display
|
||||
the matrix and moments of inretia in the form of Python Tuple (I11, I12,
|
||||
I13, </p>
|
||||
|
||||
<p class="whs13"> I21,
|
||||
I22, I23, </p>
|
||||
|
||||
<p class="whs13"> I31,
|
||||
I32, I33,</p>
|
||||
|
||||
<p class="whs13"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> Ix,
|
||||
Iy, Iz)</font></span>.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
||||
<span style="font-style: italic;"><I>geompy.Inertia(Shape)</I></span>, where
|
||||
Shape is a shape for which a matrix of inertia and moment of inertia are
|
||||
returned.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><img src="../pics/measures4.png" x-maintain-ratio="TRUE" width="360px" height="333px" border="0" class="img_whs14"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=Bounding_box
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
||||
size=4> Bounding
|
||||
box</font></b></a> </p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Returns the dimensions of the bounding box of a geometrical object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
|
||||
the dimensions of the bounding box of a geometrical object in the form
|
||||
of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span
|
||||
style="font-weight: normal;">, where Shape is a shape for which a bounding
|
||||
box is computed.</span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs11"><img src="../pics/measures5.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs16"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=Min_distance
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
||||
size=4> Min. distance</font></b></a></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Returns the min. distance between 2 geometrical objects.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
|
||||
the min. distance.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1,
|
||||
Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2
|
||||
are shapes between which the minimal distance computed.</span></p>
|
||||
|
||||
<p class="whs17"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
2 shapes.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs11"><img src="../pics/distance.png" x-maintain-ratio="TRUE" width="360px" height="290px" border="0" class="img_whs18"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=Tolerance
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
|
||||
Tolerance</b></a> </p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Returns the tolerance of a geometrical object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
|
||||
the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol,
|
||||
VertexMinTol, VertexMaxTol).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span
|
||||
style="font-weight: normal;">, where Shape is a shape for which minimal
|
||||
and maximal tolerances are returned.</span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs11"><img src="../pics/new-tolerance.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs19"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=Whatis><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> WhatIs</b></a>
|
||||
</font></span></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Returns the type of a geometrical object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
|
||||
all elements composing your geometrical object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
||||
<span style="font-style: italic;"><I>geompy.WhatIs(Shape)</I></span>, where Shape
|
||||
is a shape from which a description is returned.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs11"><img src="../pics/measures8.png" x-maintain-ratio="TRUE" width="360px" height="405px" border="0" class="img_whs20"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=check
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
||||
size=4> Check</font></b></a>
|
||||
</p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Returns True if this geometrical object is valid.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.CheckShape(Shape)</I></span>,
|
||||
where is shape which is checked for validity.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs11"><img src="../pics/measures9.png" x-maintain-ratio="TRUE" width="360px" height="309px" border="0" class="img_whs21"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs22"><a name=Check_comp_blocks><img src="../image27.gif" width="25px" height="23px" border="0" class="img_whs23"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check compound
|
||||
of blocks</B></font></span></a></p>
|
||||
|
||||
<p class="whs22"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Checks whether a shape is a compound of glued blocks. To be considered
|
||||
as a compound of blocks, the given shape must satisfy the following conditions:</p>
|
||||
|
||||
<ul type="disc" class="whs24">
|
||||
|
||||
<li class=kadov-p><p class="whs1"> Each
|
||||
element of the compound should be a Block (6 faces and 12 edges);</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> A
|
||||
connection between two Blocks should be an entire quadrangle face or an
|
||||
entire edge;</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> The
|
||||
compound should be connected;</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> Two
|
||||
quadrangle faces should be glued. </p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">Informs of the following possible errors:</p>
|
||||
|
||||
<ul type="disc" class="whs24">
|
||||
|
||||
<li class=kadov-p><p class="whs1">not a block,</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1">not glued,</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1">not connected,</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">extra
|
||||
or degenerated edge.</font></span></p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean;
|
||||
highlight in the viewer.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.CheckCompoundOfBlocks(Compound)</I></span>,
|
||||
where the Compound is a shape, investigated in order to see, if it is
|
||||
a valid compound of blocks. Validity flag is returned, encountered errors
|
||||
are printed in the python console.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"><img src="../pics/measures10.png" x-maintain-ratio="TRUE" width="329px" height="436px" border="0" class="img_whs25"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
637
doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions.htm
Executable file
@ -0,0 +1,637 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style>
|
||||
<!--
|
||||
A:link { color:#0000ff; }
|
||||
-->
|
||||
</style><style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
ul.whs4 { list-style:disc; }
|
||||
p.whs5 { font-size:12pt; }
|
||||
p.whs6 { margin-left:40px; }
|
||||
p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs8 { width:20px; height:20px; border-style:none; }
|
||||
p.whs9 { font-size:12pt; margin-left:40px; }
|
||||
img_whs10 { border:none; border-style:none; width:312px; height:483px; float:none; }
|
||||
img_whs11 { border:none; border-style:none; width:448px; height:302px; float:none; }
|
||||
img_whs12 { border:none; width:150px; height:135px; border-style:none; }
|
||||
img_whs13 { border:none; border-style:none; width:312px; height:367px; float:none; }
|
||||
img_whs14 { border:none; width:150px; height:131px; border-style:none; }
|
||||
img_whs15 { border:none; border-style:none; width:312px; height:315px; float:none; }
|
||||
img_whs16 { border:none; border-style:none; width:312px; height:346px; float:none; }
|
||||
img_whs17 { border:none; width:150px; height:99px; border-style:none; }
|
||||
img_whs18 { border:none; border-style:none; width:312px; height:319px; float:none; }
|
||||
img_whs19 { border:none; border-style:none; width:312px; height:381px; float:none; }
|
||||
img_whs20 { border:none; width:150px; height:104px; border-style:none; }
|
||||
img_whs21 { border:none; width:24px; height:22px; border-style:none; }
|
||||
p.whs22 { font-size:12pt; font-weight:bold; }
|
||||
ul.whs23 { list-style:circle; }
|
||||
p.whs24 { font-size:12pt; font-weight:normal; }
|
||||
table.whs25 { x-cell-content-align:top; width:37.774%; border-spacing:0px; }
|
||||
col.whs26 { width:48.722%; }
|
||||
col.whs27 { width:51.278%; }
|
||||
tr.whs28 { x-cell-content-align:top; }
|
||||
td.whs29 { width:48.722%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
td.whs30 { width:51.278%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
img_whs31 { border:none; border-style:none; width:312px; height:494px; float:none; }
|
||||
p.whs32 { font-weight:bold; }
|
||||
img_whs33 { border:none; width:250px; height:284px; float:none; border-style:none; }
|
||||
img_whs34 { border:none; width:271px; height:284px; border-style:none; }
|
||||
img_whs35 { border:none; width:23px; height:22px; border-style:none; }
|
||||
img_whs36 { border:none; border-style:none; width:312px; height:372px; float:none; }
|
||||
p.whs37 { font-size:12pt; margin-left:0px; }
|
||||
p.whs38 { font-size:12pt; margin-left:0px; font-weight:bold; }
|
||||
p.whs39 { margin-left:40px; font-size:12pt; }
|
||||
img_whs40 { border:none; width:300px; height:311px; border-style:none; }
|
||||
p.whs41 { font-size:12pt; margin-left:36px; text-indent:-36px; }
|
||||
p.whs42 { font-size:12pt; text-indent:-36px; margin-left:40px; }
|
||||
img_whs43 { border:none; width:23px; height:21px; border-style:none; }
|
||||
img_whs44 { border:none; border-style:none; width:312px; height:230px; float:none; }
|
||||
p.whs45 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
||||
p.whs46 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
|
||||
p.whs47 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }
|
||||
img_whs48 { border:none; width:250px; height:236px; border-style:none; }
|
||||
img_whs49 { border:none; width:250px; height:233px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs37 {margin-left:1pt; }";
|
||||
strNSS += "p.whs38 {margin-left:1pt; }";
|
||||
strNSS += "p.whs41 {text-indent:1pt; }";
|
||||
strNSS += "p.whs42 {text-indent:1pt; }";
|
||||
strNSS += "p.whs45 {text-indent:1pt; }";
|
||||
strNSS += "p.whs46 {text-indent:1pt; }";
|
||||
strNSS += "p.whs47 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Basic operations</h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"><span style="font-weight: normal;"> In GEOM you can perform
|
||||
basic operations with geometrical objects aimed at creation of more complex
|
||||
shapes. These operations are:</span></b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<ul type="disc" class="whs4">
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
HREF="#_Toc57113143">Partition	</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
HREF="#_Toc57113144"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Archimede	</font></span></font></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
HREF="#_Toc57113145"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Fillet	</font></span></font></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
HREF="#_Toc57113146">Chamfer</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3">Blocks</p></li>
|
||||
|
||||
<ul type="disc" class="whs4">
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
href="#Multi-transformation">Multi-transformation</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
href="#ExplodeOnBlocks">Explode on blocks</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs3"><a
|
||||
href="#Propagate">Propagate</a><a HREF="#_Toc57113146">	</a></p></li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class=TODO>To perform basic operations on geometrical objects:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs6">In the main menu select <span style="font-weight: bold;"><B>Operations</B></span><span>.</span></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs7"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57113143><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif" width="20px" height="20px" border="0" class="img_whs8"><font
|
||||
style="font-size: 14pt;"
|
||||
size=4> Partition</font></font></span></a></b></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
||||
Builds a shape by intersection.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes,
|
||||
ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
|
||||
ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be
|
||||
intersected, ListOfTools is a list of shapes to intersect the shapes from
|
||||
ListOfShapes, ListOfKeepInside is a list of shapes outside which the results
|
||||
will be deleted, ListOfRemoveInside is a list of shapes inside which the
|
||||
results will be deleted, Limit is a type of the result shapes, if RemoveWebs
|
||||
is True the Glue 3D algorithm will be performed on the results, ListOfMaterials
|
||||
is a list of materials indices for each shape, it makes sense only if
|
||||
RemoveWebs is True.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
|
||||
Up to 4 shapes + reconstruction limit.</p>
|
||||
|
||||
<ul type="disc" class="whs4">
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st
|
||||
Constructor:</b> Name + 2 shapes (first shape will be intersected by the
|
||||
second shape) + reconstruction limit.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd
|
||||
Constructor:</b> Name + 1 shape which will be intersected + 1 cutting
|
||||
face.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../pics/partition1.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs10"> <img src="../pics/partition2.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs10"> </p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs9"><img src="../pics/neo-materials.png" x-maintain-ratio="TRUE" width="448px" height="302px" border="0" class="img_whs11"></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../image80.jpg" width="150px" height="135px" border="0" class="img_whs12"> <img src="../image81.jpg" width="150px" height="135px" border="0" class="img_whs12"></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=_Toc57113144><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
||||
size=4> Archimede</font></b></font></span></a></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a plane corresponding to the modeled water-line of the object
|
||||
plunged into the water (in Z direction).</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:
|
||||
</b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>,
|
||||
where Shape is a shape to put into the water, Weight is a weight of the
|
||||
shape, WaterDensity is
|
||||
density of water, MeshingDeflection is a deflection of the mesh, using
|
||||
to compute the section.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">GUI Arguments:</b>
|
||||
Name + 1 shape +
|
||||
3 values (Weight, Water Density & Meshing Deflection).</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../pics/archimede.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs13"></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../image78.jpg" width="150px" height="131px" border="0" class="img_whs14"> <img src="../image79.jpg" width="150px" height="131px" border="0" class="img_whs14"> <img src="../image22.gif" width="150px" height="131px" border="0" class="img_whs14"></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=_Toc57113145><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
||||
size=4> Fillet</font></b></font></span></a></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
||||
Make fillets of the edges of a shape.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeFillet(Shape, Radius,
|
||||
ShapeType, ListOfShapeID)</I></span>, where Shape is a shape to create a fillet
|
||||
on, Radius is a radius of the fillet, ShapeType is a type of shapes to
|
||||
be processed, ListOfShapeID is a list of subshape’s Ids to be processed.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul type="disc" class="whs4">
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st
|
||||
Constructor:</b> Name + 1 shape + 1 value (fillet radius).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd
|
||||
Constructor:</b> Name + 1 shape + 1 Selection of edges + 1 value (Fillet
|
||||
radius).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">3rd
|
||||
Constructor:</b> Name + 1 shape + 1 Selection of faces + 1 value (Fillet
|
||||
radius).</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs15"> <img src="../pics/fillet2.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs16"> <img src="../pics/fillet3.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs16"></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../image82.jpg" width="150px" height="99px" border="0" class="img_whs17"> <img src="../image83.jpg" width="150px" height="99px" border="0" class="img_whs17"></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs7"><a NAME=_Toc57113146><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
|
||||
size=4> Chamfer</font></b></font></span></a></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
||||
Makes chamfer of the edges of a Shape.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i></p>
|
||||
|
||||
<ul type="disc" class="whs4">
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape,
|
||||
D1, D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer
|
||||
on, D1 is a chamfer size along Face1, D2 is a chamfer size along Face2,
|
||||
Face1 and Face2 are indices of faces in Shape.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeChamferFace(Shape,
|
||||
D1, D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer
|
||||
on, D1 is a chamfer size along a face from ListOfFaceID,
|
||||
D2 is a
|
||||
chamfer size along two faces connected to the edge to which the chamfer
|
||||
is applied, ListOfFaceID is a list of indices of faces in Shape.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<ul type="disc" class="whs4">
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">1st
|
||||
Constructor :</b> Name + 1 SHAPE + 1 value (Chamfer dimension).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">2nd
|
||||
Constructor :</b> Name + 1 SHAPE + 2 faces + 2 values (Chamfer dimensions).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: bold;">3rd
|
||||
Constructor :</b> Name + 1 SHAPE + 1 Selection of faces + 2 values (Chamfer
|
||||
dimensions).</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs18"> <img src="../pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs19"> <img src="../pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs19"></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../image84.jpg" width="150px" height="104px" border="0" class="img_whs20"> <img src="../image85.jpg" width="150px" height="104px" border="0" class="img_whs20"></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><a name=Multi-transformation><img src="../image52.gif" width="24px" height="22px" border="0" class="img_whs21"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Block</B></font></span>
|
||||
<span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>multi-transformation</B></font></span></a></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
||||
Makes several translations of a block (solid) in <span style="font-weight: bold;"><B>one</B></span>
|
||||
or <span style="font-weight: bold;"><B>two</B></span> directions depending on
|
||||
the arguments specified by the user.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i></p>
|
||||
|
||||
<ul type="disc" class="whs4">
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.
|
||||
MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes)</I></span>,
|
||||
where Block is a block to be transformed, DirFaceID1 is an ID of the face
|
||||
which defines the first direction of transformation, DirFaceID2 is an
|
||||
ID of the face which defines the second direction of transformation, NbTimes
|
||||
is a numeber of transformations.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.
|
||||
MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V,
|
||||
DirFaceID2V, NbTimesV)</I></span>, where Block is a block to be transformed,
|
||||
DirFaceID1U and DirFace1V are ID’s of the faces, which define directions
|
||||
of the first transformation, DirFaceID1V and DirFaceID2V are ID’s of the
|
||||
faces which define directions of the second transformation, NbTimesU and
|
||||
NbTimesV are numbers of transformations.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<ul type="disc" class="whs4">
|
||||
|
||||
<li class=kadov-p><p class="whs22">1D
|
||||
transformation: <span style="font-weight: normal;">Name + 1 hexahedral
|
||||
solid + 1 or 2 faces + 1 integer (number of blocks)</span></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs22">2D
|
||||
transformation:<span style="font-weight: normal;"> Name + 1 hexahedral
|
||||
solid + </span></p></li>
|
||||
|
||||
<ul type="circle" class="whs23">
|
||||
|
||||
<li class=kadov-p><p class="whs24">2
|
||||
faces and 1 integer, or</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs22"><span
|
||||
style="font-weight: normal;">3 or 4 faces and 2 integers </span></p></li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="37.774%" class="whs25">
|
||||
<col class="whs26">
|
||||
<col class="whs27">
|
||||
|
||||
<tr valign="top" class="whs28">
|
||||
<td width="48.722%" class="whs29">
|
||||
<p><img src="../pics/mtransf1.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs19"></td>
|
||||
<td width="51.278%" class="whs30">
|
||||
<p><img src="../pics/mtransf2.png" x-maintain-ratio="TRUE" width="312px" height="494px" border="0" class="img_whs31"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs32">Example:</p>
|
||||
|
||||
<p class="whs32"> </p>
|
||||
|
||||
<p class="whs32"><img src="../image188.jpg" x-maintain-ratio="TRUE" width="250px" height="284px" border="0" class="img_whs33"> <img src="../image189.jpg" width="271px" height="284px" border="0" class="img_whs34"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><a name=ExplodeOnBlocks><img src="../image53.gif" width="23px" height="22px" border="0" class="img_whs35"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Explode
|
||||
on Blocks</B></font></span></a></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
||||
Returns blocks of the given compound. The user may define the type blocks
|
||||
to be extracted by setting the minimum and maximum number of faces in
|
||||
the target block. By checking the corresponding box the user may also
|
||||
interactively choose the blocks from a compound .</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound,
|
||||
MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded
|
||||
into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal
|
||||
and the
|
||||
maximal number of faces of the resulting blocks.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments: <span
|
||||
style="font-weight: normal;">1 compound + 1 integer (min. and max. number
|
||||
of faces in the block to be extracted).</span></b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs9"><img src="../pics/mtransf3.png" x-maintain-ratio="TRUE" width="312px" height="372px" border="0" class="img_whs36"></p>
|
||||
|
||||
<p class="whs37"> </p>
|
||||
|
||||
<p class="whs38">Example:</p>
|
||||
|
||||
<p class="whs37"> </p>
|
||||
|
||||
<p class="whs39"><img src="../image191.jpg" width="300px" height="311px" border="0" class="img_whs40"></p>
|
||||
|
||||
<p class="whs41"> </p>
|
||||
|
||||
<p class="whs42"> </p>
|
||||
|
||||
<p class="whs42"> </p>
|
||||
|
||||
<p><a name=Propagate><img src="../image3.gif" width="23px" height="21px" border="0" class="img_whs43"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Propagate</B></font></span></a></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
||||
Breaks a multitude of edges of a shape into groups (builds all possible
|
||||
propagation groups).</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result:</b> List
|
||||
of GEOM_Objects. Each Geom Object will contain a group of edges.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.Propagate(Shape)</I></span>,
|
||||
where Shape is a shape to build propagation groups on.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments: <span
|
||||
style="font-weight: normal;">1 Shape.</span></b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box: </b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs39"><img src="../pics/mtransf4.png" x-maintain-ratio="TRUE" width="312px" height="230px" border="0" class="img_whs44"></p>
|
||||
|
||||
<p class="whs45"> </p>
|
||||
|
||||
<p class="whs46">Example:</p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs47"><img src="../image15.jpg" width="250px" height="236px" border="0" class="img_whs48"> <img src="../image16.jpg" width="250px" height="233px" border="0" class="img_whs49"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
395
doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions.htm
Executable file
@ -0,0 +1,395 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
ul.whs2 { list-style:disc; }
|
||||
p.whs3 { margin-left:40px; }
|
||||
p.whs4 { font-size:14pt; }
|
||||
img_whs5 { width:20px; height:20px; border-style:none; }
|
||||
img_whs6 { border:none; border-style:none; width:312px; height:324px; float:none; }
|
||||
img_whs7 { border:none; border-style:none; width:312px; height:332px; float:none; }
|
||||
img_whs8 { border:none; width:150px; height:129px; border-style:none; }
|
||||
p.whs9 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs10 { border:none; border-style:none; width:312px; height:376px; float:none; }
|
||||
img_whs11 { border:none; width:150px; height:142px; border-style:none; }
|
||||
img_whs12 { border:none; border-style:none; width:312px; height:315px; float:none; }
|
||||
img_whs13 { border:none; width:150px; height:137px; border-style:none; }
|
||||
p.whs14 { margin-left:40px; font-weight:bold; }
|
||||
img_whs15 { border:none; width:150px; height:96px; border-style:none; }
|
||||
img_whs16 { border:none; border-style:none; width:312px; height:402px; float:none; }
|
||||
p.whs17 { font-size:12pt; margin-left:40px; }
|
||||
img_whs18 { border:none; width:150px; height:119px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Constructing primitives</h1>
|
||||
|
||||
<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs1"> </font></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">In
|
||||
GEOM you can create different types of primitive geometrical objects </font></span></b>(3D
|
||||
elements):</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<ul type="disc" class="whs2">
|
||||
|
||||
<li class=kadov-p><p><a href="#box">Box</a></p></li>
|
||||
|
||||
<li class=kadov-p><p><a href="#cylinder">Cylinder</a></p></li>
|
||||
|
||||
<li class=kadov-p><p><a href="#sphere">Sphere</a></p></li>
|
||||
|
||||
<li class=kadov-p><p><a href="#torus">Torus</a></p></li>
|
||||
|
||||
<li class=kadov-p><p><a href="#cone">Cone</a></p></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class=TODO>To construct primitive geometrical objects:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>New
|
||||
Entity > Primitives</B></span><span>.</span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;"><a NAME=box
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif" width="20px" height="20px" border="0" class="img_whs5"><font style="font-size: 14pt;"
|
||||
size=4> Box</font></a></b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Description:</b> Creates a box.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (SOLID).</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command :</b> <span style="font-style: italic;"><I>geompy.MakeBox(X1,
|
||||
Y1, Z1, X2, Y2, Z2)</I></span>, where
|
||||
(X1, Y1, X2) and (X2, Y2, Z2) are coordinates of two points which define
|
||||
a diagonal of the box.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul type="disc" class="whs2">
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor
|
||||
:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 vertices (opposite
|
||||
corners of the box).</p></li>
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor
|
||||
:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>3 values (dimensions
|
||||
at origin).</p></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"><img src="../pics/box1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs6"> <img src="../pics/box2.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs7"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"><img src="../image94.jpg" width="150px" height="129px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs9"><a NAME=cylinder
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"
|
||||
size=4> Cylinder</font></b></a></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Description:</b> Creates a cylinder.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point,
|
||||
Axis, Radius, Height)</I></span>, where Point is a central point of the cylinder
|
||||
base, Axis (vector value) is an axis of the cylinder, Radius and Height
|
||||
are correspondingly a radius and a height of the cylinder.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul type="disc" class="whs2">
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor:</b>
|
||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 vertex + 1 vector + 2 values
|
||||
(Dimensions: radius and height).</p></li>
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor:</b>
|
||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 values (Dimensions at origin:
|
||||
radius and height).</p></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"><img src="../pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs10"> <img src="../pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"><img src="../image95.jpg" width="150px" height="142px" border="0" class="img_whs11"></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs4"><a NAME=sphere
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"
|
||||
size=4> Sphere</font></b></a></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Description:</b> Creates a sphere.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeSphere(Point,
|
||||
Radius)</I></span>, where Point is a center of the sphere and Radius is a
|
||||
radius of the sphere.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul type="disc" class="whs2">
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor
|
||||
:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 vertex + 1 value
|
||||
(Radius).</p></li>
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor
|
||||
:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 value
|
||||
(Radius from the origin).</p></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"><img src="../pics/sphere1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs12"> <img src="../pics/sphere2.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs12"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"><img src="../image96.jpg" width="150px" height="137px" border="0" class="img_whs13"></p>
|
||||
|
||||
<p class="whs14"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs4"><a NAME=torus
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"
|
||||
size=4> Torus</font></b></a></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Description:</b> Creates a torus.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (solid).</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeTorus(Point,
|
||||
Vector, RadiusMajor, RadiusMinor)</I></span>, where Point is a central point
|
||||
of the torus, Vector is an axis of symmetry, RadiusMajor and RadiusMinor
|
||||
are correspondingly
|
||||
a major and minor radiuses of the torus.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul type="disc" class="whs2">
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor:</b>
|
||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 vertex + 1 vector (for
|
||||
direction) + 2 values (1 & 2 Radius).</p></li>
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor:</b>
|
||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 values (1 & 2 Radius
|
||||
from the origin).</p></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"><img src="../pics/torus1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs10"> <img src="../pics/torus2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><img src="../image97.jpg" width="150px" height="96px" border="0" class="img_whs15"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs4"><a NAME=cone
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif" width="20px" height="20px" border="0" class="img_whs5"><b><font style="font-size: 14pt;"
|
||||
size=4> Cone</font></b></a></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Description:</b> Creates a cone.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Result:</b> GEOM_Object (SOLID).</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point,
|
||||
Axis, Radius1, Radius2)</I></span>, where Point is a central point of the
|
||||
cone base, Axis (vector value) is an axis of the cone, Radius1 and Radius2
|
||||
are correspondingly the first and the second radiuses of the cone</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul type="disc" class="whs2">
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">1st Constructor:</b>
|
||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>1 vertex + 1 vector (for
|
||||
direction) + 3 values (Radius of the base part, radius of the upper part,
|
||||
height).</p></li>
|
||||
|
||||
<li class=kadov-p><p><b style="font-weight: bold;">2nd Constructor:</b>
|
||||
<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>3 values (Radius of the base
|
||||
part, radius of the upper part, height).</p></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs3"><img src="../pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs16"> <img src="../pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs16"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs17"><img src="../image98.jpg" width="150px" height="119px" border="0" class="img_whs18"></p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
898
doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions.htm
Executable file
@ -0,0 +1,898 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style>
|
||||
<!--
|
||||
A:link { color:#0000ff; }
|
||||
-->
|
||||
</style><style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
ul.whs3 { list-style:disc; }
|
||||
p.whs4 { font-size:12pt; }
|
||||
img_whs5 { border:none; width:30px; height:30px; float:none; border-style:none; }
|
||||
p.whs6 { margin-left:40px; }
|
||||
img_whs7 { border:none; width:25px; height:24px; border-style:none; }
|
||||
table.whs8 { x-cell-content-align:top; width:100%; border-spacing:0px; }
|
||||
col.whs9 { width:8.851%; }
|
||||
col.whs10 { width:91.149%; }
|
||||
tr.whs11 { x-cell-content-align:top; }
|
||||
td.whs12 { width:8.851%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
|
||||
td.whs13 { width:91.149%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
|
||||
td.whs14 { width:8.851%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
|
||||
td.whs15 { width:91.149%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }
|
||||
p.whs16 { font-size:12pt; margin-left:40px; }
|
||||
img_whs17 { border:none; width:403px; height:469px; float:none; border-style:none; }
|
||||
img_whs18 { border:none; width:300px; height:214px; border-style:none; }
|
||||
img_whs19 { border:none; width:244px; height:214px; border-style:none; }
|
||||
p.whs20 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs21 { border:none; width:239px; height:214px; border-style:none; }
|
||||
img_whs22 { width:20px; height:20px; border-style:none; }
|
||||
img_whs23 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
||||
img_whs24 { border:none; width:150px; height:131px; border-style:none; }
|
||||
p.whs25 { font-size:14pt; font-weight:bold; }
|
||||
p.whs26 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
||||
img_whs27 { border:none; width:312px; height:397px; float:none; border-style:none; }
|
||||
p.whs28 { font-size:12pt; font-weight:bold; }
|
||||
img_whs29 { border:none; width:312px; height:350px; float:none; border-style:none; }
|
||||
img_whs30 { border:none; width:200px; height:214px; border-style:none; }
|
||||
img_whs31 { border:none; width:176px; height:214px; border-style:none; }
|
||||
img_whs32 { border:none; border-style:none; width:343px; height:123px; float:none; }
|
||||
img_whs33 { border:none; width:312px; height:381px; float:none; border-style:none; }
|
||||
img_whs34 { border:none; width:150px; height:136px; border-style:none; }
|
||||
img_whs35 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
||||
img_whs36 { border:none; width:150px; height:132px; border-style:none; }
|
||||
img_whs37 { border:none; width:22px; height:22px; border-style:none; }
|
||||
p.whs38 { font-size:12pt; font-weight:normal; }
|
||||
p.whs39 { margin-left:40px; font-size:12pt; font-weight:bold; }
|
||||
img_whs40 { border:none; width:312px; height:388px; float:none; border-style:none; }
|
||||
p.whs41 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
||||
p.whs42 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
|
||||
p.whs43 { margin-left:80px; font-size:12pt; text-indent:-40px; }
|
||||
img_whs44 { border:none; width:200px; height:231px; border-style:none; }
|
||||
img_whs45 { border:none; width:185px; height:231px; border-style:none; }
|
||||
p.whs46 { font-size:12pt; text-indent:-68px; margin-left:72px; }
|
||||
p.whs47 { font-size:12pt; text-indent:-68px; margin-left:112px; }
|
||||
img_whs48 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
||||
p.whs49 { font-size:12pt; margin-left:112px; text-indent:-112px; }
|
||||
p.whs50 { font-size:12pt; text-indent:-112px; margin-left:152px; }
|
||||
img_whs51 { border:none; width:200px; height:150px; float:none; border-style:none; }
|
||||
img_whs52 { border:none; width:204px; height:150px; border-style:none; }
|
||||
p.whs53 { font-size:12pt; text-indent:-40px; margin-left:80px; }
|
||||
p.whs54 { font-size:12pt; margin-left:80px; text-indent:-80px; }
|
||||
p.whs55 { font-size:12pt; margin-left:80px; text-indent:-68px; }
|
||||
img_whs56 { border:none; width:243px; height:203px; float:none; border-style:none; }
|
||||
p.whs57 { font-size:12pt; margin-left:0px; }
|
||||
img_whs58 { border:none; width:209px; height:138px; border-style:none; }
|
||||
img_whs59 { border:none; width:192px; height:138px; border-style:none; }
|
||||
img_whs60 { border:none; width:191px; height:138px; border-style:none; }
|
||||
img_whs61 { border:none; width:23px; height:22px; border-style:none; }
|
||||
img_whs62 { border:none; width:322px; height:163px; float:none; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs41 {text-indent:1pt; }";
|
||||
strNSS += "p.whs42 {text-indent:1pt; }";
|
||||
strNSS += "p.whs43 {text-indent:1pt; }";
|
||||
strNSS += "p.whs46 {text-indent:1pt; }";
|
||||
strNSS += "p.whs47 {text-indent:1pt; }";
|
||||
strNSS += "p.whs49 {text-indent:1pt; }";
|
||||
strNSS += "p.whs50 {text-indent:1pt; }";
|
||||
strNSS += "p.whs53 {text-indent:1pt; }";
|
||||
strNSS += "p.whs54 {text-indent:1pt; }";
|
||||
strNSS += "p.whs55 {text-indent:1pt; }";
|
||||
strNSS += "p.whs57 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Repairing geometrical objects</h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"><span style="font-weight: normal;">Repairing operations are
|
||||
used for adjustment and modification of created geometrical shapes. The
|
||||
are:</span> </b></p>
|
||||
|
||||
<p class="whs1"><a HREF="#sewing"> </a></p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
href="#Shape">Shape processing</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
HREF="#_Toc57113182">Suppress faces	</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
href="#CloseContour">Close contour</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
href="#SuppressInternalWires">Suppress internal
|
||||
wires</a><a HREF="#sewing">	</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57113181"> <a HREF="#_Toc57113183">Suppress
|
||||
holes	</a></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57113182"> </a><a HREF="#sewing">Sewing</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
href="#Glue_faces">Glue faces</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><a
|
||||
HREF="#_Toc57113183"> </a><a href="#AddPointOnEdge">Add
|
||||
point on edge</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
href="#CheckFreeBound">Check free boundaries</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"> <a
|
||||
href="#Check_free_faces">Check free faces</a><a
|
||||
HREF="#_Toc57113183">	</a></p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs5"> The operations <span style="font-weight: bold;"><B>Suppress
|
||||
faces, Close contour, Suppress internal wires, Suppress holes </B></span><span>and
|
||||
</span><span style="font-weight: bold;"><B>Add point on edge </B></span><span>are
|
||||
available only if you are using </span><span style="font-weight: bold;"><B>OCC
|
||||
viewer</B></span><span>. </span></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class=TODO>To apply repairing operations:</p>
|
||||
|
||||
<p class=TODO> </p>
|
||||
|
||||
<p class="whs6">In the main menu select <span style="font-weight: bold;"><B>Repair
|
||||
</B></span>submenu.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><a name=Shape><img src="../image41.gif" width="25px" height="24px" border="0" class="img_whs7"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Shape
|
||||
processing</B></font></span></a></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
||||
Processes a shape using various operators.</font></span></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.ProcessShape(Shape, Operators,
|
||||
Parameters, Values)</I></span>, where Shape is a processed shape, Operators
|
||||
is a list of names of operators ("FixShape", "SplitClosedFaces",
|
||||
etc.), Parameters is a list of names of parameters (“FixShape.Tolerance3d”,
|
||||
etc), Values is a list of values of parameters in the same order as the
|
||||
Parameters list.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 or more shapes.</p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="100%" class="whs8">
|
||||
<script language='JavaScript'><!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='100%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");
|
||||
//--></script>
|
||||
<col class="whs9">
|
||||
<col class="whs10">
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs12">
|
||||
<p>1</td>
|
||||
<td width="91.149%" class="whs13">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitAngle –
|
||||
this operator is intended for splitting faces based on conical surfaces,
|
||||
surfaces of revolution and cylindrical surfaces by angle</font></span></p>
|
||||
<p class="whs4">SplitAngle.Angle – angle (in radians) defining
|
||||
size of result segments.</p>
|
||||
<p class="whs4">SplitAngle.MaxTolerance – maximal possible
|
||||
tolerance on result shape</td></tr>
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs14">
|
||||
<p>2</td>
|
||||
<td width="91.149%" class="whs15">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitClosedFaces
|
||||
– this operator is intended for dividing all closed faces in the shape
|
||||
according to the number of points.</font></span></p>
|
||||
<p class="whs4">SplitClosedFaces.NbSplitPoints – number of
|
||||
points for cutting each closed faces.</td></tr>
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs14">
|
||||
<p>3</td>
|
||||
<td width="91.149%" class="whs15">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixFaceSize
|
||||
– this operator is intended for removing small faces (case of the spot
|
||||
face and strip face)</font></span></p>
|
||||
<p class="whs4">FixFaceSize.Tolerance – work tolerance defining
|
||||
which faces will be removed.</td></tr>
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs14">
|
||||
<p>4</td>
|
||||
<td width="91.149%" class="whs15">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">DropSmallEdges
|
||||
– this operator is intended for removing small edges or merging with neigbour.
|
||||
</font></span></p>
|
||||
<p class="whs4">DropSmallEdges.Tolerance3d – work tolerance
|
||||
for detection and removing small edges.</td></tr>
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs14">
|
||||
<p>5</td>
|
||||
<td width="91.149%" class="whs15">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">BsplineRestriction
|
||||
–this operator is intended for re-approximation BSplines curves and surfaces
|
||||
or conversion of the curves and surfaces to BSplines with specified parameters.
|
||||
</font></span></p>
|
||||
<p class="whs4">BSplineRestriction.SurfaceMode - mode of approximation
|
||||
of surfaces if restriction is necessary</p>
|
||||
<p class="whs4">BSplineRestriction.Curve3dMode -mode of conversion
|
||||
of any 3D curve to BSpline and approximation.</p>
|
||||
<p class="whs4">BSplineRestriction.Curve2dMode - mode of conversion
|
||||
of any 2D curve to BSpline and approximation</p>
|
||||
<p class="whs4">BSplineRestriction.Tolerance3d – work tolerance
|
||||
for definition of the possibility of the approximation of the surfaces
|
||||
and 3D curves with specified parameters.</p>
|
||||
<p class="whs4">BSplineRestriction.Tolerance2d - work tolerance
|
||||
for definition of the possibility of the approximation of the 2D curves
|
||||
with specified parameters.</p>
|
||||
<p class="whs4">BSplineRestriction.Continuity3d – desired continuity
|
||||
of the resultant surfaces and 3D curves.</p>
|
||||
<p class="whs4">BSplineRestriction.Continuity2d – desired continuity
|
||||
of the resultant 2D curves.</p>
|
||||
<p class="whs4">BSplineRestriction.RequiredDegree - required
|
||||
degree of the resultant BSplines</p>
|
||||
<p class="whs4">BSplineRestriction.RequiredNbSegments - required
|
||||
maximum number of segments of resultant BSp<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">lines.</font></span></td></tr>
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs14">
|
||||
<p>6</td>
|
||||
<td width="91.149%" class="whs15">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitContinuity
|
||||
– this operator is intended for splitting shapes to achieve continuities
|
||||
of curves and surfaces less than specified ones. </font></span></p>
|
||||
<p class="whs4">SplitContinuity.Tolerance3d - 3D tolerance
|
||||
for correction of geometry.</p>
|
||||
<p class="whs4">SplitContinuity.SurfaceContinuity - required
|
||||
continuity for surfaces.</p>
|
||||
<p class="whs4">SplitContinuity.CurveContinuity - required
|
||||
continuity for curves.</td></tr>
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs14">
|
||||
<p>7</td>
|
||||
<td width="91.149%" class="whs15">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">ToBezier - this
|
||||
operator is intended for conversion of the curves and surfaces of the
|
||||
all types into Bezier curves and surfaces. </font></span></p>
|
||||
<p class="whs4">ToBezier.SurfaceMode - mode of conversion of
|
||||
the surfaces.</p>
|
||||
<p class="whs4">ToBezier.Curve3dMode – mode for conversion
|
||||
of the 3D curves.</p>
|
||||
<p class="whs4">ToBezier.Curve2dMode – mode for conversion
|
||||
of the 2D curves.</p>
|
||||
<p class="whs4">ToBezier.MaxTolerance – max possible tolerance
|
||||
on the resultant shape.</td></tr>
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs14">
|
||||
<p>8</td>
|
||||
<td width="91.149%" class="whs15">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixShape – this
|
||||
operator is intended for correction of the invalid shapes </font></span></p>
|
||||
<p class="whs4">FixShape.Tolerance3d – work tolerance for detection
|
||||
of the problems and correction of them.</p>
|
||||
<p class="whs4">FixShape.MaxTolerance3d - maximal possible
|
||||
tolerance of the shape after correction.</td></tr>
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="8.851%" class="whs14">
|
||||
<p>9</td>
|
||||
<td width="91.149%" class="whs15">
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SameParameter
|
||||
– this operator is intended for fixing edges having not same parameter
|
||||
2D and 3D curves. </font></span></p>
|
||||
<p class="whs4">SameParameter.Tolerance3d – tolerance for detection
|
||||
and fix problems. </td></tr>
|
||||
<script language='JavaScript'><!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
|
||||
//--></script>
|
||||
</table>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"><img src="../pics/repair1.png" x-maintain-ratio="TRUE" width="403px" height="469px" border="0" class="img_whs17"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs4">Shape before applying Shape Processing (FixShape
|
||||
operator).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"><img src="../image154.jpg" width="300px" height="214px" border="0" class="img_whs18"> <img src="../image156.jpg" width="244px" height="214px" border="0" class="img_whs19"></p>
|
||||
|
||||
<p class="whs20"> </p>
|
||||
|
||||
<p class="whs1">The
|
||||
same shape after applying Shape Processing.</p>
|
||||
|
||||
<p class="whs20"> </p>
|
||||
|
||||
<p class="whs16"><img src="../image160.jpg" width="239px" height="214px" border="0" class="img_whs21"></p>
|
||||
|
||||
<p class="whs20"> </p>
|
||||
|
||||
<p class="whs20"> </p>
|
||||
|
||||
<p class="whs20"><a NAME=_Toc57113182><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"><b> Suppress faces</b></a></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Suppresses a face of a shape.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(ListOfGeomShapes).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.SuppressFaces(Shape, ListOfID)</I></span>,
|
||||
where Shape is a shape to be processed, ListOfID is a list of faces ID's
|
||||
to be removed.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + Faces which should be removed (you can select them in the 3D viewer).</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"><img src="../pics/repair2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs23"></p>
|
||||
|
||||
<p class="whs16"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"><img src="../image53.jpg" width="150px" height="131px" border="0" class="img_whs24"> <img src="../image54.jpg" width="150px" height="131px" border="0" class="img_whs24"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs25"><a name=CloseContour><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"> Close contour</a></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description :</b>
|
||||
Closes an open contour and modifies the underlying face (if needed) in
|
||||
accordance with user specified mode:</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs4">By common vertex – a
|
||||
vertex is created between the end points of the contour and its tolerance
|
||||
is increased to a value of the gap between the ends of the contour;</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4">By new edge – a new edge
|
||||
is inserted between the end points of the contour.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires,
|
||||
IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires
|
||||
is a list of edges or wires ID’s which has to be closed within the shape
|
||||
(if the list contains only one element = -1, the shape itself is considered
|
||||
as a wire), IsCommonVertex
|
||||
if this parameter is True a closure has to be done by creation of a common
|
||||
vertex, otherwise an edge is added between the end vertices.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments: <span
|
||||
style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire,
|
||||
or a set of Edges) + mode of closure (by vertex or by edge)</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs26"><img src="../pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs27"></p>
|
||||
|
||||
<p class="whs28"> </p>
|
||||
|
||||
<p class="whs28">Example:</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B><a
|
||||
name=SuppressInternalWires><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs22"></B></font></span> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Suppress
|
||||
internal wires</B></font></span></a></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description :</b>
|
||||
Removes all internal wires or specified internal wires from user specified
|
||||
faces.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.SuppressInternalWires(Shape,
|
||||
Wires)</I></span>, where Shape is a shape where wires are to be removed, Wires
|
||||
is a list of wires ID’s to be removed; if the list is empty then all internal
|
||||
wires are removed.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs4">Name of the resulting
|
||||
object</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4">User specified face</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4">User specified internal
|
||||
wires (lying on this face except for its boundary), or, in case the <span
|
||||
style="font-weight: bold;"><B>Remove all internal wires</B></span> box is checked,
|
||||
all internal wires</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"><img src="../pics/repair4.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs29"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs28">Example:</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"><img src="../image163.jpg" width="200px" height="214px" border="0" class="img_whs30"> <img src="../image164.jpg" width="176px" height="214px" border="0" class="img_whs31"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs20"><span
|
||||
style="font-family: 'Times New Roman', serif;"><a NAME=_Toc57113183><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif" width="20px" height="20px" border="0" class="img_whs22"><b style="font-size: 14pt;"> Suppress
|
||||
holes</b></a> </font></span></span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description :</b>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
|
||||
Constructor :</b> Suppresses a hole in a shape.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
|
||||
Constructor :</b> Suppresses a hole in a face.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.SuppressHoles(Shape,
|
||||
ListOfWireID)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Shape is a
|
||||
shape where holes must be removed, ListOfWireID is a list of wire sub
|
||||
shapes ID’s. If it is empty, then all holes are removed.</font></span></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments: </b>Name
|
||||
+ 1 shape + Wires which should be removed.</p>
|
||||
|
||||
<p class="whs4"><span style="font-weight: bold;"><B>Remove all
|
||||
holes </B></span>checkbox allows to fill all holes of a definite shape.</p>
|
||||
|
||||
<p class="whs4"><span style="font-weight: bold;"><B>Detect </B></span>button
|
||||
allows to display the number of free boundaries in your shape:</p>
|
||||
|
||||
<p class="whs16"> </p>
|
||||
|
||||
<p class="whs16"><img src="../pics/neo-detect2.png" x-maintain-ratio="TRUE" width="343px" height="123px" border="0" class="img_whs32"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"> <img src="../pics/repair5.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs33"></p>
|
||||
|
||||
<p class="whs16"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs16"> </p>
|
||||
|
||||
<p class="whs16"> <img src="../image109.jpg" width="150px" height="136px" border="0" class="img_whs34"> <img src="../image110.jpg" width="150px" height="136px" border="0" class="img_whs34"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;"><a
|
||||
NAME=sewing
|
||||
style="font-size: 14pt;"><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif" width="20px" height="20px" border="0" class="img_whs22"> Sewing</a></b> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Sew several shapes.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeSewing(ListOfShape, Precision)</I></span>,
|
||||
where ListOfShape is list of shapes to be sewed, Precision is a precision
|
||||
for sewing.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 or more shapes + 1 value (sew precision).</p>
|
||||
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Detect
|
||||
</B></span>button allows to display the number of free boundaries in your
|
||||
shape:</font></span></p>
|
||||
|
||||
<p class="whs16"> </p>
|
||||
|
||||
<p class="whs16"><img src="../pics/neo-detect2.png" x-maintain-ratio="TRUE" width="343px" height="123px" border="0" class="img_whs32"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"><img src="../pics/repair6.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs35"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs16"><img src="../image112.jpg" width="150px" height="132px" border="0" class="img_whs36"> <img src="../image113.jpg" width="150px" height="132px" border="0" class="img_whs36"></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><a name=AddPointOnEdge><img src="../image42.gif" width="22px" height="22px" border="0" class="img_whs37"> <span
|
||||
style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Add point on edge</B></font></span></a></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Splits an edge in two in accordance with the specified mode (by length
|
||||
or by parameter) and a value specifying the position of the point on edge
|
||||
(for example val =0.5; mode = Length). </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
|
||||
Value, IsByParameter)</I></span>, where Shape is a shape which contains an
|
||||
edge to be divided, EdgeID is the ID of the edge to be divided, if it
|
||||
= -1, then Shape is an edge, Value is a paramter on the edge or a length.
|
||||
IsByParameter if it is True then Value is the edge parameter in the range
|
||||
[0:1] otherwise it is a length of the edge in the range [0:1]</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 Edge + 1 value setting the position of the point according to
|
||||
one of the selected modes</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs38"><b style="font-weight: bold;">Dialog
|
||||
Box:</b></p>
|
||||
|
||||
<p class="whs38"> </p>
|
||||
|
||||
<p class="whs39"><img src="../pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs40"></p>
|
||||
|
||||
<p class="whs41"> </p>
|
||||
|
||||
<p class="whs42">Example:</p>
|
||||
|
||||
<p class="whs41"> </p>
|
||||
|
||||
<p class="whs43"><img src="../image167.jpg" width="200px" height="231px" border="0" class="img_whs44"> <img src="../image168.jpg" width="185px" height="231px" border="0" class="img_whs45"></p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs46"><a name=Glue_faces><img src="../image61.gif" width="25px" height="24px" border="0" class="img_whs7"><span
|
||||
style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B> Glue faces</B></font></span></a></p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs46"><b style="font-weight: bold;">Description:</b>
|
||||
Glues faces that are coincident with respect to the given tolerance </p>
|
||||
|
||||
<p class="whs46">value.</p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs46"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b>
|
||||
GEOM_Object.</font></span></p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs46"><b style="font-weight: bold;">TUI Command
|
||||
: </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape,
|
||||
theTolerance)</I></span>, where theShape is a compound of shapesto be glued,
|
||||
theTolerance is a maximum distance between two faces, which can be considered
|
||||
as coincident.</p>
|
||||
|
||||
<p class="whs46"><i><span style="font-style: italic;"><I> </I></span></i></p>
|
||||
|
||||
<p class="whs46"><b style="font-weight: bold;">Arguments:
|
||||
<span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound
|
||||
+ Tolerance value</span></i></p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs46"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs46"> </p>
|
||||
|
||||
<p class="whs47"><img src="../pics/repair7.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs48"></p>
|
||||
|
||||
<p class="whs49"> </p>
|
||||
|
||||
<p class="whs49"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs49"> </p>
|
||||
|
||||
<p class="whs50"><img src="../image201.jpg" x-maintain-ratio="TRUE" width="200px" height="150px" border="0" class="img_whs51"> <img src="../image202.jpg" width="204px" height="150px" border="0" class="img_whs52"></p>
|
||||
|
||||
<p class="whs53"> </p>
|
||||
|
||||
<p class="whs53"> </p>
|
||||
|
||||
<p class="whs53"> </p>
|
||||
|
||||
<p class="whs54"><a name=CheckFreeBound><img src="../image44.gif" width="22px" height="22px" border="0" class="img_whs37"> <span
|
||||
style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free boundaries</B></font></span></a></p>
|
||||
|
||||
<p class="whs55"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:</b>
|
||||
Detects wires and edges that correspond to the shape's boundary, and highlights
|
||||
it</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.
|
||||
</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i><span
|
||||
style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>,
|
||||
where Shape is a shape to be checked, NoError is false if an error occurred
|
||||
while checking free boundaries, ClosedWires is a list of closed free boundary
|
||||
wires, OpenWires is a list of open free boundary wires.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Shape</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs38"><b style="font-weight: bold;">Dialog
|
||||
Box:</b></p>
|
||||
|
||||
<p class="whs38"> </p>
|
||||
|
||||
<p class="whs26"><img src="../pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs56"></p>
|
||||
|
||||
<p class="whs57"> </p>
|
||||
|
||||
<p class="whs57"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs57"> </p>
|
||||
|
||||
<p class="whs57"><img src="../image170.jpg" width="209px" height="138px" border="0" class="img_whs58"> <img src="../image171.jpg" width="192px" height="138px" border="0" class="img_whs59"> <img src="../image172.jpg" width="191px" height="138px" border="0" class="img_whs60"></p>
|
||||
|
||||
<p class="whs57"> </p>
|
||||
|
||||
<p class="whs57"> </p>
|
||||
|
||||
<p class="whs57"> </p>
|
||||
|
||||
<p class="whs57"><a name=Check_free_faces><img src="../image10.gif" width="23px" height="22px" border="0" class="img_whs61"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free
|
||||
faces</B></font></span></a></p>
|
||||
|
||||
<p class="whs57"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Description:
|
||||
</b>Retrieves all free faces from a given shape.<span> A free face is
|
||||
a face not shared between two shells of the shape. </span></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.
|
||||
Returns a list of IDs of all free faces, contained in the shape.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i><span
|
||||
style="font-style: italic;"> <I></i>GetFreeFacesIDs(Shape)</I></span>, where
|
||||
Shape is a shape to be checked.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
|
||||
Shape</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs38"><b style="font-weight: bold;">Dialog
|
||||
Box:</b></p>
|
||||
|
||||
<p class="whs38"> </p>
|
||||
|
||||
<p class="whs16"><img src="../pics/repair10.png" x-maintain-ratio="TRUE" width="322px" height="163px" border="0" class="img_whs62"></p>
|
||||
|
||||
<p class="whs41"> </p>
|
||||
|
||||
<p class="whs41"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
669
doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions.htm
Executable file
@ -0,0 +1,669 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Titre</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='../default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style>
|
||||
<!--
|
||||
A:visited { color:#800080; }
|
||||
A:link { color:#0000ff; }
|
||||
-->
|
||||
</style><style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-size:12pt; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
ul.whs3 { list-style:disc; }
|
||||
p.whs4 { font-family:'Times New Roman' , serif; font-size:12pt; }
|
||||
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
|
||||
img_whs6 { width:20px; height:20px; border-style:none; }
|
||||
p.whs7 { font-size:12pt; margin-left:40px; }
|
||||
img_whs8 { border:none; border-style:none; width:312px; height:393px; float:none; }
|
||||
img_whs9 { border:none; border-style:none; width:312px; height:385px; float:none; }
|
||||
p.whs10 { margin-left:40px; }
|
||||
img_whs11 { border:none; width:150px; height:163px; border-style:none; }
|
||||
img_whs12 { border:none; border-style:none; width:312px; height:376px; float:none; }
|
||||
img_whs13 { border:none; width:150px; height:145px; border-style:none; }
|
||||
p.whs14 { margin-left:48px; text-indent:-48px; }
|
||||
p.whs15 { margin-left:48px; text-indent:-48px; font-size:14pt; font-weight:bold; }
|
||||
img_whs16 { border:none; width:25px; height:22px; border-style:none; }
|
||||
img_whs17 { border:none; border-style:none; width:312px; height:350px; float:none; }
|
||||
p.whs18 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
||||
p.whs19 { font-size:12pt; text-indent:-40px; margin-left:80px; }
|
||||
img_whs20 { border:none; width:200px; height:209px; border-style:none; }
|
||||
img_whs21 { border:none; width:150px; height:127px; border-style:none; }
|
||||
p.whs22 { margin-left:40px; font-size:12pt; }
|
||||
img_whs23 { border:none; width:150px; height:153px; border-style:none; }
|
||||
img_whs24 { border:none; width:24px; height:22px; border-style:none; }
|
||||
p.whs25 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
||||
img_whs26 { border:none; border-style:none; width:312px; height:315px; float:none; }
|
||||
p.whs27 { font-size:12pt; font-weight:bold; }
|
||||
img_whs28 { border:none; width:200px; height:191px; border-style:none; }
|
||||
img_whs29 { border:none; border-style:none; width:312px; height:398px; float:none; }
|
||||
img_whs30 { border:none; border-style:none; width:312px; height:509px; float:none; }
|
||||
img_whs31 { border:none; width:150px; height:123px; border-style:none; }
|
||||
img_whs32 { border:none; border-style:none; width:312px; height:346px; float:none; }
|
||||
img_whs33 { border:none; border-style:none; width:312px; height:450px; float:none; }
|
||||
img_whs34 { border:none; width:150px; height:128px; border-style:none; }
|
||||
img_whs35 { border:none; width:150px; height:113px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs14 {text-indent:1pt; }";
|
||||
strNSS += "p.whs15 {text-indent:1pt; }";
|
||||
strNSS += "p.whs18 {text-indent:1pt; }";
|
||||
strNSS += "p.whs19 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("../geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Using transformation operations</h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM there is a set
|
||||
of operations allowing to transform the initial geometrical object into
|
||||
other objects, which will be also created. These operations are</span></b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs4"><a
|
||||
HREF="#_Toc57113210"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Translation	</font></span></font></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><a
|
||||
HREF="#_Toc57113211">Rotation</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><a
|
||||
href="#_Toc57113217">Modify the location</a><a HREF="#_Toc57113211">	</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><a
|
||||
HREF="#_Toc57113212"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Mirror
|
||||
image	</font></span></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><a
|
||||
HREF="#_Toc57113213">Scale transform</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><a
|
||||
href="#_Toc57113216">Offset surface</a><a HREF="#_Toc57113213">	</a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><a
|
||||
HREF="#_Toc57113214"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Multi-Translation
|
||||
(Pattern)	</font></span></a></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs4"><a
|
||||
HREF="#_Toc57113215">Multi-Rotation (Pattern)</a></p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">All these operations are accessible in the
|
||||
main menu, via <span style="font-style: italic;"><I>Operations / Transformation.</I></span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;"><a
|
||||
NAME=_Toc57113210><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif" width="20px" height="20px" border="0" class="img_whs6"><font
|
||||
style="font-size: 14pt;"
|
||||
size=4> Translation</font></a></b> </font></span></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Makes a translation of a shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeTranslation(Shape, DX,
|
||||
DY, DZ)</I></span>, where Shape is a shape to be translated, DX, DY, DZ are
|
||||
components of translation vector.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
|
||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
||||
+ 3 values (coordinates).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2st
|
||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
||||
+ 2 vertices.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">3st
|
||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
||||
+ 1 vector.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>Create a copy
|
||||
</B></span>checkbox allows to keep the initial object, otherwise it will be
|
||||
removed.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../pics/transformation1.png" x-maintain-ratio="TRUE" width="312px" height="393px" border="0" class="img_whs8"> <img src="../pics/transformation2.png" x-maintain-ratio="TRUE" width="312px" height="393px" border="0" class="img_whs8"> <img src="../pics/transformation3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs9"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs10"><img src="../image6.gif" width="150px" height="163px" border="0" class="img_whs11"> <img src="../image8.jpg" width="150px" height="163px" border="0" class="img_whs11"></p>
|
||||
|
||||
<p class="whs10"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=_Toc57113211><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
||||
size=4> Rotation</font></b></a>
|
||||
</font></span></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Rotates the initial shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis,
|
||||
Angle)</I></span>, where Shape is a shape to be rotated, Axis is an axis of
|
||||
rotation, Angle is an angle of rotation.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
1 shape + 1 vector for direction of rotation + 1 angle.</p>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>Reverse </B></span>checkbox
|
||||
allows to specify the direction of rotation.</p>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>Create a copy
|
||||
</B></span>checkbox allows to keep the initial object, otherwise it will be
|
||||
removed.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs7"><img src="../pics/transformation4.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs12"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs10"><img src="../image9.jpg" width="150px" height="145px" border="0" class="img_whs13"> <img src="../image10.jpg" width="150px" height="145px" border="0" class="img_whs13"></p>
|
||||
|
||||
<p class="whs10"> </p>
|
||||
|
||||
<p class="whs14"> </p>
|
||||
|
||||
<p class="whs15"><a name=_Toc57113217
|
||||
style="font-size: 14pt; font-weight: bold;"><img src="../image59.gif" width="25px" height="22px" border="0" class="img_whs16"> Modify the Location</a></p>
|
||||
|
||||
<p class="whs14"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
||||
Modification of location of an object.</font></span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where theObject
|
||||
is a shape, location of which is modified, theStartLCS is a location to
|
||||
move the shape from, theEndLCS is a location to move the shape to.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 GEOM_Object + [Starting Coordinate System] + End Coordinate System.</p>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>Create a copy
|
||||
</B></span>checkbox allows to keep the initial object, otherwise it will be
|
||||
removed.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../pics/transformation5.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"> <img src="../pics/transformation6.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs9"></p>
|
||||
|
||||
<p class="whs18"> </p>
|
||||
|
||||
<p class="whs18"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs18"> </p>
|
||||
|
||||
<p class="whs19"><img src="../image197.jpg" width="200px" height="209px" border="0" class="img_whs20"></p>
|
||||
|
||||
<p class="whs18"> </p>
|
||||
|
||||
<p class="whs18"> </p>
|
||||
|
||||
<p class="whs18"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=_Toc57113212><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Mirror</b></a>
|
||||
</font></span></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Symmetrical copy of a shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape,
|
||||
Plane)</I></span>, where Shape is a shape to be mirrored, Plane is a plane
|
||||
of symmetry.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
|
||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
||||
+ 1 vertex.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2st
|
||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
||||
+ 1 vector.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">3st
|
||||
Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
|
||||
+ 1 plane.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"><span style="font-weight: bold;"><B>Create a copy
|
||||
</B></span><span>checkbox allows to keep the initial object, otherwise it
|
||||
will be removed.</span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../pics/transformation7.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"> <img src="../pics/transformation8.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"> <img src="../pics/transformation9.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../image121.jpg" width="150px" height="127px" border="0" class="img_whs21"> <img src="../image122.jpg" width="150px" height="127px" border="0" class="img_whs21"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=_Toc57113213><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
||||
size=4> Scale transform</a>
|
||||
</font></b></font></span></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Creates a scaled shape basing on the initial shape.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeScaleTransform(Shape,
|
||||
CenterOfScale, Factor)</I></span>, where Shape is a shape to be scaled, CenterOfScale
|
||||
is a center point of scale, Factor is a factor of the scale.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 shape(s) + 1 vertex + 1 Scale Factor.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../pics/transformation10.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs17"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs22"><img src="../image23.gif" width="150px" height="153px" border="0" class="img_whs23"> <img src="../image124.jpg" width="150px" height="153px" border="0" class="img_whs23"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs18"><a name=_Toc57113216><img src="../image37.gif" width="24px" height="22px" border="0" class="img_whs24"> <span
|
||||
style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Offset surface</B></font></span></a></p>
|
||||
|
||||
<p class="whs18"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Each point is translated along a local normal by a given distance (signed
|
||||
number, negative value meaning inner offset). Offset operation is applicable
|
||||
to faces, shells and solids.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:
|
||||
</b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape, Offset)</I></span>,
|
||||
where Shape is a shape which has to be an offset, Offset is a value of
|
||||
the offset.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs1"><span><font size=3 style="font-size:12pt;">Name of the resulting
|
||||
object</font></span></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1">GEOM_Object (face, shell,
|
||||
solid, compound) </p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1">offset value </p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs25"><img src="../pics/transformation11.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs26"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs27">Example:</p>
|
||||
|
||||
<p class="whs7"><img src="../image151.jpg" width="200px" height="191px" border="0" class="img_whs28"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=_Toc57113214><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"
|
||||
size=4> Multi-Translation</font></b></font></span></a></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span>
|
||||
or <span style="font-weight: bold;"><B>two</B></span> directions.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(compound).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape,
|
||||
Dir, Step, NbTimes)</I></span>, where Shape is a shape to be translated, Dir
|
||||
is a direction of translation, Step is a step of the translation, NbTimes
|
||||
is a number of times the shape must be moved.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation2D(Shape,
|
||||
Dir1, Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where Shape is a
|
||||
shape to be translated, Dir1 is the first direction of translation, Step1
|
||||
of the first translation, NbTimes1 is a number of translations to be done
|
||||
along, Dir2 is the second direction of translation, Step2 of the second
|
||||
translation, NbTimes2 is a number of translations to be done along Dir2.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
|
||||
Constructor <span style="font-weight: normal;">(in one direction):</span></b>
|
||||
Name + 1 shape + 1 vector (for direction) + 1 step value + 1 value (repetition).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd
|
||||
Constructor<span style="font-weight: normal;"> (in two directions):</span></b>
|
||||
Name + 1 shape + 2 vectors defining the direction + 2 step values + 2
|
||||
values (repetitions).</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../pics/mtrans1.png" x-maintain-ratio="TRUE" width="312px" height="398px" border="0" class="img_whs29"> <img src="../pics/mtrans2.png" x-maintain-ratio="TRUE" width="312px" height="509px" border="0" class="img_whs30"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">One direction:</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs31"> <img src="../image128.jpg" width="150px" height="123px" border="0" class="img_whs31"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">Two directions:</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs31"> <img src="../image127.jpg" width="150px" height="123px" border="0" class="img_whs31"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs5"><a NAME=_Toc57113215><span
|
||||
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Multi-Rotation</b></font></span></a></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Description:</b>
|
||||
Creates several rotated geometrical objects in <span style="font-weight: bold;"><B>one
|
||||
</B></span><span>or </span><span style="font-weight: bold;"><B>two </B></span><span>directions
|
||||
basing on the initial geometrical object</span>.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
|
||||
(compound).</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape,
|
||||
Axis, NbTimes)</I></span>, where Shape is a shape to be rotated, Axis is an
|
||||
Axis of rotation, NbTimes is a number of the shape must be rotated.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape,
|
||||
Axis, Angle, NbTimes1, Step, NbTimes2)</I></span>, where Shape is a shape
|
||||
to be rotated, Axis is an axis of rotation, Angle is an angle of rotation,
|
||||
NbTimes1 is a number of rotation, Step is a step of translation, NbTimes2
|
||||
is a number of translation.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
|
||||
Constructor <span style="font-weight: normal;">(in one direction):</span></b>
|
||||
Name + 1 shape + 1 vector for direction + 1 value (repetition).</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd
|
||||
Constructor <span style="font-weight: normal;">(in two directions):</span></b>
|
||||
Name + 1 shape + 1 vector for direction + 1 angle + 1 value (repetition)
|
||||
+ 1 step value + 1 value (repetition); <span style="font-weight: bold;"><B>Reverse
|
||||
</B></span><span>checkbox allows to set the direction of rotation</span>.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../pics/neo-mrot1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs32"> <img src="../pics/neo-mrot2.png" x-maintain-ratio="TRUE" width="312px" height="450px" border="0" class="img_whs33"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b
|
||||
style="font-weight: bold;">E</b>xample:</b></font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">One direction:</font></span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../image129.jpg" width="150px" height="128px" border="0" class="img_whs34"> <img src="../image130.jpg" width="150px" height="128px" border="0" class="img_whs34"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">Two directions:</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs7"><img src="../image25.gif" width="150px" height="113px" border="0" class="img_whs35"> <img src="../image133.jpg" width="150px" height="113px" border="0" class="img_whs35"></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
179
doc/salome/gui/GEOM/fillet.htm
Executable file
@ -0,0 +1,179 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Fillet</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
img_whs3 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
||||
p.whs4 { font-size:12pt; margin-left:0px; }
|
||||
img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
||||
p.whs6 { font-size:12pt; font-style:italic; }
|
||||
img_whs7 { border:none; width:226px; height:250px; float:none; border-style:none; }
|
||||
img_whs8 { border:none; float:none; width:208px; height:250px; border-style:none; }
|
||||
img_whs9 { border:none; width:220px; height:251px; float:none; border-style:none; }
|
||||
p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs4 {margin-left:1pt; }";
|
||||
strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nFillet");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Fillet</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Fillet</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>Operations - > Transformation - >
|
||||
Fillet</B></span> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2">This operation creates<span style="font-weight: bold;">
|
||||
<B></B></span>fillets on the edges of a shape.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To create fillets on all edges of the given
|
||||
shape, you need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
||||
to create a fillet on and the <span style="font-weight: bold;"><B>Radius</B></span>
|
||||
of the Fillet. </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i>geompy.MakeFilletAll(Shape, R) </p>
|
||||
|
||||
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
|
||||
style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 value
|
||||
(fillet radius).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs3"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To create fillets on
|
||||
the specified edges or faces of the given shape, you
|
||||
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
||||
to create a fillet on, select the necessary edges or faces in the object
|
||||
browser or in the viewer and define the <span
|
||||
style="font-weight: bold;"><B>Radius</B></span>
|
||||
of the Fillet. </p>
|
||||
|
||||
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI
|
||||
Command:</b><i> </i>geompy.MakeFillet(Shape, R, ShapeType, ListShapes)
|
||||
</I></span></p>
|
||||
|
||||
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
|
||||
style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 Selection
|
||||
of edges (or faces) + 1 value (Fillet radius).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs4"><img src="pics/fillet2.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> <img src="pics/fillet3.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs6">Fillet on all Fillet
|
||||
on an edge Fillet
|
||||
on a Face</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/fillet_all.png" x-maintain-ratio="TRUE" width="226px" height="250px" border="0" class="img_whs7"> <img src="pics/fillet_edge.png" x-maintain-ratio="TRUE" width="208px" height="250px" border="0" class="img_whs8"><span style="font-size: 12pt; margin-left: 40px;"> <font size=3 style="font-size:12pt;"> <img src="pics/fillet_prism.png" x-maintain-ratio="TRUE" width="220px" height="251px" border="0" class="img_whs9"></font></span></p>
|
||||
|
||||
<p class="whs10"> </p>
|
||||
|
||||
<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
||||
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
||||
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark3">Transformation
|
||||
Operations</a>. </font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
153
doc/salome/gui/GEOM/filling.htm
Executable file
@ -0,0 +1,153 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Filling</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:0px; }
|
||||
img_whs4 { border:none; width:312px; height:367px; float:none; border-style:none; }
|
||||
p.whs5 { font-size:12pt; margin-left:40px; }
|
||||
img_whs6 { border:none; float:none; width:263px; height:235px; border-style:none; }
|
||||
img_whs7 { border:none; float:none; width:267px; height:233px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs3 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nFilling");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Filling
|
||||
Surface with Curves</h1>
|
||||
|
||||
<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate
|
||||
a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Filling</B></font></span><span
|
||||
style="font-size: 12pt;"> <font size=3 style="font-size:12pt;"></font></span>in the <span style="font-weight: bold;"><B>Main
|
||||
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
||||
Generation -
|
||||
> Filling</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To create a curving face using several curves
|
||||
you need to define the <span style="font-weight: bold;"><B>Curves</B></span>,
|
||||
which will be the components of your face, <span style="font-weight: bold;"><B>Minimum</B></span>
|
||||
and <span style="font-weight: bold;"><B>Maximum Degree</B></span>, <span style="font-weight: bold;"><B>Tolerance
|
||||
</B></span>for<span style="font-weight: bold;"><B> 2D</B></span> and for <span style="font-weight: bold;"><B>3D
|
||||
</B></span> and
|
||||
the <span style="font-weight: bold;"><B>Number of Iterations</B></span>. </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of the operation will be a</span></b>
|
||||
GEOM_Object (face).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree,
|
||||
MaxDegree, Tol2D, Tol3D, NbIter)</I></span>,</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number
|
||||
of iterations, 2D tolerance, 3D tolerance).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/filling.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs5"><img src="pics/filling_compoundsn.png" x-maintain-ratio="TRUE" width="263px" height="235px" border="0" class="img_whs6"> <img src="pics/fillingsn.png" x-maintain-ratio="TRUE" width="267px" height="233px" border="0" class="img_whs7"> </p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of creation of <a href="complex_objects.htm#bookmark2">Complex Geometric
|
||||
Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
147
doc/salome/gui/GEOM/fuse.htm
Executable file
@ -0,0 +1,147 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Fuse</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
|
||||
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
||||
p.whs6 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
|
||||
img_whs7 { border:none; float:none; width:250px; height:262px; border-style:none; }
|
||||
img_whs8 { border:none; float:none; width:250px; height:263px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nFuse");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Fuse</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Fuse</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>Operations - > Boolean - > Fuse</B></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
||||
style="font-weight: normal;">This operation creates a shape from two</span>
|
||||
</b>shapes.</font></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
||||
style="font-weight: normal;">The</span> Result<span style="font-weight: normal;">
|
||||
will be a</span></b> GEOM_Object (COMPOUND).</font></span></p>
|
||||
|
||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 2 shapes.</font></span></p>
|
||||
|
||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>TUI
|
||||
Command:</B></span> <span style="font-style: italic;"><I>geompy.MakeFuse(s1,
|
||||
s2)</I></span> </font></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/bool1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></font></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs6"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="250px" height="262px" border="0" class="img_whs7"> <img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="250px" height="263px" border="0" class="img_whs8"></font></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
||||
provide you with useful examples of the use of <a href="boolean_operations.htm#bookmark">Boolean
|
||||
Operations</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
648
doc/salome/gui/GEOM/geom.log
Executable file
@ -0,0 +1,648 @@
|
||||
|SourceProjectName:GEOM.hpr
|
||||
|DestinationProjectName:geom.htm
|
||||
whhost.js
|
||||
whmsg.js
|
||||
whmozemu.js
|
||||
whproxy.js
|
||||
whstub.js
|
||||
whutils.js
|
||||
whver.js
|
||||
whform.js
|
||||
whphost.js
|
||||
whstart.js
|
||||
whtopic.js
|
||||
whframes.js
|
||||
whlang.js
|
||||
whskin_info.htm
|
||||
whskin_blank.htm
|
||||
whskin_pickup.htm
|
||||
whskin_homepage.htm
|
||||
whskin_tw.htm
|
||||
whnjs.htm
|
||||
whthost.js
|
||||
whtdhtml.htm
|
||||
whihost.js
|
||||
whibody.htm
|
||||
whiform.htm
|
||||
whfhost.js
|
||||
whfbody.htm
|
||||
whfform.htm
|
||||
whghost.js
|
||||
whgbody.htm
|
||||
whgdhtml.htm
|
||||
whgdef.htm
|
||||
whproj.js
|
||||
whproj.xml
|
||||
whproj.htm
|
||||
whxdata\whtoc.xml
|
||||
whxdata\whidx.xml
|
||||
whxdata\whfts.xml
|
||||
whxdata\whglo.xml
|
||||
whdata\whtoc.js
|
||||
whdata\whtoc.htm
|
||||
whdata\whtdata.js
|
||||
whdata\whidx.js
|
||||
whdata\whidx.htm
|
||||
whdata\whidata.js
|
||||
whdata\whfts.js
|
||||
whdata\whfts.htm
|
||||
whdata\whglo.js
|
||||
whdata\whglo.htm
|
||||
whdata\whgdata.js
|
||||
whdata\whftdata.js
|
||||
whdata\whfwdata.js
|
||||
whres.xml
|
||||
webhelp.jar
|
||||
webhelp.cab
|
||||
whgdata\whnvp30.htm
|
||||
whgdata\whnvp31.htm
|
||||
whgdata\whnvp32.htm
|
||||
whgdata\whnvp33.htm
|
||||
whgdata\whnvt30.htm
|
||||
whgdata\whnvt31.htm
|
||||
whgdata\whnvt32.htm
|
||||
whgdata\whnvt33.htm
|
||||
whgdata\whnvf30.htm
|
||||
whgdata\whnvf31.htm
|
||||
whgdata\whnvf32.htm
|
||||
whgdata\whnvf33.htm
|
||||
whgdata\whnvl31.htm
|
||||
whgdata\whnvl32.htm
|
||||
whgdata\whnvl33.htm
|
||||
whgdata\whexpbar.gif
|
||||
cshdat_webhelp.htm
|
||||
whcsh_home.htm
|
||||
whcshdata.htm
|
||||
cshdat_robohelp.htm
|
||||
wht_tab0.gif
|
||||
wht_tab1.gif
|
||||
wht_tab2.gif
|
||||
wht_tab3.gif
|
||||
wht_tab4.gif
|
||||
wht_tab5.gif
|
||||
wht_tab6.gif
|
||||
wht_tab7.gif
|
||||
wht_tab8.gif
|
||||
wht_glo_h.gif
|
||||
wht_glo_n.gif
|
||||
wht_fts_h.gif
|
||||
wht_fts_n.gif
|
||||
wht_idx_h.gif
|
||||
wht_idx_n.gif
|
||||
wht_toc_h.gif
|
||||
wht_toc_n.gif
|
||||
wht_ws.gif
|
||||
wht_ws_g.gif
|
||||
wht_logo1.gif
|
||||
wht_logo2.gif
|
||||
wht_abgw.jpg
|
||||
wht_abgi.jpg
|
||||
wht_abge.jpg
|
||||
wht_abtw.jpg
|
||||
wht_abte.jpg
|
||||
wht_abti.jpg
|
||||
wht_spac.gif
|
||||
wht_next.gif
|
||||
wht_next_g.gif
|
||||
wht_prev.gif
|
||||
wht_prev_g.gif
|
||||
wht_sync.gif
|
||||
wht_hide.gif
|
||||
wht_go.gif
|
||||
whstart.ico
|
||||
whestart.ico
|
||||
whrstart.ico
|
||||
whidhtml.htm
|
||||
whfdhtml.htm
|
||||
whskin_banner.htm
|
||||
whtbar.js
|
||||
whskin_pdhtml.htm
|
||||
whskin_papplet.htm
|
||||
whskin_plist.htm
|
||||
whskin_tbars.htm
|
||||
whskin_mbars.htm
|
||||
wht_toc4.gif
|
||||
wht_toc1.gif
|
||||
wht_toc2.gif
|
||||
wht_toc3.gif
|
||||
whskin_frmset010.htm
|
||||
whst_topics.xml
|
||||
whskin_frmset01.htm
|
||||
geom_hha.hhk
|
||||
geom.hhc
|
||||
geom.hhk
|
||||
add_point_on_edge.htm
|
||||
arc.htm
|
||||
archimede.htm
|
||||
basic_geometrical_objects.htm
|
||||
basic_operations.htm
|
||||
blocks.htm
|
||||
blocks_operations.htm
|
||||
boolean_operations.htm
|
||||
box.htm
|
||||
building_by_blocks.htm
|
||||
chamfer.htm
|
||||
changing_display_parameters.htm
|
||||
changing_displaying_parameters.htm
|
||||
check_free_boundaries.htm
|
||||
check_free_faces.htm
|
||||
circle.htm
|
||||
close_contour.htm
|
||||
common.htm
|
||||
complex_objects.htm
|
||||
compound.htm
|
||||
cone.htm
|
||||
curve.htm
|
||||
cut.htm
|
||||
cylinder.htm
|
||||
edge.htm
|
||||
ellipse.htm
|
||||
explode.htm
|
||||
explode_on_blocks.htm
|
||||
extrusion.htm
|
||||
face.htm
|
||||
files\introduction_to_geom.htm
|
||||
files\salome2_sp3_basicgui_functions.htm
|
||||
files\salome2_sp3_booleangui_functions.htm
|
||||
files\salome2_sp3_buildgui_functions.htm
|
||||
files\salome2_sp3_displaygui_functions.htm
|
||||
files\salome2_sp3_generationgui_functions.htm
|
||||
files\salome2_sp3_geomtoolsgui_functions.htm
|
||||
files\salome2_sp3_measuregui_functions.htm
|
||||
files\salome2_sp3_operationgui_functions.htm
|
||||
files\salome2_sp3_primitivegui_functions.htm
|
||||
files\salome2_sp3_repairgui_functions.htm
|
||||
files\salome2_sp3_transformationgui_functions.htm
|
||||
fillet.htm
|
||||
filling.htm
|
||||
fuse.htm
|
||||
geometrical_objects.htm
|
||||
glue_faces.htm
|
||||
groups.htm
|
||||
line.htm
|
||||
local_coordinate_system.htm
|
||||
measurement_tools.htm
|
||||
mirror_image.htm
|
||||
modify_the_location.htm
|
||||
multi_rotation.htm
|
||||
multi_transformation.htm
|
||||
multi_translation.htm
|
||||
newentity_blocks.htm
|
||||
offset_surface.htm
|
||||
partition.htm
|
||||
pipe_creation.htm
|
||||
plane.htm
|
||||
point.htm
|
||||
primitives.htm
|
||||
propagate.htm
|
||||
repairing_operations.htm
|
||||
revolution.htm
|
||||
rotation.htm
|
||||
scale_transform.htm
|
||||
section.htm
|
||||
sewing.htm
|
||||
shape_processing.htm
|
||||
shell.htm
|
||||
sketcher.htm
|
||||
sketcher_tui.htm
|
||||
solid.htm
|
||||
sphere.htm
|
||||
suppress_faces.htm
|
||||
suppress_holes.htm
|
||||
suppress_internal_wires.htm
|
||||
transformation_operations.htm
|
||||
translation.htm
|
||||
turus.htm
|
||||
vector.htm
|
||||
wire.htm
|
||||
working_plane.htm
|
||||
working_with_groups.htm
|
||||
ehelp.xml
|
||||
geom.glo
|
||||
default.css
|
||||
pics\chamfer_all.png
|
||||
pics\edgesn.png
|
||||
pics\boxes.png
|
||||
pics\mtrans1.png
|
||||
pics\transformation3.png
|
||||
pics\mtransf2.png
|
||||
pics\export.png
|
||||
image15.jpg
|
||||
image204.jpg
|
||||
image56.gif
|
||||
image149.jpg
|
||||
image127.jpg
|
||||
image23.gif
|
||||
image12.gif
|
||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif
|
||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif
|
||||
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif
|
||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif
|
||||
pics\archimedesn1.png
|
||||
pics\neo-basicprop.png
|
||||
pics\mtrans2.png
|
||||
pics\transformation4.png
|
||||
pics\mtransf3.png
|
||||
pics\plane1.png
|
||||
image16.jpg
|
||||
image57.gif
|
||||
image35.gif
|
||||
image128.jpg
|
||||
image24.gif
|
||||
image27.jpg
|
||||
image13.gif
|
||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif
|
||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif
|
||||
pics\suppress_faces1.png
|
||||
pics\mirror_axissn1.png
|
||||
pics\archimedesn2.png
|
||||
pics\revolutionsn.png
|
||||
pics\ellipsesn.png
|
||||
pics\transformation10.png
|
||||
pics\transformation5.png
|
||||
pics\mtransf4.png
|
||||
pics\plane2.png
|
||||
image206.jpg
|
||||
image25.gif
|
||||
image129.jpg
|
||||
image14.gif
|
||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif
|
||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif
|
||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
|
||||
pics\suppress_faces2.png
|
||||
pics\multi_translation1dsn.png
|
||||
pics\mirror_axissn2.png
|
||||
pics\multi_transformationsn2d.png
|
||||
pics\archimedesn3.png
|
||||
pics\wiresn.png
|
||||
pics\transformation11.png
|
||||
pics\transformation6.png
|
||||
pics\block1.png
|
||||
pics\creategroup.png
|
||||
pics\pipe.png
|
||||
pics\torus1.png
|
||||
pics\plane3.png
|
||||
image59.gif
|
||||
image37.gif
|
||||
image15.gif
|
||||
image18.jpg
|
||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif
|
||||
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif
|
||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif
|
||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif
|
||||
pics\multi_transformationsn1d.png
|
||||
pics\fillingsn.png
|
||||
pics\spheres.png
|
||||
pics\polyline.png
|
||||
pics\neo-obj1.png
|
||||
pics\repair1.png
|
||||
pics\transformation7.png
|
||||
pics\block2.png
|
||||
pics\torus2.png
|
||||
image27.gif
|
||||
image191.jpg
|
||||
image180.jpg
|
||||
image49.gif
|
||||
image109.jpg
|
||||
image16.gif
|
||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
|
||||
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
|
||||
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
|
||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
|
||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
|
||||
pics\glue_faces1.png
|
||||
pics\supp_int_wires1.png
|
||||
pics\fusesn1.png
|
||||
pics\transparencysn.png
|
||||
pics\arcsn.png
|
||||
pics\points.png
|
||||
pics\neo-obj2.png
|
||||
pics\neo-localcs1.png
|
||||
pics\measures10.png
|
||||
pics\repair2.png
|
||||
pics\transformation8.png
|
||||
pics\block3.png
|
||||
image181.jpg
|
||||
image170.jpg
|
||||
image80.jpg
|
||||
image17.gif
|
||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
|
||||
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
|
||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
|
||||
image3.jpg
|
||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
|
||||
pics\glue_faces2.png
|
||||
pics\supp_int_wires2.png
|
||||
pics\sectionsn.png
|
||||
pics\fusesn2.png
|
||||
pics\toruses.png
|
||||
pics\circles.png
|
||||
pics\neo-materials.png
|
||||
pics\neo-obj3.png
|
||||
pics\neo-localcs2.png
|
||||
pics\neo-isos.png
|
||||
pics\measures1.png
|
||||
pics\repair3.png
|
||||
pics\transformation9.png
|
||||
pics\bool1.png
|
||||
pics\partition1.png
|
||||
pics\block4.png
|
||||
pics\sphere1.png
|
||||
image193.jpg
|
||||
image29.gif
|
||||
image171.jpg
|
||||
image160.jpg
|
||||
image81.jpg
|
||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
|
||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
|
||||
pics\chamfer_faces.png
|
||||
pics\fillet_prism.png
|
||||
pics\rotationsn1.png
|
||||
pics\disp_mode1sn.png
|
||||
pics\pipesn.png
|
||||
pics\pipe_wire_edgesn.png
|
||||
pics\cones.png
|
||||
pics\planes1.png
|
||||
pics\lines.png
|
||||
pics\neo-obj4.png
|
||||
pics\neo-localcs3.png
|
||||
pics\repair4.png
|
||||
pics\bool2.png
|
||||
pics\partition2.png
|
||||
pics\block5.png
|
||||
pics\sphere2.png
|
||||
pics\point1.png
|
||||
pics\import.png
|
||||
image172.jpg
|
||||
image150.jpg
|
||||
image82.jpg
|
||||
image19.gif
|
||||
image5.jpg
|
||||
pics\rotationsn2.png
|
||||
pics\disp_mode2sn.png
|
||||
pics\neo-detect2.png
|
||||
pics\neo-section.png
|
||||
pics\neo-obj5.png
|
||||
pics\measures3.png
|
||||
pics\repair5.png
|
||||
pics\bool3.png
|
||||
pics\chamfer1.png
|
||||
pics\filling.png
|
||||
pics\revolution.png
|
||||
pics\arc.png
|
||||
pics\ellipse.png
|
||||
pics\circle1.png
|
||||
image3.gif
|
||||
image151.jpg
|
||||
image94.jpg
|
||||
image83.jpg
|
||||
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
|
||||
pics\free_boudaries1.png
|
||||
pics\multi_rotation1d1.png
|
||||
pics\multi_translation2dsn.png
|
||||
pics\offsetsn.png
|
||||
pics\isos_u12_v12sn.png
|
||||
pics\compoundsn.png
|
||||
pics\prisms_basessn.png
|
||||
pics\cylinders.png
|
||||
pics\vectors.png
|
||||
pics\neo-obj6.png
|
||||
pics\measures4.png
|
||||
pics\repair6.png
|
||||
pics\chamfer2.png
|
||||
pics\cone1.png
|
||||
pics\circle2.png
|
||||
pics\point3.png
|
||||
image185.jpg
|
||||
image163.jpg
|
||||
image130.jpg
|
||||
image95.jpg
|
||||
image84.jpg
|
||||
image4.gif
|
||||
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
|
||||
pics\free_boudaries2.png
|
||||
pics\multi_rotation2d1.png
|
||||
pics\multi_rotation1d2.png
|
||||
pics\mirror_pointsn1.png
|
||||
pics\new-tolerance.png
|
||||
pics\neo-obj7.png
|
||||
pics\neo-point2.png
|
||||
pics\measures5.png
|
||||
pics\repair7.png
|
||||
pics\chamfer3.png
|
||||
pics\cone2.png
|
||||
image197.jpg
|
||||
image164.jpg
|
||||
image96.jpg
|
||||
image85.jpg
|
||||
image52.jpg
|
||||
image8.jpg
|
||||
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
|
||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
|
||||
pics\chamfer_edge.png
|
||||
pics\fillet_edge.png
|
||||
pics\multi_rotation2d2.png
|
||||
pics\scale_transformsn1.png
|
||||
pics\mirror_pointsn2.png
|
||||
pics\cutsn.png
|
||||
pics\shellsn.png
|
||||
pics\filling_compoundsn.png
|
||||
pics\prismssn.png
|
||||
pics\neo-mrot1.png
|
||||
pics\repair8.png
|
||||
pics\cylinder1.png
|
||||
pics\vector1.png
|
||||
image61.gif
|
||||
image154.jpg
|
||||
image121.jpg
|
||||
image110.jpg
|
||||
image97.jpg
|
||||
image53.jpg
|
||||
image9.jpg
|
||||
image6.gif
|
||||
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
|
||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif
|
||||
pics\scale_transformsn2.png
|
||||
pics\translationsn1.png
|
||||
pics\facesn1.png
|
||||
pics\neo-mrot2.png
|
||||
pics\repair9.png
|
||||
pics\cylinder2.png
|
||||
pics\vector2.png
|
||||
image188.jpg
|
||||
image51.gif
|
||||
image133.jpg
|
||||
image122.jpg
|
||||
image98.jpg
|
||||
image76.jpg
|
||||
image54.jpg
|
||||
image7.gif
|
||||
image10.jpg
|
||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
|
||||
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
|
||||
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
|
||||
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
|
||||
i_blue.jpg
|
||||
pics\free_faces1.png
|
||||
pics\fillet_all.png
|
||||
pics\translationsn2.png
|
||||
pics\partitionsn1.png
|
||||
pics\colorsn.png
|
||||
pics\facesn2.png
|
||||
pics\interpol.png
|
||||
pics\measures8.png
|
||||
pics\fillet1.png
|
||||
pics\archimede.png
|
||||
pics\workplane4.png
|
||||
image189.jpg
|
||||
image52.gif
|
||||
image167.jpg
|
||||
image156.jpg
|
||||
image41.gif
|
||||
image145.jpg
|
||||
image112.jpg
|
||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif
|
||||
image8.gif
|
||||
image11.jpg
|
||||
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
|
||||
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
|
||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
|
||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
|
||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
|
||||
pics\free_faces2.png
|
||||
pics\mirror_planesn1.png
|
||||
pics\block_explodesn.png
|
||||
pics\partitionsn2.png
|
||||
pics\solidsn.png
|
||||
pics\facesn3.png
|
||||
pics\distance.png
|
||||
pics\neo-scetcher1.png
|
||||
pics\neo-transparency.png
|
||||
pics\measures9.png
|
||||
pics\fillet2.png
|
||||
pics\workplane5.png
|
||||
image201.jpg
|
||||
image53.gif
|
||||
image168.jpg
|
||||
image42.gif
|
||||
image124.jpg
|
||||
image113.jpg
|
||||
image78.jpg
|
||||
image20.gif
|
||||
image67.jpg
|
||||
image9.gif
|
||||
image12.jpg
|
||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
|
||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif
|
||||
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
|
||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
|
||||
pics\mirror_planesn2.png
|
||||
pics\neo-scetcher2.png
|
||||
pics\transformation1.png
|
||||
pics\fillet3.png
|
||||
pics\box1.png
|
||||
pics\workplane6.png
|
||||
pics\curve.png
|
||||
pics\line.png
|
||||
image10.gif
|
||||
image202.jpg
|
||||
image147.jpg
|
||||
image32.gif
|
||||
image79.jpg
|
||||
image21.gif
|
||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif
|
||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif
|
||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif
|
||||
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif
|
||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif
|
||||
pics\multi_translation_initialsn.png
|
||||
pics\plane_on_face.png
|
||||
pics\bezier.png
|
||||
pics\repair10.png
|
||||
pics\transformation2.png
|
||||
pics\mtransf1.png
|
||||
pics\editgroup.png
|
||||
pics\extrusion.png
|
||||
pics\box2.png
|
||||
image44.gif
|
||||
image22.gif
|
||||
image11.gif
|
||||
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif
|
||||
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif
|
||||
files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif
|
||||
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif
|
||||
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif
|
||||
ehlpdhtm.js
|
||||
geom.ppf
|
||||
default_ns.css
|
||||
whxdata\whtdata0.xml
|
||||
whxdata\whftdata0.xml
|
||||
whxdata\whfwdata0.xml
|
||||
whxdata\whgdata0.xml
|
||||
whdata\whtdata0.htm
|
||||
whdata\whftdata0.htm
|
||||
whdata\whfwdata0.htm
|
||||
whdata\whgdata0.htm
|
||||
whgdata\whlstt0.htm
|
||||
whgdata\whlstt1.htm
|
||||
whgdata\whlstt2.htm
|
||||
whgdata\whlstt3.htm
|
||||
whgdata\whlstt4.htm
|
||||
whgdata\whlstt5.htm
|
||||
whgdata\whlstt6.htm
|
||||
whgdata\whlstt7.htm
|
||||
whgdata\whlstt8.htm
|
||||
whgdata\whlstt9.htm
|
||||
whgdata\whlstt10.htm
|
||||
whgdata\whlstt11.htm
|
||||
whgdata\whlstt12.htm
|
||||
whgdata\whlstt13.htm
|
||||
whgdata\whlstt14.htm
|
||||
whgdata\whlstt15.htm
|
||||
whgdata\whlstt16.htm
|
||||
whgdata\whlsti0.htm
|
||||
whgdata\whlstfl0.htm
|
||||
whgdata\whlstfl1.htm
|
||||
whgdata\whlstfl2.htm
|
||||
whgdata\whlstfl3.htm
|
||||
whgdata\whlstfl4.htm
|
||||
whgdata\whlstfl5.htm
|
||||
whgdata\whlstfl6.htm
|
||||
whgdata\whlstfl7.htm
|
||||
whgdata\whlstfl8.htm
|
||||
whgdata\whlstfl9.htm
|
||||
whgdata\whlstfl10.htm
|
||||
whgdata\whlstfl11.htm
|
||||
whgdata\whlstfl12.htm
|
||||
whgdata\whlstfl13.htm
|
||||
whgdata\whlstfl14.htm
|
||||
whgdata\whlstfl15.htm
|
||||
whgdata\whlstfl16.htm
|
||||
whgdata\whlstfl17.htm
|
||||
whgdata\whlstfl18.htm
|
||||
whgdata\whlstfl19.htm
|
||||
whgdata\whlstfl20.htm
|
||||
whgdata\whlstfl21.htm
|
||||
whgdata\whlstfl22.htm
|
||||
whgdata\whlstfl23.htm
|
||||
whgdata\whlstfl24.htm
|
||||
whgdata\whlstfl25.htm
|
||||
whgdata\whlstf0.htm
|
||||
whgdata\whlstf1.htm
|
||||
whgdata\whlstf2.htm
|
||||
whgdata\whlstf3.htm
|
||||
whgdata\whlstf4.htm
|
||||
whgdata\whlstf5.htm
|
||||
whgdata\whlstf6.htm
|
||||
whgdata\whlstf7.htm
|
||||
whgdata\whlstf8.htm
|
||||
whgdata\whlstf9.htm
|
||||
whgdata\whlstf10.htm
|
||||
whgdata\whlstf11.htm
|
||||
whgdata\whlstf12.htm
|
||||
whgdata\whlstf13.htm
|
||||
whgdata\whlstf14.htm
|
||||
whgdata\whlstg0.htm
|
||||
geom.htm
|
||||
geom_csh.htm
|
||||
geom_rhc.htm
|
571
doc/salome/gui/GEOM/geometrical_objects.htm
Executable file
@ -0,0 +1,571 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Geometrical Objects</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
p.whs2 { font-family:'Times New Roman' , serif; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nAdvanced Geometrical Objects");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Advanced Geometrical Objects</h1>
|
||||
|
||||
<h3><a name=bookmark>Creation of an Edge</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create vertices</p>
|
||||
|
||||
<p class="whs1">p0 =
|
||||
geompy.MakeVertex(0. ,
|
||||
0. , 0.
|
||||
)</p>
|
||||
|
||||
<p class="whs1">pxyz = geompy.MakeVertex(100.,
|
||||
100., 100.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create edge</p>
|
||||
|
||||
<p class="whs1">edge = geompy.MakeEdge(p0,
|
||||
pxyz)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add object in study</p>
|
||||
|
||||
<p class="whs1">id_edge = geompy.addToStudy(edge,"Edge")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display edge</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_edge)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3><a name=Creation>Creation of a Wire</a></h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"># create vertices</p>
|
||||
|
||||
<p class="whs1">px =
|
||||
geompy.MakeVertex(100., 0. ,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">py =
|
||||
geompy.MakeVertex(0. ,
|
||||
100., 0. )</p>
|
||||
|
||||
<p class="whs1">pz =
|
||||
geompy.MakeVertex(0. ,
|
||||
0. , 100.)</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"># create vector on two
|
||||
points</p>
|
||||
|
||||
<p class="whs1">vxy = geompy.MakeVector(px,
|
||||
py)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create arc with three
|
||||
points</p>
|
||||
|
||||
<p class="whs1">arc = geompy.MakeArc(py,
|
||||
pz, px)</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"># create wire</p>
|
||||
|
||||
<p class="whs1">wire = geompy.MakeWire([vxy,
|
||||
arc])</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"># add object in study</p>
|
||||
|
||||
<p class="whs1">id_wire = geompy.addToStudy(wire,"Wire")</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"># display wire</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_wire)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3><a name=bookmark1>Creation of a Face</a></h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create vertices</p>
|
||||
|
||||
<p class="whs1">p0 =
|
||||
geompy.MakeVertex(0. ,
|
||||
0. , 0.
|
||||
)</p>
|
||||
|
||||
<p class="whs1">px =
|
||||
geompy.MakeVertex(100., 0. ,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">py =
|
||||
geompy.MakeVertex(0. ,
|
||||
100., 0. )</p>
|
||||
|
||||
<p class="whs1">pz =
|
||||
geompy.MakeVertex(0. ,
|
||||
0. , 100.)</p>
|
||||
|
||||
<p class="whs1">pxyz = geompy.MakeVertex(100.,
|
||||
100., 100.)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create vector on two
|
||||
points</p>
|
||||
|
||||
<p class="whs1">vxy = geompy.MakeVector(px,
|
||||
py)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create arc with three
|
||||
points</p>
|
||||
|
||||
<p class="whs1">arc = geompy.MakeArc(py,
|
||||
pz, px)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create wire</p>
|
||||
|
||||
<p class="whs1">wire = geompy.MakeWire([vxy,
|
||||
arc])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create sketchers</p>
|
||||
|
||||
<p class="whs1">sketcher1 = geompy.MakeSketcher("Sketcher:F
|
||||
-100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW",</p>
|
||||
|
||||
<p class="whs1"> [100,0,0,
|
||||
1,1,1, -1,1,0])</p>
|
||||
|
||||
<p class="whs1">sketcher2 = geompy.MakeSketcher("Sketcher:F
|
||||
0 0:TT 70 0:TT 70 70:TT 0 70:WW")</p>
|
||||
|
||||
<p class="whs1">sketcher3 = geompy.MakeSketcher("Sketcher:F
|
||||
20 20:TT 50 20:TT 50 50:TT 20 50:WW")</p>
|
||||
|
||||
<p class="whs1">isPlanarFace = 1</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create face from wire</p>
|
||||
|
||||
<p class="whs1">face1 = geompy.MakeFace(wire,
|
||||
isPlanarFace)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create faces from two
|
||||
wires</p>
|
||||
|
||||
<p class="whs1">face2 = geompy.MakeFaceWires([wire,
|
||||
sketcher1],isPlanarFace)</p>
|
||||
|
||||
<p class="whs1">face3 = geompy.MakeFaces([sketcher2,
|
||||
sketcher3],isPlanarFace)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_face1 = geompy.addToStudy(face1,"Face1")</p>
|
||||
|
||||
<p class="whs1">id_face2 = geompy.addToStudy(face2,"Face2")</p>
|
||||
|
||||
<p class="whs1">id_face3 = geompy.addToStudy(face3,"Face3")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># display faces</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
|
||||
|
||||
<p class="whs1">gg.setTransparency(id_face1,0.2)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
|
||||
|
||||
<p class="whs1">gg.setTransparency(id_face2,0.2)</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_face3)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_face3,1)</p>
|
||||
|
||||
<p class="whs1">gg.setTransparency(id_face3,0.2)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3><a name=bookmark2>Creation of a Shell</a></h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2">#create vertices</p>
|
||||
|
||||
<p class="whs1">p0 =
|
||||
geompy.MakeVertex( 0., 0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">pxyz = geompy.MakeVertex(
|
||||
5., 5.,
|
||||
40.)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create sketchers</p>
|
||||
|
||||
<p class="whs1">sketcher1 = geompy.MakeSketcher("Sketcher:F
|
||||
0 0:TT 70 0:TT 70 70:TT 0 70:WW")</p>
|
||||
|
||||
<p class="whs1">sketcher2 = geompy.MakeSketcher("Sketcher:F
|
||||
20 20:TT 50 20:TT 50 50:TT 20 50:WW")</p>
|
||||
|
||||
<p class="whs1">isPlanarFace = 1</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create face from two
|
||||
wires</p>
|
||||
|
||||
<p class="whs1">face = geompy.MakeFaces([sketcher1,
|
||||
sketcher2],isPlanarFace)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create prism</p>
|
||||
|
||||
<p class="whs1">prism = geompy.MakePrism(face,
|
||||
p0, pxyz)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># explode prism on faces</p>
|
||||
|
||||
<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create shell from the
|
||||
set of faces</p>
|
||||
|
||||
<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
|
||||
prism_faces[2], prism_faces[3],</p>
|
||||
|
||||
<p class="whs1"> prism_faces[7],
|
||||
prism_faces[9]])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_shell = geompy.addToStudy(shell,"Shell")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># display shell</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_shell)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_shell,1)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3><a name=bookmark3>Creation of a Solid</a></h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2">#create vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">pz = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
40.)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create sketchers</p>
|
||||
|
||||
<p class="whs1">sketcher = geompy.MakeSketcher("Sketcher:F
|
||||
-50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create faces from two
|
||||
wires</p>
|
||||
|
||||
<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create prism</p>
|
||||
|
||||
<p class="whs1">prism = geompy.MakePrism(face,
|
||||
p0, pz)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># explode prism on faces</p>
|
||||
|
||||
<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create shell from the
|
||||
set of faces</p>
|
||||
|
||||
<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
|
||||
prism_faces[1],</p>
|
||||
|
||||
<p class="whs1"> prism_faces[3],
|
||||
prism_faces[4],</p>
|
||||
|
||||
<p class="whs1"> prism_faces[5],
|
||||
prism_faces[2]])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create solid, bounded
|
||||
by the given shells</p>
|
||||
|
||||
<p class="whs1">solid = geompy.MakeSolid([shell])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_solid = geompy.addToStudy(solid,"Solid")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># display solid</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_solid)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_solid,1)
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3><a name=bookmark4>Creation of a Compound</a></h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2">#create vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
0.)</p>
|
||||
|
||||
<p class="whs1">pz = geompy.MakeVertex(
|
||||
0., 0.,
|
||||
40.)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create sketchers</p>
|
||||
|
||||
<p class="whs1">sketcher = geompy.MakeSketcher("Sketcher:F
|
||||
-50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create faces from two
|
||||
wires</p>
|
||||
|
||||
<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create prism</p>
|
||||
|
||||
<p class="whs1">prism = geompy.MakePrism(face,
|
||||
p0, pz)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># explode prism on faces</p>
|
||||
|
||||
<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create shell from the
|
||||
set of faces</p>
|
||||
|
||||
<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
|
||||
prism_faces[1],</p>
|
||||
|
||||
<p class="whs1"> prism_faces[3],
|
||||
prism_faces[4],</p>
|
||||
|
||||
<p class="whs1"> prism_faces[5],
|
||||
prism_faces[2]])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create solid, bounded
|
||||
by the given shells</p>
|
||||
|
||||
<p class="whs1">solid = geompy.MakeSolid([shell])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># add objects in study</p>
|
||||
|
||||
<p class="whs1">id_solid = geompy.addToStudy(solid,"Solid")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># display solid</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_solid)</p>
|
||||
|
||||
<p class="whs1">gg.setDisplayMode(id_solid,1)
|
||||
</p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
29
doc/salome/gui/GEOM/geompy_doc/GEOM__TestMeasures_8py.html
Normal file
@ -0,0 +1,29 @@
|
||||
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
|
||||
<title>Main Page</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<center><table WIDTH="96%" >
|
||||
|
||||
</table></center>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- Generated by Doxygen 1.3.7 -->
|
||||
<h1>GEOM_TestMeasures.py File Reference</h1><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align=right valign=top>namespace </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGEOM__TestMeasures.html">GEOM_TestMeasures</a></td></tr>
|
||||
|
||||
</table>
|
||||
<hr size="1"><address style="align: right;"><small>Generated on Tue Oct 18 00:47:36 2005 for SALOME - GEOM - v.2.1.0 by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
</html>
|
218
doc/salome/gui/GEOM/geompy_doc/doxygen.css
Normal file
@ -0,0 +1,218 @@
|
||||
H1 {
|
||||
text-align: center;
|
||||
font-family: Geneva, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
H2 {
|
||||
font-family: Geneva, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
CAPTION { font-weight: bold }
|
||||
DIV.qindex {
|
||||
width: 100%;
|
||||
background-color: #eeeeff;
|
||||
border: 1px solid #B0B0B0;
|
||||
text-align: center;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
line-height: 120%;
|
||||
}
|
||||
A.qindex {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: #1A419D;
|
||||
padding: 2px;
|
||||
}
|
||||
A.qindex:visited {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: #1A419D
|
||||
padding: 2px;
|
||||
}
|
||||
A.qindex:hover {
|
||||
text-decoration: none;
|
||||
background-color: #ddddff;
|
||||
padding: 2px;
|
||||
}
|
||||
A.qindexHL {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
background-color: #6666cc;
|
||||
color: #ffffff;
|
||||
padding: 2px 6px;
|
||||
border: 1px double #9295C2;
|
||||
}
|
||||
A.qindexHL:hover {
|
||||
text-decoration: none;
|
||||
background-color: #6666cc;
|
||||
color: #ffffff;
|
||||
padding: 2px 6px;
|
||||
}
|
||||
A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff }
|
||||
A.el { text-decoration: none; font-weight: bold }
|
||||
A.elRef { font-weight: bold }
|
||||
A.code { text-decoration: none; font-weight: normal; color: #1A419D}
|
||||
A.codeRef { font-weight: normal; color: #1A419D}
|
||||
A:hover { text-decoration: none; background-color: #f2f2ff }
|
||||
DL.el { margin-left: -1cm }
|
||||
PRE.fragment {
|
||||
border: 1px solid #CCCCCC;
|
||||
background-color: #f5f5f5;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
margin-left: 2px;
|
||||
margin-right: 8px;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
DIV.fragment {
|
||||
border: 1px solid #CCCCCC;
|
||||
background-color: #f5f5f5;
|
||||
padding: 6px;
|
||||
}
|
||||
DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px }
|
||||
TD.md { background-color: #F4F4FB; font-weight: bold; }
|
||||
TD.mdname1 { background-color: #F4F4FB; font-weight: bold; color: #602020; }
|
||||
TD.mdname { background-color: #F4F4FB; font-weight: bold; color: #602020; width: 600px; }
|
||||
DIV.groupHeader {
|
||||
margin-left: 16px;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 6px;
|
||||
font-weight: bold;
|
||||
font-family: Geneva, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller }
|
||||
BODY {
|
||||
background: white;
|
||||
color: black;
|
||||
margin-right: 20px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
TD.indexkey {
|
||||
background-color: #eeeeff;
|
||||
font-weight: bold;
|
||||
padding-right : 10px;
|
||||
padding-top : 2px;
|
||||
padding-left : 10px;
|
||||
padding-bottom : 2px;
|
||||
margin-left : 0px;
|
||||
margin-right : 0px;
|
||||
margin-top : 2px;
|
||||
margin-bottom : 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
TD.indexvalue {
|
||||
background-color: #eeeeff;
|
||||
font-style: italic;
|
||||
padding-right : 10px;
|
||||
padding-top : 2px;
|
||||
padding-left : 10px;
|
||||
padding-bottom : 2px;
|
||||
margin-left : 0px;
|
||||
margin-right : 0px;
|
||||
margin-top : 2px;
|
||||
margin-bottom : 2px;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
TR.memlist {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
P.formulaDsp { text-align: center; }
|
||||
IMG.formulaDsp { }
|
||||
IMG.formulaInl { vertical-align: middle; }
|
||||
SPAN.keyword { color: #008000 }
|
||||
SPAN.keywordtype { color: #604020 }
|
||||
SPAN.keywordflow { color: #e08000 }
|
||||
SPAN.comment { color: #800000 }
|
||||
SPAN.preprocessor { color: #806020 }
|
||||
SPAN.stringliteral { color: #002080 }
|
||||
SPAN.charliteral { color: #008080 }
|
||||
.mdTable {
|
||||
border: 1px solid #868686;
|
||||
background-color: #F4F4FB;
|
||||
}
|
||||
.mdRow {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
.mdescLeft {
|
||||
font-size: smaller;
|
||||
font-style: italic;
|
||||
background-color: #FAFAFA;
|
||||
padding-left: 8px;
|
||||
border-top: 1px none #E0E0E0;
|
||||
border-right: 1px none #E0E0E0;
|
||||
border-bottom: 1px none #E0E0E0;
|
||||
border-left: 1px none #E0E0E0;
|
||||
margin: 0px;
|
||||
}
|
||||
.mdescRight {
|
||||
font-size: smaller;
|
||||
font-style: italic;
|
||||
background-color: #FAFAFA;
|
||||
padding-left: 4px;
|
||||
border-top: 1px none #E0E0E0;
|
||||
border-right: 1px none #E0E0E0;
|
||||
border-bottom: 1px none #E0E0E0;
|
||||
border-left: 1px none #E0E0E0;
|
||||
margin: 0px;
|
||||
padding-bottom: 0px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
.memItemLeft {
|
||||
padding: 1px 0px 0px 8px;
|
||||
margin: 4px;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-style: solid;
|
||||
border-top-color: #E0E0E0;
|
||||
border-right-color: #E0E0E0;
|
||||
border-bottom-color: #E0E0E0;
|
||||
border-left-color: #E0E0E0;
|
||||
border-right-style: none;
|
||||
border-bottom-style: none;
|
||||
border-left-style: none;
|
||||
background-color: #FAFAFA;
|
||||
font-family: Geneva, Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
.memItemRight {
|
||||
padding: 1px 0px 0px 8px;
|
||||
margin: 4px;
|
||||
border-top-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-width: 1px;
|
||||
border-top-style: solid;
|
||||
border-top-color: #E0E0E0;
|
||||
border-right-color: #E0E0E0;
|
||||
border-bottom-color: #E0E0E0;
|
||||
border-left-color: #E0E0E0;
|
||||
border-right-style: none;
|
||||
border-bottom-style: none;
|
||||
border-left-style: none;
|
||||
background-color: #FAFAFA;
|
||||
font-family: Geneva, Arial, Helvetica, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
.search { color: #003399;
|
||||
font-weight: bold;
|
||||
}
|
||||
FORM.search {
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
INPUT.search { font-size: 75%;
|
||||
color: #000080;
|
||||
font-weight: normal;
|
||||
background-color: #eeeeff;
|
||||
}
|
||||
TD.tiny { font-size: 75%;
|
||||
}
|
||||
a {
|
||||
color: #252E78;
|
||||
}
|
||||
a:visited {
|
||||
color: #3D2185;
|
||||
}
|
BIN
doc/salome/gui/GEOM/geompy_doc/doxygen.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
doc/salome/gui/GEOM/geompy_doc/geompy_8py__incl.jpg
Normal file
After Width: | Height: | Size: 4.5 KiB |
1
doc/salome/gui/GEOM/geompy_doc/geompy_8py__incl.map
Normal file
@ -0,0 +1 @@
|
||||
base referer
|
1
doc/salome/gui/GEOM/geompy_doc/geompy_8py__incl.md5
Normal file
@ -0,0 +1 @@
|
||||
0848e1ec9d428b6f7446355ed9f585a7
|
@ -0,0 +1,70 @@
|
||||
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
|
||||
<title>Main Page</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<center><table WIDTH="96%" >
|
||||
|
||||
</table></center>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- Generated by Doxygen 1.3.7 -->
|
||||
<h1>Package GEOM_TestMeasures</h1>Module "GEOM_TestMeasures".
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespaceGEOM__TestMeasures.html#a0">TestMeasureOperations</a> (geompy, math)</td></tr>
|
||||
|
||||
</table>
|
||||
<hr><h2>Function Documentation</h2>
|
||||
<a class="anchor" name="a0" doxytag="GEOM_TestMeasures::TestMeasureOperations" ></a><p>
|
||||
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<td class="mdRow">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> TestMeasureOperations </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">geompy </td>
|
||||
<td class="mdname" nowrap>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="md" nowrap align="right"></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>math </td>
|
||||
<td class="mdname" nowrap></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="md">) </td>
|
||||
<td class="md" colspan="2"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr size="1"><address style="align: right;"><small>Generated on Tue Oct 18 00:47:37 2005 for SALOME - GEOM - v.2.1.0 by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
||||
</body>
|
||||
</html>
|
8409
doc/salome/gui/GEOM/geompy_doc/namespacegeompy.html
Normal file
158
doc/salome/gui/GEOM/glue_faces.htm
Executable file
@ -0,0 +1,158 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Glue Faces</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:25px; height:24px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; text-indent:-68px; margin-left:72px; font-weight:normal; }
|
||||
p.whs4 { font-size:12pt; text-indent:-68px; margin-left:72px; }
|
||||
p.whs5 { font-size:12pt; text-indent:-68px; margin-left:112px; }
|
||||
img_whs6 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
||||
p.whs7 { font-size:12pt; margin-left:112px; text-indent:-112px; }
|
||||
p.whs8 { font-size:12pt; text-indent:-112px; margin-left:152px; }
|
||||
img_whs9 { border:none; float:none; width:292px; height:239px; border-style:none; }
|
||||
img_whs10 { border:none; float:none; width:275px; height:239px; border-style:none; }
|
||||
p.whs11 { font-size:12pt; text-indent:-40px; margin-left:80px; }
|
||||
p.whs12 { font-weight:bold; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs3 {text-indent:1pt; }";
|
||||
strNSS += "p.whs4 {text-indent:1pt; }";
|
||||
strNSS += "p.whs5 {text-indent:1pt; }";
|
||||
strNSS += "p.whs7 {text-indent:1pt; }";
|
||||
strNSS += "p.whs8 {text-indent:1pt; }";
|
||||
strNSS += "p.whs11 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nGlue Faces");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image61.gif" width="25px" height="24px" border="0" class="img_whs1"> </font></span>Glue Faces</h1>
|
||||
|
||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b>o
|
||||
Glue Faces in the Main Menu select Repair - > Glue Faces.</font></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: normal;">This operation
|
||||
g</b>lues faces that are coincident with respect to the given tolerance
|
||||
value.</p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b>
|
||||
GEOM_Object.</font></span></p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">TUI Command
|
||||
: </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape,
|
||||
theTolerance)</I></span>, where theShape is a compound of shapesto be glued,
|
||||
theTolerance is a maximum distance between two faces, which can be considered
|
||||
as coincident.</p>
|
||||
|
||||
<p class="whs4"><b style="font-weight: bold;">Arguments:
|
||||
<span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound
|
||||
+ Tolerance value</span></i></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs5"><img src="pics/repair7.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs6"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs7"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs8"><img src="pics/glue_faces1.png" x-maintain-ratio="TRUE" width="292px" height="239px" border="0" class="img_whs9"> <img src="pics/glue_faces2.png" x-maintain-ratio="TRUE" width="275px" height="239px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs12"><span style="font-weight: normal;">Our</span>
|
||||
TUI Scripts <span style="font-weight: normal;">provide you with useful
|
||||
examples of the use of</span> <a href="repairing_operations.htm#bookmark6">Repairing
|
||||
Operations</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
326
doc/salome/gui/GEOM/groups.htm
Executable file
@ -0,0 +1,326 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Groups</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nWorking with Groups");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Groups</h1>
|
||||
|
||||
<h3>Creation of a group</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create two vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(0.
|
||||
, 0. ,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">p200 = geompy.MakeVertex(200.,
|
||||
200., 200.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create a box on two points</p>
|
||||
|
||||
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
|
||||
p200)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create group on box's faces</p>
|
||||
|
||||
<p class="whs1">group = geompy.CreateGroup(Box,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects to the group</p>
|
||||
|
||||
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p class="whs1">for i in [0, 3, 5]
|
||||
:</p>
|
||||
|
||||
<p class="whs1"> FaceID
|
||||
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
|
||||
|
||||
<p class="whs1"> geompy.AddObject(group,
|
||||
FaceID)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add to the group all the given shapes from the list</p>
|
||||
|
||||
<p># (no errors, if some shapes are already included)</p>
|
||||
|
||||
<p class="whs1">geompy.UnionList(group,
|
||||
[SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># remove object from the group</p>
|
||||
|
||||
<p class="whs1">geompy.RemoveObject(group,
|
||||
FaceID)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># remove from the group all the given shapes</p>
|
||||
|
||||
<p># (no errors, if some shapes are not included)</p>
|
||||
|
||||
<p class="whs1">geompy.DifferenceList(group,
|
||||
[SubFaceList[2], SubFaceList[3], SubFaceList[4]])</p>
|
||||
|
||||
<p class="whs1">id_group1 = geompy.addToStudy(group,
|
||||
"Group1")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display group's contents</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
|
||||
</p>
|
||||
|
||||
<h3> </h3>
|
||||
|
||||
<h3> </h3>
|
||||
|
||||
<h3>Adding an object in a group.</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create two vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(0.
|
||||
, 0. ,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">p200 = geompy.MakeVertex(200.,
|
||||
200., 200.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create a box on two points</p>
|
||||
|
||||
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
|
||||
p200)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create group on box's faces</p>
|
||||
|
||||
<p class="whs1">group = geompy.CreateGroup(Box,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects to the group</p>
|
||||
|
||||
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p class="whs1">for i in [0, 3, 5]
|
||||
:</p>
|
||||
|
||||
<p class="whs1"> FaceID
|
||||
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
|
||||
|
||||
<p class="whs1"> geompy.AddObject(group,
|
||||
FaceID)</p>
|
||||
|
||||
<p class="whs1">id_group1 = geompy.addToStudy(group,
|
||||
"Group1")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display group's contents</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<h3>Removing an object from a group</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create two vertices</p>
|
||||
|
||||
<p class="whs1">p0 = geompy.MakeVertex(0.
|
||||
, 0. ,
|
||||
0. )</p>
|
||||
|
||||
<p class="whs1">p200 = geompy.MakeVertex(200.,
|
||||
200., 200.)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create a box on two points</p>
|
||||
|
||||
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
|
||||
p200)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create group on box's faces</p>
|
||||
|
||||
<p class="whs1">group = geompy.CreateGroup(Box,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add objects to the group</p>
|
||||
|
||||
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
|
||||
geompy.ShapeType["FACE"])</p>
|
||||
|
||||
<p class="whs1">for i in [0, 3, 5]
|
||||
:</p>
|
||||
|
||||
<p class="whs1"> FaceID
|
||||
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
|
||||
|
||||
<p class="whs1"> geompy.AddObject(group,
|
||||
FaceID)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># add to the group all the given shapes from the list</p>
|
||||
|
||||
<p># (no errors, if some shapes are already included)</p>
|
||||
|
||||
<p class="whs1">geompy.UnionList(group,
|
||||
[SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># remove object from the group</p>
|
||||
|
||||
<p class="whs1">geompy.RemoveObject(group,
|
||||
FaceID)</p>
|
||||
|
||||
<p class="whs1">id_group1 = geompy.addToStudy(group,
|
||||
"Group1")</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># display group's contents</p>
|
||||
|
||||
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
BIN
doc/salome/gui/GEOM/image10.gif
Executable file
After Width: | Height: | Size: 981 B |
BIN
doc/salome/gui/GEOM/image27.gif
Executable file
After Width: | Height: | Size: 1022 B |
BIN
doc/salome/gui/GEOM/image3.gif
Executable file
After Width: | Height: | Size: 964 B |
154
doc/salome/gui/GEOM/line.htm
Executable file
@ -0,0 +1,154 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Line</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
||||
p.whs5 { color:#808080; font-size:12pt; }
|
||||
p.whs6 { font-size:12pt; color:#000000; }
|
||||
p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }
|
||||
img_whs8 { border:none; width:357px; height:322px; float:none; border-style:none; }
|
||||
p.whs9 { font-size:12pt; font-weight:bold; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nLine");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Line</h1>
|
||||
|
||||
<p>To create a <span style="font-weight: bold;"><B>Line</B></span> in the <span
|
||||
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
|
||||
Entity - > Basic - > Line</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To create a <span style="font-weight: bold;"><B>Line</B></span>
|
||||
you should define <span style="font-weight: bold;"><B>Point1</B></span> and <span
|
||||
style="font-weight: bold;"><B>Point2</B></span>, which are the points through
|
||||
which the
|
||||
<span style="font-weight: bold;"><B>Line</B></span> passes.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">of the operation will be a</span></b>
|
||||
GEOM_Object (edge).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
|
||||
<span style="font-style: italic;"><I>geompy.MakeLine(Point1, Point2)</I></span>
|
||||
</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 2 vertices.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/line.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/lines.png" x-maintain-ratio="TRUE" width="357px" height="322px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs9">NB! <span style="font-weight: normal;">The
|
||||
is another way to create a line, which is currently accessible only via</span>
|
||||
TUI <span style="font-weight: normal;">commands.</span></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs9"><span style="font-weight: normal;">You
|
||||
can define a line passing
|
||||
through the given</span> Point <span style="font-weight: normal;">and
|
||||
parallel to the given</span> Vector. </p>
|
||||
|
||||
<p class="whs9"><b style="font-weight: bold;">TUI
|
||||
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeLine(Point,
|
||||
Vector)</I></span> </p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
||||
provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark1">Basic
|
||||
Geometric Objects</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
207
doc/salome/gui/GEOM/local_coordinate_system.htm
Executable file
@ -0,0 +1,207 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Local Coordinate System</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:16px; height:16px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
table.whs3 { x-cell-content-align:top; width:63.512%; border-spacing:0px; }
|
||||
col.whs4 { width:49.962%; }
|
||||
col.whs5 { width:45.348%; }
|
||||
col.whs6 { width:4.69%; }
|
||||
tr.whs7 { x-cell-content-align:top; }
|
||||
td.whs8 { width:49.962%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
p.whs9 { font-weight:bold; font-size:14pt; }
|
||||
img_whs10 { border:none; width:312px; height:391px; float:none; border-style:none; }
|
||||
td.whs11 { width:45.348%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
img_whs12 { border:none; width:312px; height:289px; float:none; border-style:none; }
|
||||
td.whs13 { width:4.69%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
img_whs14 { border:none; width:312px; height:359px; float:none; border-style:none; }
|
||||
p.whs15 { margin-left:40px; font-weight:bold; text-indent:-40px; font-size:14pt; }
|
||||
p.whs16 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }
|
||||
p.whs17 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }
|
||||
p.whs18 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }
|
||||
img_whs19 { border:none; width:200px; height:219px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs15 {text-indent:1pt; }";
|
||||
strNSS += "p.whs16 {text-indent:1pt; }";
|
||||
strNSS += "p.whs17 {text-indent:1pt; }";
|
||||
strNSS += "p.whs18 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nLocal Coordinate System");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image35.gif" width="16px" height="16px" border="0" class="img_whs1"></font></span>Local Coordinate
|
||||
System</h1>
|
||||
|
||||
<p>To create a <span style="font-weight: bold;"><B>Local Coordinate System</B></span>
|
||||
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
||||
style="font-weight: bold;"><B>New Entity - > Basic - > Local Coordinate
|
||||
System</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">You can enter the values of X, Y, and Z coordinates
|
||||
of origin in the corresponding fields of the dialog box, or select a point
|
||||
in the object browser or 3D viewer, in this case the coordinates of origin
|
||||
are automatically filled in with the coordinates of the selected point.
|
||||
</p>
|
||||
|
||||
<p class="whs2">The user then specifies components of X and
|
||||
Y axes direction.</p>
|
||||
|
||||
<p class="whs2">Preview of the new LCS (small trihedron located
|
||||
and oriented according to parameters of LCS) is displayed in the 3D viewer
|
||||
and updated as soon as the user modifies some parameter. </p>
|
||||
|
||||
<p class="whs2">Then the user presses «OK» or «Apply» button
|
||||
to create an LCS at the location with the specified coordinates. The new
|
||||
object is shown in the Object Browser and in 3D viewer.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><span style="font-weight: bold;"><B>TUI command:</B></span>
|
||||
<span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY,
|
||||
XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin
|
||||
of LCS, XDX, XDY, XDZ is a vector of OX direction
|
||||
of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li class=kadov-p><p class="whs2"><b style="font-weight: bold;">1st
|
||||
Constructor :</b> Name + Coordinates of origin, X axis direction, Y axis
|
||||
direction</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs2"><b style="font-weight: bold;">2nd
|
||||
Constructor :</b> Name + reference object.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs2"><b style="font-weight: bold;">3rd
|
||||
Constructor :</b> Name + 1 point of origin + X axis direction, Y axis
|
||||
direction.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="63.512%" class="whs3">
|
||||
<col class="whs4">
|
||||
<col class="whs5">
|
||||
<col class="whs6">
|
||||
|
||||
<tr valign="top" class="whs7">
|
||||
<td width="49.962%" class="whs8">
|
||||
<p class="whs9"><img src="pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs10"></td>
|
||||
<td width="45.348%" class="whs11">
|
||||
<p class="whs9"><img src="pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs12"></td>
|
||||
<td width="4.69%" class="whs13">
|
||||
<p class="whs9"><img src="pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs14"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs15"> </p>
|
||||
|
||||
<p class="whs16"><span style="font-weight: bold;
|
||||
margin-left: 80px;
|
||||
text-indent: -80px;
|
||||
font-size: 12pt;"><font size=3 style="font-size:12pt;"><B>Example:</B></font></span></p>
|
||||
|
||||
<p class="whs17"> </p>
|
||||
|
||||
<p class="whs18"><img src="image145.jpg" width="200px" height="219px" border="0" class="img_whs19"></p>
|
||||
|
||||
<p class="whs18"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
459
doc/salome/gui/GEOM/measurement_tools.htm
Executable file
@ -0,0 +1,459 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Measurement Tools</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-family:'Lucida Console' , monospace; }
|
||||
p.whs2 { font-family:'Times New Roman' , serif; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTUI Scripts\nMeasurement Tools");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Measurement Tools</h1>
|
||||
|
||||
<h3>Point Coordinates</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create a point</p>
|
||||
|
||||
<p class="whs1">point = geompy.MakeVertex(15,
|
||||
23, 80)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># get point's coordinates and check its values</p>
|
||||
|
||||
<p class="whs1">coords = geompy.PointCoordinates(point)</p>
|
||||
|
||||
<p class="whs1">if coords[0] != 15
|
||||
or coords[1] != 23 or coords[2] != 80 :</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"Coordinates of point must be (15, 23, 80), but returned (",
|
||||
coords[0], ", ", coords[1], ", ", coords[2], ")"</p>
|
||||
|
||||
<p class="whs1">else :</p>
|
||||
|
||||
<p><span style="font-family: 'Lucida Console', monospace;"> print
|
||||
"All values are OK."</span> </p>
|
||||
|
||||
<h3>Basic Properties</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import math</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p># create a box</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
|
||||
|
||||
<p class="whs1">props = geompy.BasicProperties(box)</p>
|
||||
|
||||
<p class="whs1">print "\nBox
|
||||
100x30x100 Basic Properties:"</p>
|
||||
|
||||
<p class="whs1">print " Wires
|
||||
length: ", props[0]</p>
|
||||
|
||||
<p class="whs1">print " Surface
|
||||
area: ", props[1]</p>
|
||||
|
||||
<p class="whs1">print " Volume
|
||||
:
|
||||
", props[2]</p>
|
||||
|
||||
<p class="whs1">length = math.sqrt((props[0]
|
||||
- 1840)*(props[0] - 1840))</p>
|
||||
|
||||
<p class="whs1">area = math.sqrt((props[1]
|
||||
- 32000)*(props[1] - 32000))</p>
|
||||
|
||||
<p class="whs1">volume = math.sqrt((props[2]
|
||||
- 300000)*(props[2] - 300000))</p>
|
||||
|
||||
<p class="whs1">if length > 1e-7
|
||||
or area > 1e-7 or volume > 1e-7:</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"While must be:"</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
" Wires length: ", 1840</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
" Surface area: ", 32000</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
" Volume :
|
||||
", 300000.</p>
|
||||
|
||||
<h3>Center of masses</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import math</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create a box</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
|
||||
|
||||
<p class="whs1">cm = geompy.MakeCDG(box)</p>
|
||||
|
||||
<p class="whs1">if cm is None:</p>
|
||||
|
||||
<p class="whs1"> raise
|
||||
RuntimeError, "MakeCDG(box) failed"</p>
|
||||
|
||||
<p class="whs1">else:</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"\nCentre of gravity of box has been successfully obtained:"</p>
|
||||
|
||||
<p class="whs1"> coords
|
||||
= geompy.PointCoordinates(cm)</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"(", coords[0], ", ", coords[1], ", ", coords[2],
|
||||
")"</p>
|
||||
|
||||
<p class="whs1"> dx
|
||||
= math.sqrt((coords[0] - 50)*(coords[0] - 50))</p>
|
||||
|
||||
<p class="whs1"> dy
|
||||
= math.sqrt((coords[1] - 15)*(coords[1] - 15))</p>
|
||||
|
||||
<p class="whs1"> dz
|
||||
= math.sqrt((coords[2] - 50)*(coords[2] - 50))</p>
|
||||
|
||||
<p class="whs1"> if
|
||||
dx > 1e-7 or dy > 1e-7 or dz > 1e-7:</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"But must be (50, 15, 50)" </p>
|
||||
|
||||
<h3>Inertia</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1">import math</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create a box</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
|
||||
|
||||
<p class="whs1">In = geompy.Inertia(box)</p>
|
||||
|
||||
<p class="whs1">print "\nInertia
|
||||
matrix of box 100x30x100:"</p>
|
||||
|
||||
<p class="whs1">print " (",
|
||||
In[0], ", ", In[1], ", ", In[2], ")"</p>
|
||||
|
||||
<p class="whs1">print " (",
|
||||
In[3], ", ", In[4], ", ", In[5], ")"</p>
|
||||
|
||||
<p class="whs1">print " (",
|
||||
In[6], ", ", In[7], ", ", In[8], ")"</p>
|
||||
|
||||
<p class="whs1">print "Main moments
|
||||
of inertia of box 100x30x100:"</p>
|
||||
|
||||
<p class="whs1">print " Ix =
|
||||
", In[9], ", Iy = ", In[10], ", Iz = ", In[11]
|
||||
</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3>Bounding Box</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create a box</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
|
||||
|
||||
<p class="whs1">bb = geompy.BoundingBox(box)</p>
|
||||
|
||||
<p class="whs1">print "\nBounding
|
||||
Box of box 100x30x100:"</p>
|
||||
|
||||
<p class="whs1">print " Xmin
|
||||
= ", bb[0], ", Xmax = ", bb[1]</p>
|
||||
|
||||
<p class="whs1">print " Ymin
|
||||
= ", bb[2], ", Ymax = ", bb[3]</p>
|
||||
|
||||
<p class="whs1">print " Zmin
|
||||
= ", bb[4], ", Zmax = ", bb[5] </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3>Minimal Distance </h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create boxes</p>
|
||||
|
||||
<p class="whs1">box1 = geompy.MakeBoxDXDYDZ(100,30,100)</p>
|
||||
|
||||
<p class="whs1">box2 = geompy.MakeBox(105,0,0,200,30,100)</p>
|
||||
|
||||
<p class="whs1">min_dist = geompy.MinDistance(box1,box2)</p>
|
||||
|
||||
<p class="whs1">print "\nMinimal
|
||||
distance between box1 and box2 = ", min_dist </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">Point Coordinates</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1"># create a point</p>
|
||||
|
||||
<p class="whs1">point = geompy.MakeVertex(15,
|
||||
23, 80)</p>
|
||||
|
||||
<p class="whs1"># get point's coordinates
|
||||
and check its values</p>
|
||||
|
||||
<p class="whs1">coords = geompy.PointCoordinates(point)</p>
|
||||
|
||||
<p class="whs1">if coords[0] != 15
|
||||
or coords[1] != 23 or coords[2] != 80 :</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"Coordinates of point must be (15, 23, 80), but returned (",
|
||||
coords[0], ", ", coords[1], ", ", coords[2], ")"</p>
|
||||
|
||||
<p class="whs1">else :</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"All values are OK." </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3>Tolerance</h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create a box</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
|
||||
|
||||
<p class="whs1">Toler = geompy.Tolerance(box)</p>
|
||||
|
||||
<p class="whs1">print "\nBox
|
||||
100x30x100 tolerance:"</p>
|
||||
|
||||
<p class="whs1">print " Face
|
||||
min. tolerance: ", Toler[0]</p>
|
||||
|
||||
<p class="whs1">print " Face
|
||||
max. tolerance: ", Toler[1]</p>
|
||||
|
||||
<p class="whs1">print " Edge
|
||||
min. tolerance: ", Toler[2]</p>
|
||||
|
||||
<p class="whs1">print " Edge
|
||||
max. tolerance: ", Toler[3]</p>
|
||||
|
||||
<p class="whs1">print " Vertex
|
||||
min. tolerance: ", Toler[4]</p>
|
||||
|
||||
<p class="whs1">print " Vertex
|
||||
max. tolerance: ", Toler[5] </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3>What Is</h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create a box</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
|
||||
|
||||
<p class="whs1">Descr = geompy.WhatIs(box)</p>
|
||||
|
||||
<p class="whs1">print "\nBox
|
||||
100x30x100 description:"</p>
|
||||
|
||||
<p class="whs1">print Descr </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3>Check Shape</h3>
|
||||
|
||||
<p class="whs1">import geompy</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create a box</p>
|
||||
|
||||
<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
|
||||
|
||||
<p class="whs1">IsValid = geompy.CheckShape(box)</p>
|
||||
|
||||
<p class="whs1">if IsValid == 0:</p>
|
||||
|
||||
<p class="whs1"> raise
|
||||
RuntimeError, "Invalid box created"</p>
|
||||
|
||||
<p class="whs1">else:</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"\nBox is valid" </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<h3>Check Compound of Blocks</h3>
|
||||
|
||||
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
|
||||
geompy</span></p>
|
||||
|
||||
<p class="whs1">import salome</p>
|
||||
|
||||
<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># create boxes</p>
|
||||
|
||||
<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>
|
||||
|
||||
<p class="whs1">box2 = geompy.MakeBox(100,0,0,250,50,100)</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># make compound</p>
|
||||
|
||||
<p class="whs1">compound = geompy.MakeCompound([box1,
|
||||
box2])</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs2"># glue compound's faces</p>
|
||||
|
||||
<p class="whs1">tolerance = 1e-5</p>
|
||||
|
||||
<p class="whs1">glue = geompy.MakeGlueFaces(compound,
|
||||
tolerance)</p>
|
||||
|
||||
<p class="whs1">IsValid = geompy.CheckCompoundOfBlocks(glue)</p>
|
||||
|
||||
<p class="whs1">if IsValid == 0:</p>
|
||||
|
||||
<p class="whs1"> raise
|
||||
RuntimeError, "Invalid compound created"</p>
|
||||
|
||||
<p class="whs1">else:</p>
|
||||
|
||||
<p class="whs1"> print
|
||||
"\nCompound is valid" </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
178
doc/salome/gui/GEOM/mirror_image.htm
Executable file
@ -0,0 +1,178 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Mirror Image</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-size:12pt; }
|
||||
img_whs2 { border:none; width:312px; height:350px; float:none; border-style:none; }
|
||||
img_whs3 { border:none; float:none; width:250px; height:350px; border-style:none; }
|
||||
img_whs4 { border:none; float:none; width:248px; height:349px; border-style:none; }
|
||||
img_whs5 { border:none; width:227px; height:176px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; float:none; width:199px; height:177px; border-style:none; }
|
||||
img_whs7 { border:none; width:174px; height:233px; float:none; border-style:none; }
|
||||
img_whs8 { border:none; float:none; width:174px; height:233px; border-style:none; }
|
||||
p.whs9 { font-size:12pt; margin-left:40px; }
|
||||
p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMirror Image");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Mirror Image</h1>
|
||||
|
||||
<p class="whs1"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Mirror Image</B></span> in the Main Menu
|
||||
select <span style="font-weight: bold;"><B>Operations - > Transformation
|
||||
- > Mirror Image</B></span></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">This operation creates a symmetrical copy of
|
||||
an <span style="font-weight: bold;"><B>Object, </B></span>which can be mirrored
|
||||
in three different ways.<span style="font-weight: bold;"><B> Create a copy
|
||||
</B></span>checkbox allows to keep the initial object, otherwise it will be
|
||||
removed.</p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">Firstly an <span style="font-weight: bold;"><B>Object</B></span>
|
||||
can be mirrored through a <span style="font-weight: bold;"><B>Plane</B></span>
|
||||
of symmetry </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape,
|
||||
Plane)</I></span>, </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
|
||||
<b><span style="font-weight: normal;">Name + </span></b>1 shape + 1 plane</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><img src="pics/transformation9.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs2"> <img src="pics/mirror_planesn1.png" x-maintain-ratio="TRUE" width="250px" height="350px" border="0" class="img_whs3"> <img src="pics/mirror_planesn2.png" x-maintain-ratio="TRUE" width="248px" height="349px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Secondly an
|
||||
Object can be mirrored through an Axis of symmetry </font></span></p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:
|
||||
</b><span style="font-style: italic;"><I>geompy.MakeMirrorByAxis(Object,
|
||||
Axis)</I></span> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments: <span
|
||||
style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><img src="pics/transformation8.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs2"> <img src="pics/mirror_axissn1.png" x-maintain-ratio="TRUE" width="227px" height="176px" border="0" class="img_whs5"> <img src="pics/mirror_axissn2.png" x-maintain-ratio="TRUE" width="199px" height="177px" border="0" class="img_whs6"></p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1">Finally an <span style="font-weight: bold;"><B>Object</B></span>
|
||||
can be mirrored through a <span style="font-weight: bold;"><B>Point</B></span>
|
||||
of symmetry</p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">TUI Command:
|
||||
</b><span style="font-style: italic;"><I>geompy.MakeMirrorByPoint(Object,
|
||||
Point)</I></span> </p>
|
||||
|
||||
<p class="whs1"><b style="font-weight: bold;">Arguments: <span
|
||||
style="font-weight: normal;">Name + </span></b>1 shape + 1 vertex.</p>
|
||||
|
||||
<p class="whs1"> </p>
|
||||
|
||||
<p class="whs1"><img src="pics/transformation7.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs2"> <img src="pics/mirror_pointsn1.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs7"> <img src="pics/mirror_pointsn2.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs10"> <span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
||||
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
||||
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark5">Transformation
|
||||
Operations</a>. </font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
152
doc/salome/gui/GEOM/modify_the_location.htm
Executable file
@ -0,0 +1,152 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Modify the Location</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:25px; height:22px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||
img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }
|
||||
img_whs5 { border:none; width:312px; height:385px; float:none; border-style:none; }
|
||||
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }
|
||||
p.whs7 { font-size:12pt; text-indent:-40px; margin-left:80px; }
|
||||
img_whs8 { border:none; width:200px; height:209px; border-style:none; }
|
||||
p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs6 {text-indent:1pt; }";
|
||||
strNSS += "p.whs7 {text-indent:1pt; }";
|
||||
strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nModify the Location");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="image59.gif" width="25px" height="22px" border="0" class="img_whs1"> </font></span>Modify the Location</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o<span
|
||||
style="font-weight: bold;"><B> Modify the Location</B></span> in the Main Menu
|
||||
select <span style="font-weight: bold;"><B>Operations - > Transformation
|
||||
- > Modify the Location</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">This operation modifies the <span style="font-weight: bold;"><B>Location</B></span>
|
||||
of an <span style="font-weight: bold;"><B>Object.</B></span> </p>
|
||||
|
||||
<p class="whs2">The <b>Result <span style="font-weight: bold;"><B>will
|
||||
be a</B></span> </b> GEOM_Object.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where theObject
|
||||
is a shape, location of which is modified, theStartLCS is a location to
|
||||
move the shape from, theEndLCS is a location to move the shape to.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||||
Name + 1 GEOM_Object + [Starting Coordinate System] + End Coordinate System.</p>
|
||||
|
||||
<p class="whs2"><span style="font-weight: bold;"><B>Create a copy
|
||||
</B></span>checkbox allows to keep the initial object, otherwise it will be
|
||||
removed.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/transformation5.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"> <img src="pics/transformation6.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs7"><img src="image197.jpg" width="200px" height="209px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs9"> <span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
||||
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
||||
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark2">Transformation
|
||||
Operations</a>. </font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
182
doc/salome/gui/GEOM/multi_rotation.htm
Executable file
@ -0,0 +1,182 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Multi Rotation</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; font-weight:bold; }
|
||||
p.whs4 { font-size:12pt; font-weight:normal; }
|
||||
img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; float:none; width:315px; height:259px; border-style:none; }
|
||||
img_whs7 { border:none; float:none; width:301px; height:258px; border-style:none; }
|
||||
img_whs8 { border:none; width:312px; height:450px; float:none; border-style:none; }
|
||||
img_whs9 { border:none; float:none; width:341px; height:446px; border-style:none; }
|
||||
img_whs10 { border:none; float:none; width:369px; height:447px; border-style:none; }
|
||||
p.whs11 { font-size:12pt; margin-left:40px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMulti Rotation");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Multi
|
||||
Rotation</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Multi Rotation</B></span> in the Main Menu
|
||||
select <span style="font-weight: bold;"><B>Operations - > Transformation
|
||||
- > Multi Rotation</B></span> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">This operation creates several geometrical
|
||||
objects rotated in <span style="font-weight: bold;"><B>one </B></span>or <span
|
||||
style="font-weight: bold;"><B>two </B></span>dimentions basing on the initial
|
||||
geometrical object. </p>
|
||||
|
||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
||||
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
|
||||
be one or several</span></b> GEOM_Objects (compound).</font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple
|
||||
Multi Rotation</B></span> (in one dimension) you need to define a <span style="font-weight: bold;"><B>Shape</B></span>
|
||||
to be rotated, an <span style="font-weight: bold;"><B>Axis</B></span> of rotation
|
||||
and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
|
||||
must be rotated. <span style="font-weight: bold;"><B>Rotation Angle</B></span>
|
||||
will be 2*PI/NbTimes</p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
||||
Command: </b><span style="font-style: italic; font-weight: normal;"><I>geompy.MakeMultiRotation1D(Shape,
|
||||
Axis, NbTimes)</I></span></p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
||||
</b><span style="font-weight: normal;">Name + 1 shape + 1 vector for direction
|
||||
+ 1 value (repetition).</span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs4">There is a <span style="font-weight: bold;"><B>TUI
|
||||
Command</B></span> <span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape,
|
||||
Dir, Point, NbTimes)</I></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">
|
||||
which works in the same way, but the Axis is defined by
|
||||
direction and point. </font></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/neo-mrot1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> <img src="pics/multi_rotation1d1.png" x-maintain-ratio="TRUE" width="315px" height="259px" border="0" class="img_whs6"> <img src="pics/multi_rotation1d2.png" x-maintain-ratio="TRUE" width="301px" height="258px" border="0" class="img_whs7"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><span style="font-weight: bold;"><B>Double Multi
|
||||
Rotation</B></span> (in two dimensions) rotates the given <span style="font-weight: bold;"><B>Object</B></span>
|
||||
around the given <span style="font-weight: bold;"><B>Axis</B></span> on the given
|
||||
<span style="font-weight: bold;"><B>Angle</B></span> a given <span style="font-weight: bold;"><B>Number
|
||||
of Times</B></span> and multi-translates each rotation result. Translation
|
||||
direction passes through the center of gravity of the rotated shape and
|
||||
its projection on the rotation axis. <span style="font-weight: bold;"><B>Reverse
|
||||
</B></span>checkbox allows to set the direction of rotation.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">T<span style="font-weight: bold;"><B>UI
|
||||
Command: </B></span><span style="font-weight: normal;">g</span></b><span style="font-style: italic;"><I>eompy.MakeMultiRotation2D(Shape,
|
||||
Axis, Angle, NbTimes1, Step, NbTimes2)</I></span></p>
|
||||
|
||||
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
|
||||
style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 vector
|
||||
for direction + 1 angle + 1 value (repetition) + 1 step value + 1 value
|
||||
(repetition);</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">There is a <span style="font-weight: bold;"><B>TUI
|
||||
Command</B></span> <span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape,
|
||||
Dir, Point, Angle, nbtimes1, Step, nbtimes2</I></span><span style="font-style: italic;"><I>)</I></span>
|
||||
which works in the same way, but the Axis is defined by
|
||||
direction and point. </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/neo-mrot2.png" x-maintain-ratio="TRUE" width="312px" height="450px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"> <img src="pics/multi_rotation2d1.png" x-maintain-ratio="TRUE" width="341px" height="446px" border="0" class="img_whs9"> <img src="pics/multi_rotation2d2.png" x-maintain-ratio="TRUE" width="369px" height="447px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p class="whs11">Our <span style="font-weight: bold;"><B>TUI
|
||||
Scripts</B></span> provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark9">Transformation
|
||||
Operations</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
192
doc/salome/gui/GEOM/multi_transformation.htm
Executable file
@ -0,0 +1,192 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Multi Transformation</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:24px; height:22px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; font-weight:bold; }
|
||||
img_whs4 { border:none; width:312px; height:381px; float:none; border-style:none; }
|
||||
img_whs5 { border:none; width:301px; height:306px; float:none; border-style:none; }
|
||||
ol.whs6 { list-style:disc; }
|
||||
ul.whs7 { list-style:circle; }
|
||||
p.whs8 { font-size:12pt; font-weight:normal; }
|
||||
img_whs9 { border:none; width:312px; height:494px; float:none; border-style:none; }
|
||||
img_whs10 { border:none; width:277px; height:304px; float:none; border-style:none; }
|
||||
p.whs11 { font-weight:bold; }
|
||||
p.whs12 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs12 {text-indent:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBlocks Operations\nMulti Transformation");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><img src="image52.gif" width="24px" height="22px" border="0" class="img_whs1"> Block Multi Transformation</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Multi Translation</B></span> operation
|
||||
in the Main Menu select <span style="font-weight: bold;"><B>Operations -
|
||||
> Blocks - > Multi Translation</B></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">This operation makes several translations of
|
||||
a block (solid) in <span style="font-weight: bold;"><B>one</B></span> or <span
|
||||
style="font-weight: bold;"><B>two</B></span> directions depending on the arguments
|
||||
specified by the user.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result<span style="font-weight: normal;"> in both cases will be a</span></b>
|
||||
GEOM_Object.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Simple Multi
|
||||
Transformation (in one direction).</b></p>
|
||||
|
||||
<p class="whs3"><b style="font-weight: bold;">TUI
|
||||
Command:</b><i> </i><span style="font-style: italic; font-weight: normal;"><I>geompy.
|
||||
MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes), </I></span><span
|
||||
style="font-weight: normal;">where</span><span style="font-style: italic; font-weight: normal;"><I>
|
||||
Block </I></span><span style="font-weight: normal;">is a block to be transformed,</span><span
|
||||
style="font-style: italic; font-weight: normal;"><I> DirFaceID1 </I></span><span
|
||||
style="font-weight: normal;">is an ID of the face which defines the first
|
||||
direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I>
|
||||
DirFaceID2 </I></span><span style="font-weight: normal;">is an ID of the face
|
||||
which defines the second direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I>
|
||||
NbTimes </I></span><span style="font-weight: normal;">is a number of transformations.</span></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
|
||||
+ 1 hexahedral solid + 1 or 2 faces + 1 integer (number of blocks).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/mtransf1.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs4"> <img src="pics/multi_transformationsn1d.png" x-maintain-ratio="TRUE" width="301px" height="306px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Double
|
||||
Multi Transformation (in two directions).</b></font></span></p>
|
||||
|
||||
<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
|
||||
Command:</b><i> </i></B></span><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.
|
||||
MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V,
|
||||
DirFaceID2V, NbTimesV)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Block
|
||||
is a block to be transformed, DirFaceID1U and DirFace1V are ID’s of the
|
||||
faces, which define directions of the first transformation, DirFaceID1V
|
||||
and DirFaceID2V are ID’s of the faces which define directions of the second
|
||||
transformation, NbTimesU and NbTimesV are numbers of transformations.</font></span></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments: </b><span
|
||||
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
|
||||
+ 1 hexahedral solid + </font></span></p>
|
||||
|
||||
<ol type="disc" class="whs6">
|
||||
|
||||
<ul type="circle" class="whs7">
|
||||
|
||||
<li class=kadov-p><p class="whs8">2
|
||||
faces and 1 integer, or</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs8">3
|
||||
or 4 faces and 2 integers </p></li>
|
||||
</ul>
|
||||
</ol>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/mtransf2.png" x-maintain-ratio="TRUE" width="312px" height="494px" border="0" class="img_whs9"> <img src="pics/multi_transformationsn2d.png" x-maintain-ratio="TRUE" width="277px" height="304px" border="0" class="img_whs10"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs11"> <span
|
||||
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Our</font></span><span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> TUI Scripts</font></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">
|
||||
provide you with useful examples of the use of</font></span><span style="font-size: 12pt;">
|
||||
<font size=3 style="font-size:12pt;"><a href="blocks_operations.htm#bookmark4">Blocks Operations</a>. </font></span></p>
|
||||
|
||||
<p class="whs11"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs12"> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
168
doc/salome/gui/GEOM/multi_translation.htm
Executable file
@ -0,0 +1,168 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Multi Translation</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
img_whs3 { border:none; width:312px; height:398px; float:none; border-style:none; }
|
||||
img_whs4 { border:none; height:203px; float:none; width:282px; border-style:none; }
|
||||
img_whs5 { border:none; width:291px; height:202px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; width:312px; height:509px; float:none; border-style:none; }
|
||||
img_whs7 { border:none; float:none; width:292px; height:209px; border-style:none; }
|
||||
img_whs8 { border:none; width:288px; height:209px; float:none; border-style:none; }
|
||||
p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMulti Translation");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Multi Translation</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Multi Translation</B></span> in the Main
|
||||
Menu select <span style="font-weight: bold;"><B>Operations - > Transformation
|
||||
- > Multi Translation</B></span> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">This operation</b>
|
||||
makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span>
|
||||
or <span style="font-weight: bold;"><B>two</B></span> directions.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be one or several</span></b>
|
||||
GEOM_Objects (compound).</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple
|
||||
Multi Translation</B></span> (in one direction) you need to indicate a <span
|
||||
style="font-weight: bold;"><B>Shape</B></span> to be translated, a <span style="font-weight: bold;"><B>Vector</B></span>
|
||||
of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation
|
||||
and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
|
||||
must be moved.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:
|
||||
</b><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape,
|
||||
Dir, Step, NbTimes)</I></span></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">A<span style="font-weight: bold;"><B>rguments:
|
||||
</B></span></b>Name + 1 shape + 1 vector (for direction) + 1 step value +
|
||||
1 value (repetition).</p>
|
||||
|
||||
<p class="whs2"> <img src="pics/mtrans1.png" x-maintain-ratio="TRUE" width="312px" height="398px" border="0" class="img_whs3"> <img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" height="203px" width="282px" border="0" class="img_whs4"> <img src="pics/multi_translation1dsn.png" x-maintain-ratio="TRUE" width="291px" height="202px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">To produce a <span style="font-weight: bold;"><B>Double
|
||||
Multi Translation</B></span> (in two directions) you need to indicate a <span
|
||||
style="font-weight: bold;"><B>Shape</B></span> to be translated and a <span style="font-weight: bold;"><B>Vector</B></span>
|
||||
of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation
|
||||
and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
|
||||
must be moved along each axis.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:
|
||||
<span style="font-style: italic; font-weight: normal;"><I>g</I></span></b><span
|
||||
style="font-style: italic;"><I>eompy.MakeMultiTranslation2D(Shape, Dir1,
|
||||
Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where Shape is a shape
|
||||
to be translated, Dir1 is the first direction of translation, Step1 of
|
||||
the first translation, NbTimes1 is a number of translations to be done
|
||||
along, Dir2 is the second direction of translation, Step2 of the second
|
||||
translation, NbTimes2 is a number of translations to be done along Dir2.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">A<span style="font-weight: bold;"><B>rguments:
|
||||
</B></span></b>Name + 1 shape + 2 vectors defining the direction + 2 step
|
||||
values + 2 values (repetitions).</p>
|
||||
|
||||
<p class="whs2"><img src="pics/mtrans2.png" x-maintain-ratio="TRUE" width="312px" height="509px" border="0" class="img_whs6"> <img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" width="292px" height="209px" border="0" class="img_whs7"> <img src="pics/multi_translation2dsn.png" x-maintain-ratio="TRUE" width="288px" height="209px" border="0" class="img_whs8"></p>
|
||||
|
||||
<p class="whs9"> </p>
|
||||
|
||||
<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
||||
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
||||
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark8">Transformation
|
||||
Operations</a>. </font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
322
doc/salome/gui/GEOM/newentity_blocks.htm
Executable file
@ -0,0 +1,322 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Blocks</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
p.whs1 { font-size:14pt; font-weight:bold; }
|
||||
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
|
||||
ul.whs3 { list-style:disc; }
|
||||
img_whs4 { border:none; width:23px; height:22px; border-style:none; }
|
||||
p.whs5 { font-size:12pt; }
|
||||
p.whs6 { font-size:12pt; font-style:italic; font-weight:normal; }
|
||||
table.whs7 { x-cell-content-align:top; width:66.515%; border-spacing:0px; }
|
||||
col.whs8 { width:32.996%; }
|
||||
col.whs9 { width:33.052%; }
|
||||
col.whs10 { width:33.952%; }
|
||||
tr.whs11 { x-cell-content-align:top; }
|
||||
td.whs12 { width:32.996%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
img_whs13 { border:none; width:312px; height:410px; float:none; border-style:none; }
|
||||
td.whs14 { width:33.052%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
td.whs15 { width:33.952%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
p.whs16 { font-weight:bold; }
|
||||
img_whs17 { border:none; width:250px; height:195px; border-style:none; }
|
||||
img_whs18 { border:none; width:24px; height:22px; border-style:none; }
|
||||
table.whs19 { x-cell-content-align:top; width:40.406%; border-spacing:0px; }
|
||||
col.whs20 { width:49.761%; }
|
||||
col.whs21 { width:50.239%; }
|
||||
td.whs22 { width:49.761%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
|
||||
img_whs23 { border:none; width:312px; height:324px; float:none; border-style:none; }
|
||||
td.whs24 { width:50.239%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
|
||||
img_whs25 { border:none; width:312px; height:464px; float:none; border-style:none; }
|
||||
p.whs26 { font-size:12pt; font-weight:bold; }
|
||||
p.whs27 { font-size:12pt; font-weight:bold; margin-left:0px; }
|
||||
img_whs28 { border:none; width:300px; height:234px; float:none; border-style:none; }
|
||||
img_whs29 { border:none; width:251px; height:234px; border-style:none; }
|
||||
p.whs30 { font-size:12pt; margin-left:40px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs27 {margin-left:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nCreating geometrical objects\nBuilding by blocks");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1>Building by blocks</h1>
|
||||
|
||||
<p class="whs1"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Introduction.</B></font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Below are some general notions about blocks:</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"></b></font></span>A block is a an elementary geometric solid that
|
||||
has specific geometric constraints oriented for meshing. In the hexahedral
|
||||
case, blocks have 6 faces and each face has 4 edges. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Tetrahedral Block - is a block with constraints for tetrahedral meshing.
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Hexahedral Block - is a block with constraints for hexahedral meshing.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Block Compound - is a compound composed of blocks only.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>These functionalities are available from the main menu via <span style="font-style: italic;"><I>New
|
||||
Entity / Blocks.</I></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p><a href="#QuadrangleFace">Quadrangle face</a></p></li>
|
||||
|
||||
<li class=kadov-p><p><a href="#HexahedralSolid">Hexahedral solid</a></p></li>
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><a name=QuadrangleFace><img src="image29.gif" width="23px" height="22px" border="0" class="img_whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Quadrangle
|
||||
face</B></font></span></a></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
||||
Builds a face using the below mentioned arguments. This operation allows
|
||||
to build a face bypassing the intermediate stage of building edges and
|
||||
wires (in the case of building by 4 points) or wires (in the case of building
|
||||
by 4 or 2 edges).</font></span></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result :</b>
|
||||
GEOM_Object (face).</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs6"><b style="font-weight: normal;">geompy.MakeQuadFaceVertices(V1,
|
||||
V2, V3, V4), <span style="font-style: normal;">where V1, V2, V3, V4 are
|
||||
four vertices from which a face is constructed. Edges are created automatically.</span></b></p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeQuadFaceEdges(E1,
|
||||
E2)</I></span>, where E1, E2 are edges from which the face is constructed,
|
||||
two other edges are created automatically.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><b style="font-weight: normal;"><span
|
||||
style="font-style: italic;"><I>g</b>eompy.MakeQuadFace(E1, E2, E3, E4)</I></span>,
|
||||
where E1, E2, E3, E4 are four edges from which the face is constructed.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
|
||||
</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs5">Name + 4 Points, or</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5">Name + 2 Edges, or </p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5">Name + 4 Edges.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="66.515%" class="whs7">
|
||||
<col class="whs8">
|
||||
<col class="whs9">
|
||||
<col class="whs10">
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="32.996%" class="whs12">
|
||||
<p><img src="pics/block1.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>
|
||||
<td width="33.052%" class="whs14">
|
||||
<p><img src="pics/block2.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>
|
||||
<td width="33.952%" class="whs15">
|
||||
<p><img src="pics/block3.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs16">Example:</p>
|
||||
|
||||
<p class="whs16"> </p>
|
||||
|
||||
<p><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs17"> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><a name=HexahedralSolid><img src="image51.gif" width="24px" height="22px" border="0" class="img_whs18"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Hexahedral
|
||||
solid</B></font></span></a></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Description:</b>
|
||||
Builds a hexahedral solid. either of the below mentioned arguments. This
|
||||
operation allows to build a solid bypassing the intermediate stage of
|
||||
building a shell and 4 faces (in the case of building by 2 faces) or just
|
||||
a shell (in the case of building by 6 faces).</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Result :</b>
|
||||
GEOM_Object.</p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolid(F1,
|
||||
F2, F3, F4, F5, F6)</I></span>, where F1 – F6 are six faces from which the
|
||||
hexahedron is constructed.</p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolidTwoFaces(F1,
|
||||
F2)</I></span>, where F1 and F2 are faces from which the hexahedron is constructed,
|
||||
other four faces are created automatically.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
|
||||
</p>
|
||||
|
||||
<ul type="disc" class="whs3">
|
||||
|
||||
<li class=kadov-p><p class="whs5">Name + 2 Faces, or </p></li>
|
||||
|
||||
<li class=kadov-p><p class="whs5">Name + 6 Faces.</p></li>
|
||||
</ul>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<table x-use-null-cells cellspacing="0" width="40.406%" class="whs19">
|
||||
<col class="whs20">
|
||||
<col class="whs21">
|
||||
|
||||
<tr valign="top" class="whs11">
|
||||
<td width="49.761%" class="whs22">
|
||||
<p class="whs5"><b style="font-weight: bold;"> <img src="pics/block4.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs23"></b></td>
|
||||
<td width="50.239%" class="whs24">
|
||||
<p><img src="pics/block5.png" x-maintain-ratio="TRUE" width="312px" height="464px" border="0" class="img_whs25"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="whs5"> </p>
|
||||
|
||||
<p class="whs26">Example:</p>
|
||||
|
||||
<p class="whs26"> </p>
|
||||
|
||||
<p class="whs27"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs28"> <img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs29"> </p>
|
||||
|
||||
<p class="whs30"><b style="font-weight: bold;"> </b> </p>
|
||||
|
||||
<p class="whs5">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
|
||||
provide you with useful examples of <a href="building_by_blocks.htm">Building
|
||||
by Blocks</a>. </p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
146
doc/salome/gui/GEOM/offset_surface.htm
Executable file
@ -0,0 +1,146 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Offset Surface</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { border:none; width:24px; height:22px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; margin-left:40px; font-weight:bold; }
|
||||
img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
||||
p.whs5 { font-size:12pt; font-weight:bold; }
|
||||
p.whs6 { font-size:12pt; margin-left:40px; }
|
||||
img_whs7 { border:none; width:235px; height:236px; float:none; border-style:none; }
|
||||
p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||||
{
|
||||
var strNSS = "<style type='text/css'>";
|
||||
strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||
strNSS +="</style>";
|
||||
document.write(strNSS);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nOffset Surface");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image37.gif" width="24px" height="22px" border="0" class="img_whs1"></font></span>Offset Surface</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
an <span style="font-weight: bold;"><B>Offset Surface</B></span> in the Main
|
||||
Menu select <span style="font-weight: bold;"><B>Operations - > Transformation
|
||||
- ></B></span> <span style="font-weight: bold;"><B>Offset Surface</B></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p class="whs2">This operation<span style="font-weight: bold;">
|
||||
<B></B></span>translates each point of an<span style="font-weight: bold;"><B> Object</B></span>
|
||||
(a set of Objects) along a local normal by a given <span style="font-weight: bold;"><B>Offset</B></span>
|
||||
distance (signed number, negative value meaning inner offset). <span style="font-weight: bold;"><B>Offset</B></span>
|
||||
operation is applicable to faces, shells and solids.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object
|
||||
</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>T</B></span>UI
|
||||
Command: </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape,
|
||||
Offset)</I></span>, where Shape is a shape which has to be an offset, Offset
|
||||
is a value of the offset.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments: </b><span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + Object (face, shell, solid, compound)
|
||||
+ Offset value </font></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs3"><img src="pics/transformation11.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs5">Example:</p>
|
||||
|
||||
<p class="whs6"><img src="pics/offsetsn.png" x-maintain-ratio="TRUE" width="235px" height="236px" border="0" class="img_whs7"></p>
|
||||
|
||||
<p class="whs6"> </p>
|
||||
|
||||
<p class="whs8"> <span
|
||||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
||||
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
||||
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark7">Transformation
|
||||
Operations</a>. </font></span></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
172
doc/salome/gui/GEOM/partition.htm
Executable file
@ -0,0 +1,172 @@
|
||||
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Partition</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
||||
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
||||
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
||||
<!--
|
||||
if (navigator.appName !="Netscape")
|
||||
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
img_whs1 { width:20px; height:20px; border-style:none; }
|
||||
p.whs2 { font-size:12pt; }
|
||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
||||
p.whs4 { font-size:12pt; font-weight:bold; }
|
||||
img_whs5 { border:none; width:312px; height:483px; float:none; border-style:none; }
|
||||
img_whs6 { border:none; width:448px; height:302px; float:none; border-style:none; }
|
||||
p.whs7 { font-size:12pt; margin-left:40px; }
|
||||
img_whs8 { border:none; float:none; width:297px; height:245px; border-style:none; }
|
||||
img_whs9 { border:none; float:none; width:273px; height:244px; border-style:none; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||
<!--
|
||||
function reDo() {
|
||||
if (innerWidth != origWidth || innerHeight != origHeight)
|
||||
location.reload();
|
||||
}
|
||||
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
||||
origWidth = innerWidth;
|
||||
origHeight = innerHeight;
|
||||
onresize = reDo;
|
||||
}
|
||||
onerror = null;
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
||||
-->
|
||||
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
||||
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
||||
</head>
|
||||
<body><script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.gbWhTopic)
|
||||
{
|
||||
if (window.addTocInfo)
|
||||
{
|
||||
addTocInfo("GEOM module\nTransforming geometrical objects\nBasic Operations\nPartition");
|
||||
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||||
|
||||
}
|
||||
if (window.writeBtnStyle)
|
||||
writeBtnStyle();
|
||||
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(1);
|
||||
|
||||
if (window.setRelStartPage)
|
||||
{
|
||||
setRelStartPage("geom.htm");
|
||||
|
||||
autoSync(1);
|
||||
sendSyncInfo();
|
||||
sendAveInfoOut();
|
||||
}
|
||||
}
|
||||
else
|
||||
if (window.gbIE4)
|
||||
document.location.reload();
|
||||
//-->
|
||||
</script>
|
||||
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Partition</h1>
|
||||
|
||||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||||
a <span style="font-weight: bold;"><B>Partition</B></span> in the Main Menu select
|
||||
<span style="font-weight: bold;"><B>Operations - > Partition</B></span></p>
|
||||
|
||||
<p class="whs3"> </p>
|
||||
|
||||
<p class="whs3"><b><span style="font-weight: normal;">This
|
||||
operation </b>builds a shape by intersection of two shapes or a shape
|
||||
and a plane.</span></p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||
Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs4"><b><span style="font-weight: bold;"><B>Intersection
|
||||
of two shapes.</B></span></b></p>
|
||||
|
||||
<p class="whs4"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||||
</i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes,
|
||||
ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
|
||||
ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be
|
||||
intersected, ListOfTools is a list of shapes to intersect the shapes from
|
||||
ListOfShapes, ListOfKeepInside is a list of shapes outside which the results
|
||||
will be deleted, ListOfRemoveInside is a list of shapes inside which the
|
||||
results will be deleted, Limit is a type of the result shapes, if RemoveWebs
|
||||
is True the Glue 3D algorithm will be performed on the results, ListOfMaterials
|
||||
is a list of materials indices for each shape, it makes sense only if
|
||||
RemoveWebs is True.</p>
|
||||
|
||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
|
||||
</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + 2 shapes (first shape will
|
||||
be intersected by the second shape) + reconstruction limit.</font></span></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/neo-materials.png" x-maintain-ratio="TRUE" width="448px" height="302px" border="0" class="img_whs6"></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2">Intersection of a <span style="font-weight: bold;"><B>Shape</B></span>
|
||||
and a <span style="font-weight: bold;"><B>Plane.</B></span></p>
|
||||
|
||||
<p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span>
|
||||
<span style="font-style: italic;"><I>geompy.MakeHalfPartition(Shape,
|
||||
Plane), </I></span>where<span style="font-style: italic;"><I> Shape</I></span> is
|
||||
a Shape to be intersected and <span style="font-style: italic;"><I>Plane</I></span>
|
||||
is a Tool shape, to intersect the <span style="font-style: italic;"><I>Shape</I></span>.</p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
|
||||
+ 1 shape which will be intersected + 1 cutting face.</p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs2"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs5"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
||||
|
||||
<p class="whs2"> </p>
|
||||
|
||||
<p class="whs7"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs8"> <img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="244px" border="0" class="img_whs9"></p>
|
||||
|
||||
<p class="whs7"> </p>
|
||||
|
||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||
of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>.
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<script type="text/javascript" language="javascript1.2">
|
||||
<!--
|
||||
if (window.writeIntopicBar)
|
||||
writeIntopicBar(0);
|
||||
//-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
BIN
doc/salome/gui/GEOM/pics/arc.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
doc/salome/gui/GEOM/pics/archimede.png
Executable file
After Width: | Height: | Size: 15 KiB |
BIN
doc/salome/gui/GEOM/pics/archimedesn1.png
Executable file
After Width: | Height: | Size: 3.6 KiB |
BIN
doc/salome/gui/GEOM/pics/archimedesn2.png
Executable file
After Width: | Height: | Size: 4.0 KiB |
BIN
doc/salome/gui/GEOM/pics/archimedesn3.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
doc/salome/gui/GEOM/pics/arcsn.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
doc/salome/gui/GEOM/pics/bezier.png
Executable file
After Width: | Height: | Size: 2.4 KiB |
BIN
doc/salome/gui/GEOM/pics/block1.png
Executable file
After Width: | Height: | Size: 15 KiB |
BIN
doc/salome/gui/GEOM/pics/block2.png
Executable file
After Width: | Height: | Size: 14 KiB |
BIN
doc/salome/gui/GEOM/pics/block3.png
Executable file
After Width: | Height: | Size: 15 KiB |
BIN
doc/salome/gui/GEOM/pics/block4.png
Executable file
After Width: | Height: | Size: 13 KiB |
BIN
doc/salome/gui/GEOM/pics/block5.png
Executable file
After Width: | Height: | Size: 16 KiB |
BIN
doc/salome/gui/GEOM/pics/block_explodesn.png
Executable file
After Width: | Height: | Size: 17 KiB |
BIN
doc/salome/gui/GEOM/pics/bool1.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
doc/salome/gui/GEOM/pics/bool2.png
Executable file
After Width: | Height: | Size: 13 KiB |
BIN
doc/salome/gui/GEOM/pics/bool3.png
Executable file
After Width: | Height: | Size: 13 KiB |
BIN
doc/salome/gui/GEOM/pics/box1.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
doc/salome/gui/GEOM/pics/box2.png
Executable file
After Width: | Height: | Size: 12 KiB |
BIN
doc/salome/gui/GEOM/pics/boxes.png
Executable file
After Width: | Height: | Size: 7.5 KiB |
BIN
doc/salome/gui/GEOM/pics/chamfer1.png
Executable file
After Width: | Height: | Size: 13 KiB |
BIN
doc/salome/gui/GEOM/pics/chamfer2.png
Executable file
After Width: | Height: | Size: 15 KiB |
BIN
doc/salome/gui/GEOM/pics/chamfer3.png
Executable file
After Width: | Height: | Size: 15 KiB |
BIN
doc/salome/gui/GEOM/pics/chamfer_all.png
Executable file
After Width: | Height: | Size: 11 KiB |
BIN
doc/salome/gui/GEOM/pics/chamfer_edge.png
Executable file
After Width: | Height: | Size: 8.9 KiB |
BIN
doc/salome/gui/GEOM/pics/chamfer_faces.png
Executable file
After Width: | Height: | Size: 10 KiB |