LocalCoordinates
Local coordinates typically define positions relative to the coordinate system of a 'LocalWorkplane'.
Example
app = cf.GetApplication() project = app:NewProject() cuboid = project.Geometry:AddCuboid(cf.Point(0, 0, 0), 1, 1, 1) -- Modify the origin (local coordinates) of the cuboid cuboid.Origin.U = 2.5 cuboid.Origin.V = -0.5 cuboid.Origin.N = 1
Usage locations (object properties)
The following objects have properties using the LocalCoordinates object:
- CablePointsPath(.ReferenceVector)
- PointRefinement(.Position)
- SphericalModesReceivingAntenna(.Position)
- NearFieldReceivingAntenna(.BoxReferencePoint)
- FarFieldReceivingAntenna(.Position)
- ImpressedCurrent(.StartPosition)
- ImpressedCurrent(.EndPosition)
- MagneticDipole(.Position)
- ElectricDipole(.Position)
- SolutionCoefficientSource(.Position)
- PCBSource(.Position)
- FarFieldSource(.Position)
- NearFieldSource(.BoxReferencePoint)
- SphericalModesSource(.Position)
- PeriodicBoundary(.StartPoint)
- PeriodicBoundary(.EndPointVectorOne)
- PeriodicBoundary(.EndPointVectorTwo)
- FEMModalMeshPort(.Corner1)
- FEMModalMeshPort(.Corner2)
- FEMModalMeshPort(.Corner3)
- FEMModalPort(.Corner1)
- FEMModalPort(.Corner2)
- FEMModalPort(.Corner3)
- Rotate(.Origin)
- Rotate(.Axis)
- Mirror(.Origin)
- Translate(.From)
- Translate(.To)
- Sweep(.From)
- Sweep(.To)
- Spin(.Origin)
- Spin(.AxisDirection)
- Split(.Origin)
- Helix(.Centre)
- HyperbolicArc(.Centre)
- ParabolicArc(.Centre)
- EllipticArc(.Centre)
- Line(.Start)
- Line(.End)
- Rectangle(.Origin)
- Paraboloid(.Base)
- Ellipse(.Centre)
- Spheroid(.Centre)
- Flare(.Base)
- Flare(.Top)
- Cone(.Base)
- Cone(.Top)
- Cylinder(.Base)
- Cylinder(.Top)
- Cuboid(.Origin)
Property List
- N
- The local N coordinate. (Read/Write Expression)
- U
- The local U coordinate. (Read/Write Expression)
- V
- The local V coordinate. (Read/Write Expression)
Property Details
- N
- The local N coordinate.
- Type
- Expression
- Access
- Read/Write
- U
- The local U coordinate.
- Type
- Expression
- Access
- Read/Write
- V
- The local V coordinate.
- Type
- Expression
- Access
- Read/Write