WIRE
List of: Law Symbols
Subjects: Laws
Contents: Kernel

Action: Creates a law that returns the positions of the wire's component edges.

Derivation: wire_law_data : base_wire_law_data : path_law_data : law_data : ACIS_OBJECT : -

Syntax: WIRE

Description: A wire is parameterized from 0 to the length of the wire. This symbol returns the position of the wire's component edges. The parameterization has been linearly scaled to match the total length of the edge.


ACIS parameterization is not the arc length. The wire law returns the position as a function of arc length, in as much linear scaling as the subedges can accomplish. In the case of lines and arcs, the parameterization is exactly the arc length. Curves which are not parameterized with constant speed may have some internal variance. All curves other than arcs and lines have non-constant speed.

Example: ; law "WIRE"

; Create an edge.

(define my_edge (edge:circular


(position 0 0 0) 20))

;; my_edge

; => #[entity 2 1]

; Create a wire body.

(define my_wire (wire-body my_edge))

;; my_wire

; => #[entity 3 1]

; Input this wire into a law.

(define my_law (law "wire(wire1)" my_wire))

;; my_law

; => #[law "WIRE(WIRE1)"]

; Evaluate this law mathematic function at a

; parameter value.

(law:eval-position my_law 2)

;; #[position 19.9000833055605 1.99666833293656 0]
PDF/KERN/41LAW.PDF
HTM/DATA/KERN/KERN/41LAW/0006.HTM