Skip to content

Commit

Permalink
sorry dev :(, I don't want change
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Mar 15, 2024
1 parent 29e99ac commit 487934c
Show file tree
Hide file tree
Showing 30 changed files with 452 additions and 24 deletions.
2 changes: 1 addition & 1 deletion APSToolkitPython/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"License :: gnu-gpl-v3.0",
"Operating System :: OS Independent",
],
package_dir={"": "src"},
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/Auth.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
import os
import requests
from .Token import Token
Expand Down
18 changes: 17 additions & 1 deletion APSToolkitPython/src/aps_toolkit/BIM360.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
import requests
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
import requests
import pandas as pd
from .Auth import Auth

Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/DbReader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
import os
import requests
from .Auth import Auth
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/Derivative.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
import requests
import gzip
from io import BytesIO
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/Fragments.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
from .PackFileReader import PackFileReader
from .Derivative import Derivative
from .ManifestItem import ManifestItem
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/Geometries.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
from .Derivative import Derivative
from .PackFileReader import PackFileReader

Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/InputStream.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
import struct

class InputStream:
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/ManifestItem.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
from .PathInfo import PathInfo


Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/MaterialProperties.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
class MaterialProperties:
def __init__(self, integers, booleans, strings, uris, scalars, colors, choicelists, uuids, references):
self.integers = integers
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/Materials.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
from .MaterialProperties import MaterialProperties
from .SVFMaterialMap import SVFMaterialMap

Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/Mesh.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
from .SVFUVMap import SVFUVMap
from .PackFileReader import PackFileReader
import math
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/PackFileReader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
import struct
import gzip
from io import BytesIO
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/PathInfo.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
class PathInfo:
def __init__(self, root_file_name=None, base_path=None, local_path=None, urn=None):
self.root_file_name = root_file_name
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/ProDbReaderRevit.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
from typing import List
import re
import pandas as pd
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/PropReader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
import gzip
import json
import re
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/Resource.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
from urllib.parse import urljoin, quote

class Resource:
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/SVFContent.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
class SVFContent:
def __init__(self, metadata,fragments,geometry,meshpacks,materials,properties,images):
self.metadata = metadata
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/SVFLines.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
class SVFLines:
def __init__(self, isLines=False, v_count=None, l_count=None, vertices=None, indices=None, colors=None,
line_width=None):
Expand Down
16 changes: 16 additions & 0 deletions APSToolkitPython/src/aps_toolkit/SVFManifestType.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
"""
Copyright (C) 2024 chuongmep.com
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 <http://www.gnu.org/licenses/>.
"""
class SVFManifestType:
def __init__(self, type_class="", type="", version=0):
self.type_class = type_class
Expand Down
Loading

0 comments on commit 487934c

Please sign in to comment.