Component: Bezel (Misc): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 85: | Line 85: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | 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. | | 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. | ||
| Line 104: | Line 104: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | 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 123: | Line 123: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''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. | | 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. | ||
| Line 137: | Line 137: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetLidPosition''' | ||
|- | |- | ||
| colspan="2" | Get the position for a plane that will fill the top of the bezel at the highest point of the curve. | | colspan="2" | Get the position for a plane that will fill the top of the bezel at the highest point of the curve. | ||
| Line 151: | Line 151: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | 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 181: | Line 181: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | | 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 203: | 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