|
| 1 | +# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | + |
| 3 | +#/*************************************************************************** |
| 4 | +# * Copyright (c) 2024 Mario Passaglia <mpassaglia[at]cbc.uba.ar> * |
| 5 | +# * * |
| 6 | +# * This file is part of FreeCAD. * |
| 7 | +# * * |
| 8 | +# * FreeCAD is free software: you can redistribute it and/or modify it * |
| 9 | +# * under the terms of the GNU Lesser General Public License as * |
| 10 | +# * published by the Free Software Foundation, either version 2.1 of the * |
| 11 | +# * License, or (at your option) any later version. * |
| 12 | +# * * |
| 13 | +# * FreeCAD is distributed in the hope that it will be useful, but * |
| 14 | +# * WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 15 | +# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * |
| 16 | +# * Lesser General Public License for more details. * |
| 17 | +# * * |
| 18 | +# * You should have received a copy of the GNU Lesser General Public * |
| 19 | +# * License along with FreeCAD. If not, see * |
| 20 | +# * <https://www.gnu.org/licenses/>. * |
| 21 | +# * * |
| 22 | +# ************************************************************************** |
| 23 | + |
| 24 | +__title__ = "FreeCAD FEM base materlia ViewProvider" |
| 25 | +__author__ = "Mario Passaglia" |
| 26 | +__url__ = "https://www.freecad.org" |
| 27 | + |
| 28 | +## @package view_base_femmeshelement |
| 29 | +# \ingroup FEM |
| 30 | +# \brief view provider for Python base material object |
| 31 | + |
| 32 | +from femviewprovider import view_base_femobject |
| 33 | + |
| 34 | + |
| 35 | +class VPBaseFemMaterial(view_base_femobject.VPBaseFemObject): |
| 36 | + """Proxy View Provider for Python base material.""" |
| 37 | + |
| 38 | + def isShow(self): |
| 39 | + return self.ViewObject.Visibility |
0 commit comments