Dsurface/DeformableSurface
Model ElementDsurface defines a deformable surface in MotionSolve. It is referred to by PTDSF and PTDSFF.
Class Name
Dsurface or DeformableSurface
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | String () | Yes | |
end_type | Enum ("NATURAL PARABOLIC PERIODIC", default="NATURAL") | ||
markers | Reference (Marker, count=0) | Yes | |
u_span | Double (1.0) | Yes | |
v_span | Double (1.0) | Yes | |
u_tension | Double () | Yes | |
v_tension | Double () | Yes | |
u_closed | Bool () | ||
v_closed | Bool () | ||
active | Bool () | Yes |
Usage
Dsurface (markers=objMatrix, optional_attributes)
Attributes
- markers
- Matrix of Marker objects
- id
- Integer
- label
- String
- end_type
- String
- u_span
- Double
- v_span
- Double
- u_closed
- A Boolean value (True or False) that determines whether the markers that define the curves are closed in u or not.
- v_closed
- A Boolean value (True or False) that determines whether the markers that define the curves are closed in v or not.
Examples
- Create a deformed surface with a minimum number of
attributes.
mkrMatrix = [ [m11, m12, m13, m14, m15, m16, m17, m11], [m21, m22, m23, m24, m25, m26, m27, m21], [m31, m32, m33, m34, m35, m36, m37, m31], [m41, m42, m43, m44, m45, m46, m47, m41], [m51, m52, m53, m54, m55, m56, m57, m51], [m61, m62, m63, m64, m65, m66, m67, m61], [m71, m72, m73, m74, m75, m76, m77, m71], [m11, m12, m13, m14, m15, m16, m17, m11] ] Dsurface (markers=mkrmatrix))
- end_type = NATURAL
- u_span = 1.0
- v_span = 1.0
- uclosed = True (first and last columns are the same)
- vclosed = True (first and last rows are the same)
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 Dsurface, see Reference: Deform Surface.