From b8d86ccc0a3614bd0226a7f8baa4348512e144c6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 11 Feb 2022 15:27:52 +1100 Subject: File headers: use SPDX license identifiers See T95597 --- mesh_tools/__init__.py | 21 +++------------------ mesh_tools/face_inset_fillet.py | 20 +------------------- mesh_tools/mesh_edge_roundifier.py | 18 +----------------- mesh_tools/mesh_edges_floor_plan.py | 18 +----------------- mesh_tools/mesh_edgetools.py | 21 +++------------------ mesh_tools/mesh_extrude_and_reshape.py | 17 +---------------- mesh_tools/mesh_filletplus.py | 20 +------------------- mesh_tools/mesh_mextrude_plus.py | 18 +----------------- mesh_tools/mesh_offset_edges.py | 19 +------------------ mesh_tools/mesh_relax.py | 24 +++--------------------- mesh_tools/mesh_vertex_chamfer.py | 18 +----------------- mesh_tools/pkhg_faces.py | 2 +- mesh_tools/random_vertices.py | 2 +- mesh_tools/split_solidify.py | 20 +------------------- mesh_tools/vertex_align.py | 20 +------------------- 15 files changed, 21 insertions(+), 237 deletions(-) (limited to 'mesh_tools') diff --git a/mesh_tools/__init__.py b/mesh_tools/__init__.py index ff9a60bd..022d649f 100644 --- a/mesh_tools/__init__.py +++ b/mesh_tools/__init__.py @@ -1,25 +1,10 @@ -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later +# # Contributed to by: # meta-androcto, Hidesato Ikeya, zmj100, Gert De Roost, TrumanBlending, PKHG, # # Oscurart, Greg, Stanislav Blinov, komi3D, BlenderLab, Paul Marshall (brikbot), # # metalliandy, macouno, CoDEmanX, dustractor, Liero, lijenstina, Germano Cavalcante # -# Pistiwique, Jimmy Hazevoet # +# Pistiwique, Jimmy Hazevoet bl_info = { "name": "Edit Mesh Tools", diff --git a/mesh_tools/face_inset_fillet.py b/mesh_tools/face_inset_fillet.py index 8af709c1..a236f268 100644 --- a/mesh_tools/face_inset_fillet.py +++ b/mesh_tools/face_inset_fillet.py @@ -1,22 +1,4 @@ -# -*- coding: utf-8 -*- - -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later # based completely on addon by zmj100 # added some distance limits to prevent overlap - max12345 diff --git a/mesh_tools/mesh_edge_roundifier.py b/mesh_tools/mesh_edge_roundifier.py index 994d2b6f..7e1874e2 100644 --- a/mesh_tools/mesh_edge_roundifier.py +++ b/mesh_tools/mesh_edge_roundifier.py @@ -1,20 +1,4 @@ -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later bl_info = { "name": "Edge Roundifier", diff --git a/mesh_tools/mesh_edges_floor_plan.py b/mesh_tools/mesh_edges_floor_plan.py index a23cf73d..bff943d2 100644 --- a/mesh_tools/mesh_edges_floor_plan.py +++ b/mesh_tools/mesh_edges_floor_plan.py @@ -1,20 +1,4 @@ -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later # based upon the functionality of Mesh to wall by luxuy_BlenderCN # thanks to meta-androcto diff --git a/mesh_tools/mesh_edgetools.py b/mesh_tools/mesh_edgetools.py index b9b61958..90c46fef 100644 --- a/mesh_tools/mesh_edgetools.py +++ b/mesh_tools/mesh_edgetools.py @@ -1,22 +1,7 @@ -# The Blender Edgetools is to bring CAD tools to Blender. -# Copyright (C) 2012 Paul Marshall +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright 2012 Paul Marshall. -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -# ##### END GPL LICENSE BLOCK ##### +# The Blender Edgetools is to bring CAD tools to Blender. # diff --git a/mesh_tools/mesh_extrude_and_reshape.py b/mesh_tools/mesh_extrude_and_reshape.py index ee26cdcd..3776f79c 100644 --- a/mesh_tools/mesh_extrude_and_reshape.py +++ b/mesh_tools/mesh_extrude_and_reshape.py @@ -1,19 +1,4 @@ -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 3 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later # Contact for more information about the Addon: # Email: germano.costa@ig.com.br diff --git a/mesh_tools/mesh_filletplus.py b/mesh_tools/mesh_filletplus.py index 73e62198..c2ee13d5 100644 --- a/mesh_tools/mesh_filletplus.py +++ b/mesh_tools/mesh_filletplus.py @@ -1,22 +1,4 @@ -# -*- coding: utf-8 -*- - -# ##### END GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later bl_info = { "name": "FilletPlus", diff --git a/mesh_tools/mesh_mextrude_plus.py b/mesh_tools/mesh_mextrude_plus.py index eea04a51..c811db51 100644 --- a/mesh_tools/mesh_mextrude_plus.py +++ b/mesh_tools/mesh_mextrude_plus.py @@ -1,20 +1,4 @@ -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later # Repeats extrusion + rotation + scale for one or more faces # Original code by liero diff --git a/mesh_tools/mesh_offset_edges.py b/mesh_tools/mesh_offset_edges.py index d2c88867..b2559baf 100644 --- a/mesh_tools/mesh_offset_edges.py +++ b/mesh_tools/mesh_offset_edges.py @@ -1,21 +1,4 @@ -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ***** END GPL LICENCE BLOCK ***** +# SPDX-License-Identifier: GPL-2.0-or-later bl_info = { "name": "Offset Edges", diff --git a/mesh_tools/mesh_relax.py b/mesh_tools/mesh_relax.py index 03547769..119cc368 100644 --- a/mesh_tools/mesh_relax.py +++ b/mesh_tools/mesh_relax.py @@ -1,25 +1,7 @@ -# mesh_relax.py Copyright (C) 2010, Fabian Fricke -# +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright 2010 Fabian Fricke. + # Relaxes selected vertices while retaining the shape as much as possible -# -# ***** BEGIN GPL LICENSE BLOCK ***** -# -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ***** END GPL LICENCE BLOCK ***** bl_info = { "name": "Relax", diff --git a/mesh_tools/mesh_vertex_chamfer.py b/mesh_tools/mesh_vertex_chamfer.py index e43d0729..860d54a4 100644 --- a/mesh_tools/mesh_vertex_chamfer.py +++ b/mesh_tools/mesh_vertex_chamfer.py @@ -1,20 +1,4 @@ -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later # diff --git a/mesh_tools/pkhg_faces.py b/mesh_tools/pkhg_faces.py index 93a05209..1e9ee349 100644 --- a/mesh_tools/pkhg_faces.py +++ b/mesh_tools/pkhg_faces.py @@ -1,4 +1,4 @@ -# gpl author: PHKG +# SPDX-License-Identifier: GPL-2.0-or-later bl_info = { "name": "PKHG faces", diff --git a/mesh_tools/random_vertices.py b/mesh_tools/random_vertices.py index 8025b577..ad6d8b41 100644 --- a/mesh_tools/random_vertices.py +++ b/mesh_tools/random_vertices.py @@ -1,4 +1,4 @@ -# gpl authors: Oscurart, Greg +# SPDX-License-Identifier: GPL-2.0-or-later bl_info = { "name": "Random Vertices", diff --git a/mesh_tools/split_solidify.py b/mesh_tools/split_solidify.py index 1ac952bc..116c7acf 100644 --- a/mesh_tools/split_solidify.py +++ b/mesh_tools/split_solidify.py @@ -1,22 +1,4 @@ -# -*- coding: utf-8 -*- - -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later bl_info = { "name": "Split Solidify", diff --git a/mesh_tools/vertex_align.py b/mesh_tools/vertex_align.py index 41d09a71..ec1c812b 100644 --- a/mesh_tools/vertex_align.py +++ b/mesh_tools/vertex_align.py @@ -1,22 +1,4 @@ -# -*- coding: utf-8 -*- - -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# SPDX-License-Identifier: GPL-2.0-or-later # Note: Property group was moved to __init__ -- cgit v1.2.3