Go to the source code of this file.
Packages | |
| package | ex24_cylinder |
Functions | |
| def | ex24_cylinder.group |
| def | ex24_cylinder.discretize |
Variables | |
| ex24_cylinder.geo = geompy | |
| int | ex24_cylinder.radius = 50 |
| int | ex24_cylinder.height = 200 |
| tuple | ex24_cylinder.base = geo.MakeVertex(0, 0, 0) |
| tuple | ex24_cylinder.direction = geo.MakeVectorDXDYDZ(0, 0, 1) |
| tuple | ex24_cylinder.cylinder = geo.MakeCylinder(base, direction, radius, height) |
| float | ex24_cylinder.size = 2.0 |
| tuple | ex24_cylinder.box_rot = geo.MakeBox(-size, -size, 0, +size, +size, height) |
| tuple | ex24_cylinder.box_axis = geo.MakeLine(base, direction) |
| tuple | ex24_cylinder.box = geo.MakeRotation(box_rot, box_axis, math.pi/4) |
| tuple | ex24_cylinder.hole = geo.MakeCut(cylinder, box) |
| int | ex24_cylinder.plane_trim = 2000 |
| tuple | ex24_cylinder.plane_a = geo.MakePlane(base, geo.MakeVectorDXDYDZ(1, 0, 0), plane_trim) |
| tuple | ex24_cylinder.plane_b = geo.MakePlane(base, geo.MakeVectorDXDYDZ(0, 1, 0), plane_trim) |
| tuple | ex24_cylinder.blocks_part = geo.MakePartition([hole], [plane_a, plane_b], [], [], geo.ShapeType["SOLID"]) |
| list | ex24_cylinder.blocks_list = [box] |
| tuple | ex24_cylinder.blocks_all = geo.MakeCompound(blocks_list) |
| tuple | ex24_cylinder.blocks = geo.MakeGlueFaces(blocks_all, 0.0001) |
| tuple | ex24_cylinder.group_a = group("baseA", blocks, "FACE", base, direction) |
| tuple | ex24_cylinder.base_b = geo.MakeVertex(0, 0, height) |
| tuple | ex24_cylinder.group_b = group("baseB", blocks, "FACE", base_b, direction) |
| tuple | ex24_cylinder.group_1 = group("limit", blocks, "SOLID") |
| tuple | ex24_cylinder.group_1_all = geo.SubShapeAllIDs(blocks, geo.ShapeType["SOLID"]) |
| tuple | ex24_cylinder.group_1_box = geo.GetBlockNearPoint(blocks, base) |
| tuple | ex24_cylinder.hexa = smesh.Mesh(blocks) |
| tuple | ex24_cylinder.hexa_1d = hexa.Segment() |