Muscat.ImplicitGeometry.ImplicitGeometryOperators module

CheckIntegrity(GUI: bool = False)[source]
CreateImplicitGeometryInsideOut(ops)[source]
CreateImplicitGeometryIntersection(ops)[source]
CreateImplicitGeometryOffset(ops)[source]
CreateImplicitGeometryRotationAroundAxis(ops)[source]
CreateImplicitGeometryShell(ops)[source]
CreateImplicitGeometrySymmetric(ops)[source]
CreateImplicitGeometryTransform(ops)[source]
CreateImplicitGeometryUnion(ops)[source]
class ImplicitGeometryDifference(Zone1=None, Zone2=None)[source]

Bases: ImplicitGeometryBase

ImplicitGeometry Difference of zones (z1-z2) z1 : zone z2 : zone

classmethod ApplyDifferenceOnLevelset(ls1, ls2, smoothControl=0)[source]
GetDistanceToPoint(pos)[source]
class ImplicitGeometryInsideOut(a=None, val=0.0)[source]

Bases: ImplicitGeometryBase

ImplicitGeometry InsideOut of the levelset z : zone

GetDistanceToPoint(pos)[source]
class ImplicitGeometryIntersection(z=None)[source]

Bases: ImplicitGeometryBase

ImplicitGeometry Intersection of zones z : zones

classmethod ApplyIntersectionOnLevelset(ls1, ls2, smoothControl=0)[source]
GetDistanceToPoint(pos)[source]
class ImplicitGeometryOffset(a=None, val=0.0)[source]

Bases: ImplicitGeometryBase

ImplicitGeometry offset of the levelset z : zone offset : offset value (possitive shrink, negative grow )

GetDistanceToPoint(pos)[source]
class ImplicitGeometryShell(a=None, val=0.0)[source]

Bases: ImplicitGeometryBase

ImplicitGeometry Shell around a zone z : zone thickness : thickness of the shell

GetDistanceToPoint(pos)[source]
class ImplicitGeometrySymmetric(a=None)[source]

Bases: ImplicitGeometryBase

ImplicitGeometry Central Symmetriy of a zone all point will be mapped to the first quadrant z : zone center : central point to compute the symetry

GetDistanceToPoint(pos)[source]
class ImplicitGeometryTransform(Zone1, offset=None, first=None, second=None)[source]

Bases: ImplicitGeometryBase

ImplicitGeometryTransform Make a linear orthonormal transform of the implicit geometry This class relies heavily on the Muscat.LinAlg.Transform class, see

Parameters:

a : ImplicitGeometry on which one needs to apply the transformation offset: ArrayLike of size 3, center of the operator first: ArrayLike of size 3, first vector of the operator second: ArrayLike of size 3, second vector of the operator

GetDistanceToPoint(pos)[source]
SetAsRotationAroundAxis(center, vector, angle)[source]
class ImplicitGeometryUnion(a=None)[source]

Bases: ImplicitGeometryBase

ImplicitGeometry Union of zones z : zones

classmethod ApplyUnionOnLevelset(ls1, ls2, smoothControl=0)[source]
GetDistanceToPoint(pos)[source]