We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3628cbf commit e40eef7Copy full SHA for e40eef7
1 file changed
src/main/java/eu/mihosoft/vrl/v3d/CSG.java
@@ -876,6 +876,15 @@ public CSG dumbUnion(CSG csg) {
876
* @return union of this csg and the specified csgs
877
*/
878
public CSG union(List<CSG> csgs) {
879
+ if (CSGClient.isRunning()) {
880
+ ArrayList<CSG> go = new ArrayList<CSG>(csgs);
881
+ try {
882
+ return CSGClient.getClient().union(go).get(0);
883
+ } catch (Exception e) {
884
+ // TODO Auto-generated catch block
885
+ e.printStackTrace();
886
+ }
887
888
CSG result = this;
889
890
for (int i = 0; i < csgs.size(); i++) {
0 commit comments