Run arbitrary scripts from Cmd command line
This commit is contained in:
parent
33318314d8
commit
95c9259765
10
.kdev4/.kdev4/FCMasterMerge.kdev4
Normal file
10
.kdev4/.kdev4/FCMasterMerge.kdev4
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Buildset]
|
||||
BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00&\x00F\x00C\x00M\x00a\x00s\x00t\x00e\x00r\x00M\x00e\x00r\x00g\x00e\x00.\x00k\x00d\x00e\x00v\x004)
|
||||
|
||||
[Defines And Includes][Compiler]
|
||||
Name=GCC
|
||||
Path=gcc
|
||||
Type=GCC
|
||||
|
||||
[Project]
|
||||
VersionControlSupport=kdevgit
|
41
.kdev4/FCMasterMerge.kdev4
Normal file
41
.kdev4/FCMasterMerge.kdev4
Normal file
|
@ -0,0 +1,41 @@
|
|||
[CMake]
|
||||
Build Directory Count=1
|
||||
Current Build Directory Index=0
|
||||
ProjectRootRelative=./
|
||||
|
||||
[CMake][CMake Build Directory 0]
|
||||
Build Directory Path=file:///home/stefan/Projects/FCMasterMerge/build
|
||||
Build Type=Debug
|
||||
CMake Binary=file:///usr/bin/cmake
|
||||
Environment Profile=
|
||||
Extra Arguments=
|
||||
Install Directory=file:///usr/local
|
||||
|
||||
[Defines And Includes][Compiler]
|
||||
Name=GCC
|
||||
Path=gcc
|
||||
Type=GCC
|
||||
|
||||
[Launch]
|
||||
Launch Configurations=Launch Configuration 0
|
||||
|
||||
[Launch][Launch Configuration 0]
|
||||
Configured Launch Modes=execute
|
||||
Configured Launchers=nativeAppLauncher
|
||||
Name=FreeCADMain
|
||||
Type=Native Application
|
||||
|
||||
[Launch][Launch Configuration 0][Data]
|
||||
Arguments=
|
||||
Dependencies=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x04\x00\x00\x00\x1a\x00F\x00C\x00M\x00a\x00s\x00t\x00e\x00r\x00M\x00e\x00r\x00g\x00e\x00\x00\x00\x06\x00s\x00r\x00c\x00\x00\x00\x08\x00M\x00a\x00i\x00n\x00\x00\x00\x16\x00F\x00r\x00e\x00e\x00C\x00A\x00D\x00M\x00a\x00i\x00n)
|
||||
Dependency Action=Nothing
|
||||
EnvironmentGroup=
|
||||
Executable=file:///home/stefan/Projects/FCMasterMerge/build/bin/FreeCAD
|
||||
External Terminal=konsole --noclose --workdir %workdir -e %exe
|
||||
Project Target=FCMasterMerge,src,Main,FreeCADMain
|
||||
Use External Terminal=false
|
||||
Working Directory=
|
||||
isExecutable=true
|
||||
|
||||
[Project]
|
||||
VersionControlSupport=kdevgit
|
3
FCMasterMerge.kdev4
Normal file
3
FCMasterMerge.kdev4
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Project]
|
||||
Manager=KDevCMakeManager
|
||||
Name=FCMasterMerge
|
|
@ -1334,7 +1334,7 @@ void Application::processFiles(const std::list<std::string>& files)
|
|||
Base::Interpreter().runFile(file.filePath().c_str(), true);
|
||||
}
|
||||
else if (file.hasExtension("py")) {
|
||||
try {
|
||||
try{
|
||||
Base::Interpreter().loadModule(file.fileNamePure().c_str());
|
||||
}
|
||||
catch(const PyException&) {
|
||||
|
|
2169
src/App/Application.cpp.orig
Normal file
2169
src/App/Application.cpp.orig
Normal file
File diff suppressed because it is too large
Load Diff
3
src/Mod/Assembly/DevAssembly.py
Normal file
3
src/Mod/Assembly/DevAssembly.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
import FreeCAD,Assembly
|
||||
|
||||
print "Script to test the assembly development"
|
Loading…
Reference in New Issue
Block a user