Using dumb cloning for cqparts thrid-party library.
This commit is contained in:
parent
5b106d2231
commit
ab2629c5a4
8
Init.py
8
Init.py
|
@ -17,6 +17,12 @@ sys.path.insert(0, libs_dir_path)
|
|||
cq_lib_path = os.path.join(libs_dir_path, 'cadquery')
|
||||
sys.path.insert(1, cq_lib_path)
|
||||
|
||||
# Add our third party libraries so that they can be used in scripts
|
||||
third_party_path = os.path.join(module_base_path, 'ThirdParty')
|
||||
cqparts_base_path = os.path.join(third_party_path, 'cqparts')
|
||||
cqparts_path = os.path.join(cqparts_base_path, 'src')
|
||||
sys.path.append(cqparts_path)
|
||||
|
||||
# Make sure we get the right libs under the FreeCAD installation
|
||||
fc_base_path = os.path.dirname(os.path.dirname(module_base_path))
|
||||
fc_lib_path = os.path.join(fc_base_path, 'lib')
|
||||
|
@ -30,4 +36,4 @@ if os.path.exists(fc_bin_path):
|
|||
sys.path.insert(1, fc_bin_path)
|
||||
|
||||
# Need to set this for PyQode
|
||||
os.environ['QT_API'] = 'pyside'
|
||||
os.environ['QT_API'] = 'pyside'
|
||||
|
|
1
ThirdParty/cqparts
vendored
Submodule
1
ThirdParty/cqparts
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit d3b2893789c6c478aa08141a00c1ba63e6b5cd81
|
Loading…
Reference in New Issue
Block a user