Skip to content

Commit

Permalink
select file before building
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Nov 28, 2017
1 parent fe466e3 commit 111c978
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions makeBed.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,10 @@ while(MobileBaseCadManager.get( base).getProcesIndictor().getProgress()<1){
ThreadUtil.wait(1000)
println "Waiting for cad to get to 1, currently = "+MobileBaseCadManager.get(base).getProcesIndictor().getProgress()
}

File baseDirForFiles = com.neuronrobotics.nrconsole.util.FileSelectionFactory.GetDirectory(new File("/home/hephaestus/Desktop/armLinks/"))
List<CSG> totalAssembly = arrangeBed(base) ;
BowlerStudioController.setCsg(totalAssembly , null);


File baseDirForFiles = com.neuronrobotics.nrconsole.util.FileSelectionFactory.GetDirectory(new File("/home/hephaestus/Desktop/armLinks/"))

File dir = new File(baseDirForFiles.getAbsolutePath() + "/" + base.getScriptingName() );
if (!dir.exists())
dir.mkdirs();
Expand Down

0 comments on commit 111c978

Please sign in to comment.