OpenSCAD: file endings, normalize them and let git manage them

This commit is contained in:
Bernd Hahnebach
2019-12-19 17:06:05 +01:00
parent 01559e8b71
commit c2bfd781d1
5 changed files with 1305 additions and 1305 deletions

View File

@@ -53,6 +53,7 @@ JtReader export-ignore
# Draft/** -text
# Fem/** -text
# Material/** -text
# OpenSCAD/** -text
# Show/** -text
# Tux/** -text
@@ -60,7 +61,7 @@ JtReader export-ignore
# line endings of the modules NOT commented will NOT be normalized
# Be carefully changes here could affect a lot of files automatically!
# Complete, Idf, OpenSCAD makes sense to normalize
# Complete, Idf makes sense to normalize
Assembly/** -text
Cam/** -text
@@ -75,7 +76,6 @@ JtReader/** -text
Measure/** -text
Mesh/** -text
MeshPart/** -text
OpenSCAD/** -text
Part/** -text
PartDesign/** -text
Path/** -text

View File

@@ -1,37 +1,37 @@
# FreeCAD init script of the OpenSCAD module
# (c) 2001 Juergen Riegel
#***************************************************************************
#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 *
#* *
#* This file is part of the FreeCAD CAx development system. *
#* *
#* This program is free software; you can redistribute it and/or modify *
#* it under the terms of the GNU Lesser General Public License (LGPL) *
#* as published by the Free Software Foundation; either version 2 of *
#* the License, or (at your option) any later version. *
#* for detail see the LICENCE text file. *
#* *
#* FreeCAD is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Lesser General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with FreeCAD; if not, write to the Free Software *
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
#* USA *
#* *
#* Juergen Riegel 2002 *
#***************************************************************************/
import FreeCAD,os
FreeCAD.addImportType("OpenSCAD CSG Format (*.csg)","importCSG")
param = FreeCAD.ParamGet(\
"User parameter:BaseApp/Preferences/Mod/OpenSCAD")
openscadfilename = param.GetString('openscadexecutable')
openscadbin = openscadfilename and os.path.isfile(openscadfilename)
if openscadbin:
FreeCAD.addImportType("OpenSCAD Format (*.scad)","importCSG")
FreeCAD.addExportType("OpenSCAD CSG Format (*.csg)","exportCSG")
FreeCAD.addExportType("OpenSCAD Format (*.scad)","exportCSG")
# FreeCAD init script of the OpenSCAD module
# (c) 2001 Juergen Riegel
#***************************************************************************
#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 *
#* *
#* This file is part of the FreeCAD CAx development system. *
#* *
#* This program is free software; you can redistribute it and/or modify *
#* it under the terms of the GNU Lesser General Public License (LGPL) *
#* as published by the Free Software Foundation; either version 2 of *
#* the License, or (at your option) any later version. *
#* for detail see the LICENCE text file. *
#* *
#* FreeCAD is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Lesser General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with FreeCAD; if not, write to the Free Software *
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
#* USA *
#* *
#* Juergen Riegel 2002 *
#***************************************************************************/
import FreeCAD,os
FreeCAD.addImportType("OpenSCAD CSG Format (*.csg)","importCSG")
param = FreeCAD.ParamGet(\
"User parameter:BaseApp/Preferences/Mod/OpenSCAD")
openscadfilename = param.GetString('openscadexecutable')
openscadbin = openscadfilename and os.path.isfile(openscadfilename)
if openscadbin:
FreeCAD.addImportType("OpenSCAD Format (*.scad)","importCSG")
FreeCAD.addExportType("OpenSCAD CSG Format (*.csg)","exportCSG")
FreeCAD.addExportType("OpenSCAD Format (*.scad)","exportCSG")

View File

@@ -1,5 +1,5 @@
/** \defgroup OPENSCAD OpenSCAD
* \ingroup PYTHONWORKBENCHES
* \brief Interface with OpenSCAD
*/
/** \defgroup OPENSCAD OpenSCAD
* \ingroup PYTHONWORKBENCHES
* \brief Interface with OpenSCAD
*/

View File

