Ptdsf
Model ElementPtdsf defines a constraint of a point to a deformable surface.
Class Name
Ptdsf
Description
The point can only move by sliding on the deformable surface. The surface can deform because of the loads acting on it. This is an instance of a higher pair constraint.
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | Str () | Yes | |
dsurface | Reference ("Surface") | Yes | Yes |
i | Reference ("Marker") | Yes | Yes |
active | Bool () | Yes |
Usage
Ptdsf (i=objMarker, dsurface=objDeformSurface, optional_attributes)
Attributes
- i
- Reference to an existing Marker.
- dsurface
- Reference to an existing deformable surface.
- id
- Integer
- label
- String
- active
- Bool
Example
# Create the I marker and deformable Surface. Then refer to it in the PTdSF
iMark = Marker (body=p2, qp=[1,2,3], zp=[4,5,6], label="iMark")
# Data points for surface (closed in both U and V)
theData = [ [m11, m12, m13, m14, m15, m16, m11],
[m21, m22, m23, m24, m25, m26, m21],
[m31, m32, m33, m34, m35, m36, m31],
[m41, m42, m43, m44, m45, m46, m41],
[m51, m52, m53, m54, m55, m56, m51],
[m61, m62, m63, m64, m65, m66, m61],
[m71, m72, m73, m74, m75, m76, m71],
[m81, m82, m83, m84, m85, m86, m81],
[m11, m12, m13, m14, m15, m16, m11] ]
# Create the deformable surface
dSurface = Deformablesurface (markers=theData, uclosed=True, vclosed=True, label="dSurface")
# Finally, create the deformable surface
thePtdsf = Ptdsf (i=iMark, dsurface= dSurface, label="thePtdsf")
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 PTDSF, see Constraint: PTdSF.