Редактор на свойства на обектите

From FreeCAD Documentation
Revision as of 04:00, 21 September 2019 by Vocx (talk | contribs) (Created page with "490px|left {{TitleProperty|Base}}")
Interface Customization
Workbenches

Общ преглед

Редактора на свойствата на обектите е един от най-важните инструменти в FreeCAD. В него може да променяте всяко свойство (например размер, позиция, ориентация) на обект във вашия докумен.

Редактора ви показва свойствата само на избрания в момента обект, в активния в момента документ (внимавайте кои е в момента активния документ, ако имате няколко документа отворени). Ако не сте избрали обект (или няма обект), редактора на свойствата ще е празен.

Не всички свойства могат да бъдат променени във всеки един момент. В зависимост от контекста някои свойства няма да могат да се променят.

Свойствата са разделени на View свойства (отнасящи се до изобразяването на обекта - например цвят) и Data свойства (отнасящи се до физическите параметри на обекта - например размер и позиция). Всяка категория се намира в собствен таб.

Различни обекти могат да имат различни свойства. Някои свойства обаче (например позиция и ротация) присъстват за всички обекти.

Дефиниция на свойство на обект

"Свойство на обект" е информация (число, текст) свръзано с определен обект в документ на FreeCAD document or an object in a document. Свойствата могат да се виждат, и ако е разрешено в определния контекст, да се променят с редакторът на свойствата.

Свойствата играят важна роля в FreeCAD, тъй като те са основния механизъм за променяне на параметрите на обектите. Свойствата определят точната форма на обектите.

Скриптираните обекти в FreeCAD могат да имат свойства от следните типове:

Boolean
Float
FloatList
FloatConstraint
Angle
Distance
Integer
IntegerConstraint
Percent
Enumeration
IntegerList
String
StringList
Link
LinkList
Matrix
Vector
VectorList
Placement
PlacementLink
Color
ColorList
Material
Path
File
FileIncluded
PartShape
FilletContour
Circle

Properties play a very important part in FreeCAD, since it has been designed to work with parametric objects, which are objects defined only by their properties.

Custom scripted objects in FreeCAD can have properties of the following types:

Boolean
Float
FloatList
FloatConstraint
Angle
Distance
Integer
IntegerConstraint
Percent
Enumeration
IntegerList
String
StringList
Link
LinkList
Matrix
Vector
VectorList
Placement
PlacementLink
Color
ColorList
Material
Path
File
FileIncluded
PartShape
FilletContour
Circle

Example of Part object properties

Properties

There are two types of feature properties accessible through tabs at the bottom of the property editor:

ВидView : properties related to the "visual" display of an object.
ДанниData : properties related to the "physical" parameters of an object.

View

Base

  • ВидBounding Box : Indicates if a box showing the overall extent of the object is to be displayed. Value False, or True (Default, False).
  • ВидControl Point : Indicates if the feature control points are to be displayed. Value False, or True (Default, False).
  • ВидDeviation : Sets the accuracy of the polygonal representation of the model in the 3d view (tessellation). Lower values = better quality. The value is in percent of object's size (deviation in mm = (w+h+d)/3*valueInPercent/100, where w,h,d are the bounding box dimensions).
  • ВидDisplay Mode :Display mode of the feature, Flat lines, Shaded, Wireframe, Points . (Default, Flat lines).
  • ВидLighting : Lighting One side, Two side . (Default, Two side).
  • ВидLine Color : Gives the color of the line (edges) (Default, 25, 25, 25).
  • ВидLine Width : Gives the thickness of the line (edges) (Default, 2).
  • ВидPoint Color : Gives the color of the points (ends of the feature) (Default, 25, 25, 25).
  • ВидPoint Size : Gives the size of the points (Default, 2).
  • ВидSelectable : Allows selection of the feature. Value False, ou True (Default, True).
  • ВидShape Color : Give the color shape (default, 204, 204, 204).
  • ВидTransparency : Sets the degree of transparency in the feature of 0 to 100 (Default, 0).
  • ВидVisibility : Determines the visibility of the feature (like the bar SPACE). Value False, or True (Default, True).


Data

Base


ДанниPlacement : Summary of the data below. Every feature has a placement that can be controlled through the Data Properties table. It controls the placement of the part with respect to the coordinate system. NOTE: The placement properties do not affect the physical dimensions of the feature, but merely its position in space!
If you select the title Placement Options Placement, a button with three small points appears to the right. Clicking this button ..., opens the Tasks_Placement options window.


ДанниAngle : Specifies the angle to be used with the axis property (below). An angle is set here, and the axis that the angle acts upon is set with the axis property. The feature is rotated by the specified angle, about the specified axis. A usage example might be if you created a revolution feature as required, but then needed to rotate the whole feature by some amount, in order to allow it to line-up with another pre-existing feature.


ДанниAxis : This property specifies the axis/axes about which the feature is to be rotated. The exact value of rotation comes from the angle property (above). This property takes three arguments, which are passed as numbers in the x, y, and z boxes in the tool. Setting a value for more than one of the axes will cause the part to be rotated in each axis, by the angle value multiplied by the value for the axis. For example, with an angle of 15° set, specifying a value of 1.0 for x, and 2.0 for y will cause the finished part to be rotated 15° in the x-axis AND 30° in the y-axis.


ДанниPosition : This property specifies the base point to which all dimensions refer. This takes three arguments, which are passed as numbers to the x, y, and z boxes in the tool. Setting a value for more than one of the boxes will cause the part to be translated by the number of units along the corresponding axis.


ДанниLabel : The Label is the name given to the object (feature), this name can be changed as desired.


PS: The displayed properties can vary, depending on the tool used.

Interface Customization/bg
Workbenches/bg