@@ -1,54 +1,54 @@
<RCC>
<qresource>
<file>icons/preferences-openscad.svg</file>
<file>icons/OpenSCAD_AddOpenSCADElement.svg</file>
<file>icons/OpenSCAD_ColorCodeShape.svg</file>
<file>icons/OpenSCAD_RefineShapeFeature.svg</file>
<file>icons/OpenSCAD_IncreaseToleranceFeature.svg</file>
<file>icons/OpenSCAD_ReplaceObject.svg</file>
<file>icons/OpenSCAD_RemoveSubtree.svg</file>
<file>icons/OpenSCAD_Explode_Group.svg</file>
<file>icons/OpenSCAD_MeshBooleans.svg</file>
<file>icons/OpenSCAD_Hull.svg</file>
<file>icons/OpenSCAD_Minkowski.svg</file>
<file>icons/OpenSCADWorkbench.svg</file>
<file>ui/openscadprefs-base.ui</file>
<file>translations/OpenSCAD_tr.qm</file>
<file>translations/OpenSCAD_sv-SE.qm</file>
<file>translations/OpenSCAD_de.qm</file>
<file>translations/OpenSCAD_pl.qm</file>
<file>translations/OpenSCAD_fi.qm</file>
<file>translations/OpenSCAD_zh-TW.qm</file>
<file>translations/OpenSCAD_no.qm</file>
<file>translations/OpenSCAD_nl.qm</file>
<file>translations/OpenSCAD_pt-BR.qm</file>
<file>translations/OpenSCAD_uk.qm</file>
<file>translations/OpenSCAD_cs.qm</file>
<file>translations/OpenSCAD_sk.qm</file>
<file>translations/OpenSCAD_fr.qm</file>
<file>translations/OpenSCAD_ru.qm</file>
<file>translations/OpenSCAD_af.qm</file>
<file>translations/OpenSCAD_hr.qm</file>
<file>translations/OpenSCAD_es-ES.qm</file>
<file>translations/OpenSCAD_zh-CN.qm</file>
<file>translations/OpenSCAD_ja.qm</file>
<file>translations/OpenSCAD_ro.qm</file>
<file>translations/OpenSCAD_hu.qm</file>
<file>translations/OpenSCAD_it.qm</file>
<file>translations/OpenSCAD_pt-PT.qm</file>
<file>translations/OpenSCAD_sr.qm</file>
<file>translations/OpenSCAD_el.qm</file>
<file>translations/OpenSCAD_sl.qm</file>
<file>translations/OpenSCAD_eu.qm</file>
<file>translations/OpenSCAD_ca.qm</file>
<file>translations/OpenSCAD_gl.qm</file>
<file>translations/OpenSCAD_kab.qm</file>
<file>translations/OpenSCAD_ko.qm</file>
<file>translations/OpenSCAD_fil.qm</file>
<file>translations/OpenSCAD_id.qm</file>
<file>translations/OpenSCAD_lt.qm</file>
<file>translations/OpenSCAD_val-ES.qm</file>
<file>translations/OpenSCAD_ar.qm</file>
<file>translations/OpenSCAD_vi.qm</file>
</qresource>
</RCC>
<RCC>
<qresource>
<file>icons/preferences-openscad.svg</file>
<file>icons/OpenSCAD_AddOpenSCADElement.svg</file>
<file>icons/OpenSCAD_ColorCodeShape.svg</file>
<file>icons/OpenSCAD_RefineShapeFeature.svg</file>
<file>icons/OpenSCAD_IncreaseToleranceFeature.svg</file>
<file>icons/OpenSCAD_ReplaceObject.svg</file>
<file>icons/OpenSCAD_RemoveSubtree.svg</file>
<file>icons/OpenSCAD_Explode_Group.svg</file>
<file>icons/OpenSCAD_MeshBooleans.svg</file>
<file>icons/OpenSCAD_Hull.svg</file>
<file>icons/OpenSCAD_Minkowski.svg</file>
<file>icons/OpenSCADWorkbench.svg</file>
<file>ui/openscadprefs-base.ui</file>
<file>translations/OpenSCAD_tr.qm</file>
<file>translations/OpenSCAD_sv-SE.qm</file>
<file>translations/OpenSCAD_de.qm</file>
<file>translations/OpenSCAD_pl.qm</file>
<file>translations/OpenSCAD_fi.qm</file>
<file>translations/OpenSCAD_zh-TW.qm</file>
<file>translations/OpenSCAD_no.qm</file>
<file>translations/OpenSCAD_nl.qm</file>
<file>translations/OpenSCAD_pt-BR.qm</file>
<file>translations/OpenSCAD_uk.qm</file>
<file>translations/OpenSCAD_cs.qm</file>
<file>translations/OpenSCAD_sk.qm</file>
<file>translations/OpenSCAD_fr.qm</file>
<file>translations/OpenSCAD_ru.qm</file>
<file>translations/OpenSCAD_af.qm</file>
<file>translations/OpenSCAD_hr.qm</file>
<file>translations/OpenSCAD_es-ES.qm</file>
<file>translations/OpenSCAD_zh-CN.qm</file>
<file>translations/OpenSCAD_ja.qm</file>
<file>translations/OpenSCAD_ro.qm</file>
<file>translations/OpenSCAD_hu.qm</file>
<file>translations/OpenSCAD_it.qm</file>
<file>translations/OpenSCAD_pt-PT.qm</file>
<file>translations/OpenSCAD_sr.qm</file>
<file>translations/OpenSCAD_el.qm</file>
<file>translations/OpenSCAD_sl.qm</file>
<file>translations/OpenSCAD_eu.qm</file>
<file>translations/OpenSCAD_ca.qm</file>
<file>translations/OpenSCAD_gl.qm</file>
<file>translations/OpenSCAD_kab.qm</file>
<file>translations/OpenSCAD_ko.qm</file>
<file>translations/OpenSCAD_fil.qm</file>
<file>translations/OpenSCAD_id.qm</file>
<file>translations/OpenSCAD_lt.qm</file>
<file>translations/OpenSCAD_val-ES.qm</file>
<file>translations/OpenSCAD_ar.qm</file>
<file>translations/OpenSCAD_vi.qm</file>
</qresource>
</RCC>

File diff suppressed because it is too large Load Diff