Difference between revisions of "Component: Bezel Radiused (Misc)"

From Flowcode Help
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
==Component Source Code==
 
==Component Source Code==
  
Please click here to download the component source project: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_Bezel_Radiused.fcfx FC_Comp_Source_Bezel_Radiused.fcfx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Bezel_Radiused.fcfx FC_Comp_Source_Bezel_Radiused.fcfx]
  
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Bezel_Radiused.fcfx FC_Comp_Source_Bezel_Radiused.fcfx]
 
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Bezel_Radiused.fcfx FC_Comp_Source_Bezel_Radiused.fcfx]
  
 
==Detailed description==
 
==Detailed description==
 +
 +
 +
 +
 +
 +
  
  
Line 48: Line 54:
  
  
''<span style="color:red;">No additional examples</span>''
 
  
  
==Macro reference==
 
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLidPosition'''
 
|-
 
| colspan="2" | Get the position for a plane that will fill the top of the bezel at the highest point of the curve.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FitOutsideBase'''
 
|-
 
| colspan="2" | Resize and move the bezel so that it fits around a given target object.  The bezel is fitted around the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" | Target
 
|-
 
| colspan="2" | The object to fit the bezel around&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
 +
''<span style="color:red;">No additional examples</span>''
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FitInsideBase'''
 
|-
 
| colspan="2" | Resize and move the bezel so that it fits a given target object.  The bezel is fitted within the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" | Target
 
|-
 
| colspan="2" | The object to fit the bezel around&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFillPosition'''
 
|-
 
| colspan="2" | Returns the dimensions and position of a plane area that will fill the frame at its base.  The returned position handle could be use, for example, to fit a text box or image within the frame.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetColor'''
 
|-
 
| colspan="2" | A quick way changing the border color without re-calculating the geometry. NB) Does not change the start-up color set using the Properties pane.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Red
 
|-
 
| colspan="2" | Amount of red in the color.  (0...255)&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Green
 
|-
 
| colspan="2" | Amount of green in the color. (0...255)&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Blue
 
|-
 
| colspan="2" | Amount of blue in the color. (0...255)&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
  
  
  
==Property reference==
 
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Appearance
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 
| width="90%" | Thickness
 
|-
 
| colspan="2" | Sets the thickness of the bezel - radius and depth will change proportionally.&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 
| width="90%" | Margin
 
|-
 
| colspan="2" | This property is used when fitting the bezel to another object using the 'Quick Resize' properties or 'Fit' macros. It sets the distance between the bezel and the fitted object. &nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
 
| width="90%" | Color
 
|-
 
| colspan="2" | Color of the bezel.&nbsp;
 
|-
 
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Quick Resize
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
 
| width="90%" | Fit Outside
 
|-
 
| colspan="2" | Select an object from this drop down to fit the bezel around the outside of the object's base. Note that this is a 'momentary operation', the bezel will not follow subsequent changes to the target object.&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
 
| width="90%" | Fit Inside
 
|-
 
| colspan="2" | Select an object from this drop down to fit the bezel withinf the object's base. Note that this is a 'momentary operation', the bezel will not follow subsequent changes to the target object.&nbsp;
 
|}==Macro reference==
 
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetLidPosition'''
 
|-
 
| colspan="2" | Get the position for a plane that will fill the top of the bezel at the highest point of the curve.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
  
 +
==Macro reference==
  
 +
===FitInsideBase===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FitOutsideBase'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FitInsideBase'''
 
|-
 
|-
| colspan="2" | Resize and move the bezel so that it fits around a given target object.  The bezel is fitted around the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value.&nbsp;
+
| colspan="2" | Resize and move the bezel so that it fits a given target object.  The bezel is fitted within the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value.&nbsp;
 
|-
 
|-
 
|-
 
|-
Line 218: Line 94:
  
  
 +
===FitOutsideBase===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FitInsideBase'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FitOutsideBase'''
 
|-
 
|-
| colspan="2" | Resize and move the bezel so that it fits a given target object.  The bezel is fitted within the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value.&nbsp;
+
| colspan="2" | Resize and move the bezel so that it fits around a given target object.  The bezel is fitted around the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value.&nbsp;
 
|-
 
|-
 
|-
 
|-
Line 236: Line 113:
  
  
 +
===GetFillPosition===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 249: Line 127:
  
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
+
===GetLidPosition===
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetColor'''
 
|-
 
| colspan="2" | A quick way changing the border color without re-calculating the geometry. NB) Does not change the start-up color set using the Properties pane.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Red
 
|-
 
| colspan="2" | Amount of red in the color.  (0...255)&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Green
 
|-
 
| colspan="2" | Amount of green in the color. (0...255)&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
 
| width="90%" | Blue
 
|-
 
| colspan="2" | Amount of blue in the color. (0...255)&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
 
 
 
 
 
 
 
 
==Property reference==
 
 
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Appearance
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 
| width="90%" | Thickness
 
|-
 
| colspan="2" | Sets the thickness of the bezel - radius and depth will change proportionally.&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 
| width="90%" | Margin
 
|-
 
| colspan="2" | This property is used when fitting the bezel to another object using the 'Quick Resize' properties or 'Fit' macros. It sets the distance between the bezel and the fitted object. &nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-2-icon.png]]
 
| width="90%" | Color
 
|-
 
| colspan="2" | Color of the bezel.&nbsp;
 
|-
 
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
 
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Quick Resize
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
 
| width="90%" | Fit Outside
 
|-
 
| colspan="2" | Select an object from this drop down to fit the bezel around the outside of the object's base. Note that this is a 'momentary operation', the bezel will not follow subsequent changes to the target object.&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
 
| width="90%" | Fit Inside
 
|-
 
| colspan="2" | Select an object from this drop down to fit the bezel withinf the object's base. Note that this is a 'momentary operation', the bezel will not follow subsequent changes to the target object.&nbsp;
 
|}==Macro reference==
 
 
 
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 334: Line 141:
  
  
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
+
===SetColor===
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FitOutsideBase'''
 
|-
 
| colspan="2" | Resize and move the bezel so that it fits around a given target object.  The bezel is fitted around the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" | Target
 
|-
 
| colspan="2" | The object to fit the bezel around&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
 
 
 
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FitInsideBase'''
 
|-
 
| colspan="2" | Resize and move the bezel so that it fits a given target object.  The bezel is fitted within the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" | Target
 
|-
 
| colspan="2" | The object to fit the bezel around&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
 
 
 
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFillPosition'''
 
|-
 
| colspan="2" | Returns the dimensions and position of a plane area that will fill the frame at its base.  The returned position handle could be use, for example, to fit a text box or image within the frame.&nbsp;
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
 
 
 
 
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 409: Line 168:
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
 
 
  
  

Latest revision as of 13:08, 7 February 2023

Author Matrix Ltd
Version 1.2
Category Misc


Bezel Radiused component

A purely cosmetic component for creating smoothly radiused bezel or frame to fit around other components, or to define the edges of panel sections.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Bezel_Radiused.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Bezel_Radiused.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

FitInsideBase

Fc9-comp-macro.png FitInsideBase
Resize and move the bezel so that it fits a given target object. The bezel is fitted within the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value. 
Fc9-h32-icon.png - HANDLE Target
The object to fit the bezel around 
Fc9-void-icon.png - VOID Return


FitOutsideBase

Fc9-comp-macro.png FitOutsideBase
Resize and move the bezel so that it fits around a given target object. The bezel is fitted around the 'base' of the target - i.e. the face of the object's bounding box with the lowest Z-value. 
Fc9-h32-icon.png - HANDLE Target
The object to fit the bezel around 
Fc9-void-icon.png - VOID Return


GetFillPosition

Fc9-comp-macro.png GetFillPosition
Returns the dimensions and position of a plane area that will fill the frame at its base. The returned position handle could be use, for example, to fit a text box or image within the frame. 
Fc9-h32-icon.png - HANDLE Return


GetLidPosition

Fc9-comp-macro.png GetLidPosition
Get the position for a plane that will fill the top of the bezel at the highest point of the curve. 
Fc9-h32-icon.png - HANDLE Return


SetColor

Fc9-comp-macro.png SetColor
A quick way changing the border color without re-calculating the geometry. NB) Does not change the start-up color set using the Properties pane. 
Fc9-u8-icon.png - BYTE Red
Amount of red in the color. (0...255) 
Fc9-u8-icon.png - BYTE Green
Amount of green in the color. (0...255) 
Fc9-u8-icon.png - BYTE Blue
Amount of blue in the color. (0...255) 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Appearance
Fc9-type-15-icon.png Thickness
Sets the thickness of the bezel - radius and depth will change proportionally. 
Fc9-type-15-icon.png Margin
This property is used when fitting the bezel to another object using the 'Quick Resize' properties or 'Fit' macros. It sets the distance between the bezel and the fitted object.  
Fc9-type-2-icon.png Color
Color of the bezel. 
Fc9-conn-icon.png Quick Resize
Fc9-type-17-icon.png Fit Outside
Select an object from this drop down to fit the bezel around the outside of the object's base. Note that this is a 'momentary operation', the bezel will not follow subsequent changes to the target object. 
Fc9-type-17-icon.png Fit Inside
Select an object from this drop down to fit the bezel withinf the object's base. Note that this is a 'momentary operation', the bezel will not follow subsequent changes to the target object.