Ptsf
Model ElementPTSF defines a higher pair constraint. A fixed point on one body slides on a surface that is fixed on a second body. The point is not allowed to lift off the surface.
Class Name
Ptsf
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | Str () | Yes | |
surface | Reference ("Surface") | Yes | Yes |
i | Reference ("Marker") | Yes | Yes |
rm | Reference ("Marker") | Yes | Yes |
disp | Double ([0,0,0], count=3) | FD Only | |
active | Bool () | Yes |
Usage
Ptsf (i=objMarker, surface=objSurface, optional_attributes)
Attributes
- i
- Reference to an existing Marker.
- surface
- Reference to an existing surface.
- rm
- Reference to an existing Marker.
- id
- Integer
- label
- String
- active
- Bool
Example
# Create the I marker
iMark = Marker (body=p2, qp=[1,2,3], zp=[4,5,6], label="iMark")
# Create the surface object
surface = Surface (function="user (10)", routine=cylindricalSurface, uclosed=True, vclosed=False, minpar=[0, -150], maxpar=[2*pi, 150])
# Finally, create the PTSF constraint
thePtsf = Ptsf (i=iMark, surface= Surface, label="thePtsf")
Comments
- See Properties for an explanation about what properties are, why they are used, and how you can extend these.
- For a more detailed explanation about PTSF, see Constraint: PTSF.