-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
514 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@echo off | ||
setlocal | ||
|
||
REM ######################################################################## | ||
REM check if conda is available > | ||
REM check that diff_check environment is available > | ||
REM activate it | ||
REM ######################################################################## | ||
|
||
REM Check if conda command is available | ||
echo Checking if conda command is available... | ||
where conda >nul 2>nul | ||
if %ERRORLEVEL% equ 0 ( | ||
echo Conda command is available. | ||
goto :end | ||
) | ||
if exist "%USERPROFILE%\Anaconda3" ( | ||
echo Anaconda3 found in %USERPROFILE%\Anaconda3. | ||
goto :end | ||
) | ||
if exist "%ProgramData%\Anaconda3" ( | ||
echo Anaconda3 found in %ProgramData%\Anaconda3. | ||
goto :end | ||
) | ||
if exist "%ProgramFiles%\Anaconda3" ( | ||
echo Anaconda3 found in %ProgramFiles%\Anaconda3. | ||
goto :end | ||
) | ||
echo Anaconda3 not found, you won't be able to build the python wrap for diffcheck. Please install it first. | ||
exit /b 1 | ||
|
||
:end | ||
echo Anaconda3 found. | ||
|
||
REM Check if the diff_check environment is available | ||
call conda env list | findstr /C:"diff_check" >nul 2>nul | ||
if %ERRORLEVEL% neq 0 ( | ||
echo diff_check environment not found, creating it now... | ||
|
||
call conda env create -f environment.yml | ||
if %ERRORLEVEL% neq 0 ( | ||
echo Failed to create diff_check environment, please check the environment.yml file. | ||
exit /b 1 | ||
) | ||
) else ( | ||
echo diff_check environment is available, updating it now... | ||
|
||
call conda env update --name diff_check --file environment.yml --prune | ||
if %ERRORLEVEL% neq 0 ( | ||
echo Failed to update diff_check environment, please check the environment.yml file. | ||
exit /b 1 | ||
) | ||
) | ||
echo diff_check environment is up to date. | ||
|
||
REM activate the diff_check environment | ||
call conda activate diff_check | ||
echo diff_check environment activated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
@echo off | ||
setlocal | ||
|
||
REM activate the conda diff_check environment otherwise the python wrap won't work | ||
call cmake/activate_conda.bat | ||
|
||
REM build the project in Release mode | ||
cmake --build build --config Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
@echo off | ||
setlocal | ||
|
||
REM activate the conda diff_check environment otherwise the python wrap won't work | ||
call cmake/activate_conda.bat | ||
|
||
REM clean the build directory and reconfigure it | ||
rmdir /s /q build | ||
|
||
REM configure the project | ||
cmake -S . -B build -G "Visual Studio 16 2019" -A x64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
cmake -S . -B build | ||
@echo off | ||
setlocal | ||
|
||
REM activate the conda diff_check environment otherwise the python wrap won't work | ||
call cmake/activate_conda.bat | ||
|
||
REM configure the project | ||
cmake -S . -B build -G "Visual Studio 16 2019" -A x64 |
Submodule eigen
updated
from dcceb9 to 0ee5c9
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
Metadata-Version: 2.1 | ||
Name: diffCheck | ||
Version: 0.0.3 | ||
Version: 0.0.17 | ||
Summary: DiffCheck is a package to check the differences between two timber structures | ||
Home-page: https://github.com/diffCheckOrg/diffCheck | ||
Author: Andrea Settimi, Damien Gilliard, Eleni Skevaki, Marirena Kladeftira, Julien Gamerro, Stefana Parascho, and Yves Weinand | ||
Author-email: [email protected] | ||
License: UNKNOWN | ||
Description: # DiffCheck Grasshopper Plugin | ||
|
||
DiffCheck is a plugin for Rhino/Grasshopper that allows the user to compare a 3D model with its scan. | ||
|
||
More information to come | ||
Platform: UNKNOWN | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Classifier: Programming Language :: Python :: 3.9 | ||
Description-Content-Type: text/markdown | ||
Requires-Dist: numpy | ||
Requires-Dist: pybind11>=2.5.0 | ||
|
||
# DiffCheck Grasshopper Plugin | ||
|
||
DiffCheck is a plugin for Rhino/Grasshopper that allows the user to compare a 3D model with its scan. | ||
|
||
More information to come |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
numpy | ||
pybind11>=2.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
__version__ = "0.0.9" | ||
import os | ||
import sys | ||
|
||
__version__ = "0.0.17" | ||
|
||
PATH_TO_DLL = "dlls" | ||
extra_dll_dir = os.path.join(os.path.dirname(__file__), PATH_TO_DLL) | ||
os.add_dll_directory(extra_dll_dir) |
Binary file not shown.
Binary file modified
BIN
+161 Bytes
(200%)
src/gh/diffCheck/diffCheck/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file modified
BIN
-329 Bytes
(97%)
src/gh/diffCheck/diffCheck/__pycache__/df_geometries.cpython-39.pyc
Binary file not shown.
Binary file modified
BIN
+664 Bytes
(120%)
src/gh/diffCheck/diffCheck/__pycache__/df_joint_detector.cpython-39.pyc
Binary file not shown.
Binary file modified
BIN
-178 Bytes
(95%)
src/gh/diffCheck/diffCheck/__pycache__/df_transformations.cpython-39.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/gh/diffCheck/diffCheck/__pycache__/df_util.cpython-39.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.