İçindekiler'i Gizle

Segment Type Syntax

The segment types you can select from the Function Builder are functions of the independent variable. You can piece together the segment type functions to define a piecewise continuous motor or force profile. Each segment type you select defines the profile function on a continuous range of independent variable values. You can create custom Function Builder segment types in a file named SegmentTypes.txt. You can define a segment type function with basic programming commands within the segment type syntax.
To use custom segment types, you must point to the folder containing the SegmentTypes.txt file from File Locations in the System Options dialog box.

Syntax

Begin each segment type definition with SegmentType("Type_Name", independent_variable, param_2, … param_n) and end each segment type definition with the command endSegmentType. You must include a return statement within the definition. Use mathematical operators to define the segment type function between these two commands.

  Commands and Variables Description
  SegmentType("Type_Name", independent_variable, arg2, … argn) Begins the segment type function definition.
  "Type_Name" String variable in quotes specifying a unique name for the segment type function.
  independent_variable Variable representing the function independent variable.
  param_2, … param_n Variables representing any number of parameters you require to define the function.
The number of required parameters depends on the function you define.
  return Returns the segment type function value computed from the input arguments.
  endSegmentType Ends the segment type function definition.
  ' Comment.

Cubic Segment Type Example

'
'------------- Cubic -------------------
'
SegmentType("Cubic", x, x1, y1, x2, y2)
     xbar = (x-x1)/(x2-x1);
     ybar = 3*xbar^2-2*xbar^3;
     y = y1+(y2-y1)*ybar;
     return y;
endSegmentType

See Default Segment Type Function Definitions for more segment type function definitions.



Bu başlık hakkında geribildirimde bulunun

SOLIDWORKS; dokümantasyonun sunumu, doğruluğu ve bütünlüğü hakkında geribildiriminizi almaktan memnuniyet duyar. Bu başlık ile ilgili yorum ve önerilerinizi, aşağıdaki formu kullanarak doğrudan dokümantasyon takımımıza yollayın. Dokümantasyon takımı teknik destek sorularına yanıt veremez. Teknik destek ile ilgili bilgiler için buraya tıklayın.

* Gerekli

 
*Email:  
Konu:   Yardım Başlıkları Hakkında Geribildirim
Sayfa:   Segment Type Syntax
*Yorum:  
*   Kişisel Bilgilerimin Dassault Systèmes tarafından kullanılacağının belirtildiği gizlilik politikasını okuduğumu ve kabul ettiğimi onaylıyorum

Yazdırma Başlığı

Yazdırılacak içeriğin kapsamını seçin:

x

Internet Explorer 7'den daha eski bir tarayıcı sürümünü kullandığınızı tespit ettik. Optimize edilmiş görünüm için tarayıcınızı Internet Explorer 7 veya daha yenisine yükseltmenizi öneririz.

 Bu mesajı bir daha asla gösterme
x

Web Yardım İçerik Sürümü: SOLIDWORKS 2011 SP05

SOLIDWORKS içindeki Web yardımını devre dışı bırakmak ve onun yerine yerel yardımı kullanmak için Yardım > SOLIDWORKS Web Yardımını Kullan öğelerine tıklayın.

Web yardımı arabirimi ve araması ile ilgili karşılaştığınız sorunları lütfen yerel destek temsilcinize bildirin. Yardım başlıkları hakkında ayrı ayrı geri bildirimde bulunmak için ilgili başlığın sayfasından "Bu başlık hakkında geribildirim" bağlantısına tıklayın.