Guten Morgen,
ich habe mal eine Grundlegende Frage zum Verständnis der IKit-Doku:
Wenn ich mit dem Rekorder aufzeichne (Analyse>>3D-Richtung) bekomme ich z.B.:
Code:
set_pers_context "Default-Toolbar-relative"
measure_dir_3d
set_pers_context "Toolbar-relative"
:two_pt
(gpntwc -71.247181 40.903338 1.884224 "1")
(gpntwc 70.658362 40.785574 1.884224 "1")
complete
0.70710678118654746,-0.70710678118654746,0.0
Ok - gut! Also mal nach measure_dir_3d in der Doku geschaut!
Zitat:
MEASURE_DIR_3D interrupt action
MEASURE_DIR_3D measures a direction in the global 3D coordinate system. If the system is being used interactively, the value is displayed in the MEASURE Output Field. By using OK the values can be used without retyping. The value is also written into the system inquiry array (see INQ).
Syntax
---->(MEASURE_DIR_3D)----|MEASURE_DIR_3D_SA|---->
Options
This action has no options. ?? Hä?? wiese keine Optionen??
Example
The following parameter sequence measures a direction.
MEASURE_DIR_3D [specify a measure direction option]
Wie lese ich denn dies:
---->(MEASURE_DIR_3D)----|MEASURE_DIR_3D_SA|---->
was genau sagen mir die "()" und die "| |"
Na dann mal weiter im Text (Doku):
Zitat:
MEASURE_DIR_3D_SA subaction
MEASURE_DIR_3D_SA provides methods for defining a direction vector. Syntax
---->(MEASURE_DIR_3D_SA)----+
|
+------<-----------+
|
+-->-+--|direction_3D|--------------------------------->-------------+-->--
| | |
| +--(:TWO_PT)--|point_3D|--|point_3D|-------------->-------------+
| | |
| +--(:X)------------------------------------------->-------------+
| | |
| +--(:Y)------------------------------------------->-------------+
| | |
| +--(:Z)------------------------------------------->-------------+
| | |
^ +--(:NEG_X)--------------------------------------->-------------+
| | |
| +--(:NEG_Y)--------------------------------------->-------------+
| | |
| +--(:NEG_Z)--------------------------------------->-------------+
| | |
| +--(:U)------------------------------------------->-------------+
| | |
| +--(:V)------------------------------------------->-------------+
| | |
| +--(:W)------------------------------------------->-------------+
| | |
| +--(:NEG_U)--------------------------------------->-------------+
| | |
| +--(:NEG_V)--------------------------------------->-------------+
| | |
| +--(:NEG_W)--------------------------------------->-------------+
| | |
| +--(:VP_DIR)----|viewport|------------------------>-------------+
| | |
^ +--(:NEG_VP_DIR)----|viewport|-------------------->-------------+
| | |
| +--(:FACE_NORMAL)--|pt on face|------------------->-------------+
| | |
| +--(:NEG_FACE_NORMAL)--|pt on face|--------------->-------------+
| | |
| +--(:EDGE_TANGENT)--|pt on edge|-------------+--+----->------+--+
| | | | |
| +--(:SURFACE_AXIS)--|cyl, cone, torus|-------+ +-(:ACCEPT)--+
| | | |
| | +-(:REVERSE)-+
| +--(:REF_WP)--|wp|--+
| |
+--------------<---------+
Options
The following options are available to measure a 3D direction.
:TWO_PT - the direction is from the first point to the second point.
:X - specifies a measurement in the X direction.
:Y - specifies a measurement in the Y direction
:Z - specifies a measurement in the Z direction.
:NEG_X - specifies a measurement in the negative X direction.
:NEG_Y - specifies a measurement in the negative Y direction.
:NEG_Z - specifies a measurement in the negative Z direction.
:U - specifies a measurement in the U direction.
:V - specifies a measurement in the V direction.
:W - specifies a measurement in the W direction.
:NEG_U - specifies a measurement in the negative U direction.
:NEG_V - specifies a measurement in the negative V direction.
:NEG_W - specifies a measurement in the negative W direction.
:VP_DIR - specifies a measurement in the direction normal to the specified viewport.
:NEG_VP_DIR - specifies a measurement in the negative direction normal to the specified viewport.
:FACE_NORMAL - specifies a measurement in a direction normal to the face you define.
:NEG_FACE_NORMAL - specifies a measurement in the negative direction of a face you define.
:EDGE_TANGENT - specifies a measurement tangential to a defined edge. You can either :REVERSE the direction of the edge, or :ACCEPT its current direction.
:SURFACE_AXIS - specifies the desired cylinder, cone, or torus. You can either :REVERSE the direction of the surface, or :ACCEPT its current direction.
:REF_WP - specifies a reference workplane.
When to use
This subaction is used to measure a direction.
All values are displayed in the Direction Output field.
Und wieder ??
Was sagt mir diese Zeile??
+--(:EDGE_TANGENT)--|pt on edge|-------------+--+----->------+--+
mir den "--+--+--" ???
Ich verstehe die Syntax nicht! und bekomme da nichts raus (habe nicht wenig rumprobiert).
Wie hängen die interrupt actions und sub actions zusammen? Wie spreche ich die im Code richtig an?
Vielleicht hat ja jemand Muse und möchte mich hier ein wenig aufkären.
------------------
...viele Grüße
Stephan
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP