Component: Bezel (Misc): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Bezel_GDI.fcfx FC_Comp_Source_Bezel_GDI.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Bezel_GDI.fcfx FC_Comp_Source_Bezel_GDI.fcfx] | |||
==Detailed description== | ==Detailed description== | ||
| Line 30: | Line 44: | ||
==Examples== | ==Examples== | ||
| Line 43: | Line 69: | ||
{{Fcfile|BeamBreakDemo.fcfx|Beam Break Demo}} | {{Fcfile|BeamBreakDemo.fcfx|Beam Break Demo}} | ||
{| class="wikitable" | |||
==Macro reference== | |||
===FitInsideBase=== | |||
{| class="mtx-class-macrotable wikitable" | |||
|- | |||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | |||
| width="90%" class="mtx-class-macrohead" | '''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. | |||
|- | |- | ||
|- | |- | ||
| | | width="10%" align="center" | [[File:Fc9-h32-icon.png]] - HANDLE | ||
| width="90%" | Target | |||
|- | |- | ||
| colspan="2" | The object to fit the bezel around | |||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | | 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'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
{| class="wikitable | ===FitOutsideBase=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''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. | | 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. | ||
| Line 76: | Line 119: | ||
{| class="wikitable | ===GetFillPosition=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetFillPosition''' | ||
|- | |- | ||
| colspan="2" | | | 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. | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-h32-icon.png]] - HANDLE | |||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | |||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
{| class="wikitable | ===GetLidPosition=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetLidPosition''' | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | Get the position for a plane that will fill the top of the bezel at the highest point of the curve. | ||
|- | |- | ||
|- | |- | ||
| Line 107: | Line 147: | ||
{| class="wikitable | ===SetColor=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''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. | | 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. | ||
| Line 133: | Line 174: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Appearance | ||
|- | |- | ||
|- | |- | ||
| Line 164: | Line 203: | ||
| colspan="2" | Color of the bezel. | | colspan="2" | Color of the bezel. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Quick Resize | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | Misc |
Bezel 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_GDI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Bezel_GDI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Simple example showing the collision detector component at work, when a collision is detected the direction of the motor is reversed.
Detector
Simple example showing the beam break detector component at work, when a collision is detected the direction of the bouncing ball is reversed.
Beam Break Demo
Macro reference
FitInsideBase
FitOutsideBase
GetFillPosition
GetLidPosition
| GetLidPosition | |
| Get the position for a plane that will fill the top of the bezel at the highest point of the curve. | |
| Return | |
SetColor