Variables | |
| int | sphere_rayon = 100 |
| int | cube_cote = 200 |
| int | plan_trim = 1000 |
| tuple | sphere_centre = MakeVertex(0, 0, 0) |
| tuple | sphere_pleine = MakeSpherePntR(sphere_centre, sphere_rayon) |
| int | boite_cote = 2 |
| tuple | boite = MakeBox(-boite_cote, -boite_cote, -boite_cote, +boite_cote, +boite_cote, +boite_cote) |
| list | blocs = [boite] |
| tuple | sphere_troue = MakeCut(sphere_pleine, boite) |
| tuple | f1 = MakePlane(sphere_centre, MakeVectorDXDYDZ( 1, 0, 1), plan_trim) |
| tuple | f2 = MakePlane(sphere_centre, MakeVectorDXDYDZ(-1, 1, 0), plan_trim) |
| tuple | f3 = MakePlane(sphere_centre, MakeVectorDXDYDZ( 1, 1, 0), plan_trim) |
| tuple | f4 = MakePlane(sphere_centre, MakeVectorDXDYDZ( 1, 0, -1), plan_trim) |
| tuple | sphere_decoupee = MakePartition([sphere_troue], [f1], [], [], ShapeType["SOLID"]) |
| tuple | sphere_partie = geompy.MakeCompound([sphere_decoupee]) |
| tuple | sphere_bloc = RemoveExtraEdges(sphere_partie) |
| float | pi2 = 3.141592653 |
| tuple | sphere_dir1 = MakeVectorDXDYDZ(0, 1, 0) |
| tuple | sphere_dir2 = MakeVectorDXDYDZ(0, 0, 1) |
| tuple | cube_plein = MakeBox(-cube_cote, -cube_cote, -cube_cote, +cube_cote, +cube_cote, +cube_cote) |
| tuple | cube_trou = MakeCut(cube_plein, sphere_pleine) |
| tuple | cube_decoupe = MakePartition([cube_trou], [f1], [], [], ShapeType["SOLID"]) |
| tuple | cube_partie = GetBlockNearPoint(cube_decoupe, MakeVertex(-cube_cote, 0, 0)) |
| tuple | cube_bloc = RemoveExtraEdges(cube_partie) |
| tuple | piece_cpd = MakeCompound(blocs) |
| tuple | piece = MakeGlueFaces(piece_cpd, 1.e-3) |
| tuple | piece_id = addToStudy(piece, "ex19_sphereINcube") |
| tuple | groupe = CreateGroup(piece, ShapeType["SOLID"]) |
| string | groupe_nom = "ex19_sphereINcube_interieur" |
| tuple | groupe_sphere = GetShapesOnSphere(piece, ShapeType["SOLID"], sphere_centre, sphere_rayon, GEOM.ST_ONIN) |
| tuple | hexa = smesh.Mesh(piece, "ex19_sphereINcube:hexa") |
| tuple | algo = hexa.Segment() |
| tuple | hexa_groupe = hexa.Group(groupe) |
| tuple ex19_sphereINcube.algo = hexa.Segment() |
Definition at line 170 of file ex19_sphereINcube.py.
| list ex19_sphereINcube.blocs = [boite] |
Definition at line 59 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.boite = MakeBox(-boite_cote, -boite_cote, -boite_cote, +boite_cote, +boite_cote, +boite_cote) |
Definition at line 57 of file ex19_sphereINcube.py.
Definition at line 55 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.cube_bloc = RemoveExtraEdges(cube_partie) |
Definition at line 121 of file ex19_sphereINcube.py.
Definition at line 41 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube::cube_decoupe = MakePartition([cube_trou], [f1], [], [], ShapeType["SOLID"]) |
Definition at line 112 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.cube_partie = GetBlockNearPoint(cube_decoupe, MakeVertex(-cube_cote, 0, 0)) |
Definition at line 120 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.cube_plein = MakeBox(-cube_cote, -cube_cote, -cube_cote, +cube_cote, +cube_cote, +cube_cote) |
Definition at line 108 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.cube_trou = MakeCut(cube_plein, sphere_pleine) |
Definition at line 109 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.f1 = MakePlane(sphere_centre, MakeVectorDXDYDZ( 1, 0, 1), plan_trim) |
Definition at line 72 of file ex19_sphereINcube.py.
Referenced by SMDS_Mesh.AddVolumeWithID(), StdMeshers_ProjectionUtils.FindMatchingNodesOnFaces(), SMESH_Block.GetOrderedEdges(), and FunctionTable.integral().
| tuple ex19_sphereINcube.f2 = MakePlane(sphere_centre, MakeVectorDXDYDZ(-1, 1, 0), plan_trim) |
Definition at line 73 of file ex19_sphereINcube.py.
Referenced by SMDS_Mesh.AddVolumeWithID(), StdMeshers_ProjectionUtils.FindMatchingNodesOnFaces(), SMESH_Block.GetOrderedEdges(), and FunctionTable.integral().
| tuple ex19_sphereINcube.f3 = MakePlane(sphere_centre, MakeVectorDXDYDZ( 1, 1, 0), plan_trim) |
Definition at line 74 of file ex19_sphereINcube.py.
Referenced by SMDS_Mesh.AddVolumeWithID().
| tuple ex19_sphereINcube.f4 = MakePlane(sphere_centre, MakeVectorDXDYDZ( 1, 0, -1), plan_trim) |
Definition at line 75 of file ex19_sphereINcube.py.
Referenced by SMDS_Mesh.AddVolumeWithID().
| tuple ex19_sphereINcube.groupe = CreateGroup(piece, ShapeType["SOLID"]) |
Definition at line 147 of file ex19_sphereINcube.py.
| string ex19_sphereINcube.groupe_nom = "ex19_sphereINcube_interieur" |
Definition at line 149 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.groupe_sphere = GetShapesOnSphere(piece, ShapeType["SOLID"], sphere_centre, sphere_rayon, GEOM.ST_ONIN) |
Definition at line 156 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.hexa = smesh.Mesh(piece, "ex19_sphereINcube:hexa") |
Definition at line 168 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.hexa_groupe = hexa.Group(groupe) |
Definition at line 185 of file ex19_sphereINcube.py.
| float ex19_sphereINcube.pi2 = 3.141592653 |
Definition at line 92 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.piece = MakeGlueFaces(piece_cpd, 1.e-3) |
Definition at line 137 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.piece_cpd = MakeCompound(blocs) |
Definition at line 136 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.piece_id = addToStudy(piece, "ex19_sphereINcube") |
Definition at line 139 of file ex19_sphereINcube.py.
| int ex19_sphereINcube.plan_trim = 1000 |
Definition at line 43 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.sphere_bloc = RemoveExtraEdges(sphere_partie) |
Definition at line 88 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.sphere_centre = MakeVertex(0, 0, 0) |
Definition at line 48 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube::sphere_decoupee = MakePartition([sphere_troue], [f1], [], [], ShapeType["SOLID"]) |
Definition at line 80 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.sphere_dir1 = MakeVectorDXDYDZ(0, 1, 0) |
Definition at line 94 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.sphere_dir2 = MakeVectorDXDYDZ(0, 0, 1) |
Definition at line 95 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube::sphere_partie = geompy.MakeCompound([sphere_decoupee]) |
Definition at line 85 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.sphere_pleine = MakeSpherePntR(sphere_centre, sphere_rayon) |
Definition at line 50 of file ex19_sphereINcube.py.
Definition at line 39 of file ex19_sphereINcube.py.
| tuple ex19_sphereINcube.sphere_troue = MakeCut(sphere_pleine, boite) |
Definition at line 64 of file ex19_sphereINcube.py.