Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
44db1e9
adding manifold
madhephaestus Apr 16, 2026
7220d1d
Update to use the new Manifold CSG engine
madhephaestus Apr 16, 2026
7e717db
kernel
madhephaestus Apr 16, 2026
9a1a885
formatting
madhephaestus Apr 16, 2026
acd0432
add preview feature
madhephaestus Apr 16, 2026
06404ed
set cadoodle controls
madhephaestus Apr 17, 2026
4df3c46
ci runner working
madhephaestus Apr 17, 2026
b199fe2
kernel
madhephaestus Apr 17, 2026
44645d2
formatting
madhephaestus Apr 17, 2026
3b5c130
kernel
madhephaestus Apr 17, 2026
11ed768
kernel
madhephaestus Apr 18, 2026
17700e7
formatting
madhephaestus Apr 18, 2026
eb73a50
make the subscene have a mouse event
madhephaestus Apr 18, 2026
5b48c84
prevent lockout
madhephaestus Apr 20, 2026
acb9d82
fix the lighting to also light the CSG's added
madhephaestus Apr 20, 2026
b08a678
formatting
madhephaestus Apr 20, 2026
52583c2
Add API's to only allow internal access to the subscene
madhephaestus Apr 20, 2026
ed55077
change how the UI is loaded. add the viewCOntroller to handle mouse to
madhephaestus Apr 20, 2026
78eb1b1
formatting
madhephaestus Apr 20, 2026
933734f
remove junk prints
madhephaestus Apr 20, 2026
9399583
remove debug prints
madhephaestus Apr 20, 2026
cb8e186
spotless
madhephaestus Apr 20, 2026
6caa08a
reinitialize display for tests
madhephaestus Apr 20, 2026
11d313a
Update release.yml
madhephaestus Apr 20, 2026
cfffa06
no x emulation
madhephaestus Apr 20, 2026
c1ae217
Update release.yml
madhephaestus Apr 20, 2026
8bcf2ee
remove testes entirely from release, causing hangs
madhephaestus Apr 20, 2026
39237fe
kernel
madhephaestus Apr 21, 2026
7ed8f9a
formatting
madhephaestus Apr 21, 2026
0f7198d
kernel
madhephaestus Apr 21, 2026
1d4b72d
formatting
madhephaestus Apr 21, 2026
5c06a81
notify log when close of splash is prevented
madhephaestus Apr 21, 2026
6409d65
formatting
madhephaestus Apr 21, 2026
f50be6e
Merge branch 'development' of
madhephaestus Apr 21, 2026
186ced9
kernel to development
madhephaestus Apr 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ jobs:
with:
java-version: 21
jdkFile: zulu21.46.19-ca-fx-jdk21.0.9-linux_x64.tar.gz

- name: Run Unit Tests
run: xvfb-run -s '-screen 0 1024x768x24' ./gradlew test
- name: release
uses: actions/create-release@v1
id: create_release
Expand Down
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,17 @@ jar {
)
}
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs += ['--enable-preview']
}

tasks.withType(Test).configureEach {
jvmArgs '--enable-preview'
}

tasks.withType(JavaExec).configureEach {
jvmArgs '--enable-preview'
}
task ('showAll') {
doLast {
allprojects.each {
Expand Down
10 changes: 5 additions & 5 deletions jvm.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
,
"type":"tar.gz",
"name":"zulu21.46.19-ca-fx-jdk21.0.9-linux_x64",
"jvmargs":["-Dprism.forceGPU=true","-XX:MaxRAMPercentage=90.0", "--add-exports",
"jvmargs":["--enable-preview","-Dprism.forceGPU=true","-XX:MaxRAMPercentage=90.0", "--add-exports",
"javafx.graphics/com.sun.javafx.css=ALL-UNNAMED",
"--add-exports",
"javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED",
Expand All @@ -26,7 +26,7 @@
,
"type":"tar.gz",
"name":"zulu17.52.17-ca-fx-jdk17.0.12-linux_aarch64",
"jvmargs":["-Dprism.forceGPU=true","-XX:MaxRAMPercentage=90.0", "--add-exports",
"jvmargs":["--enable-preview","-Dprism.forceGPU=true","-XX:MaxRAMPercentage=90.0", "--add-exports",
"javafx.graphics/com.sun.javafx.css=ALL-UNNAMED",
"--add-exports",
"javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED",
Expand All @@ -48,7 +48,7 @@
,
"type":"zip",
"name":"zulu21.46.19-ca-fx-jdk21.0.9-win_x64",
"jvmargs":["-XX:MaxRAMPercentage=90.0", "--add-exports",
"jvmargs":["--enable-preview","-XX:MaxRAMPercentage=90.0", "--add-exports",
"javafx.graphics/com.sun.javafx.css=ALL-UNNAMED",
"--add-exports",
"javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED",
Expand All @@ -70,7 +70,7 @@
,
"type":"zip",
"name":"zulu21.46.19-ca-fx-jdk21.0.9-macosx_x64",
"jvmargs":["-Dprism.forceGPU=true","-XX:MaxRAMPercentage=90.0", "--add-exports",
"jvmargs":["--enable-preview","-Dprism.forceGPU=true","-XX:MaxRAMPercentage=90.0", "--add-exports",
"javafx.graphics/com.sun.javafx.css=ALL-UNNAMED",
"--add-exports",
"javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED",
Expand All @@ -92,7 +92,7 @@
,
"type":"zip",
"name":"zulu21.46.19-ca-fx-jdk21.0.9-macosx_aarch64",
"jvmargs":["-Dprism.forceGPU=true","-XX:MaxRAMPercentage=90.0", "--add-exports",
"jvmargs":["--enable-preview","-Dprism.forceGPU=true","-XX:MaxRAMPercentage=90.0", "--add-exports",
"javafx.graphics/com.sun.javafx.css=ALL-UNNAMED",
"--add-exports",
"javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import com.neuronrobotics.sdk.config.SDKBuildInfo;
import com.neuronrobotics.sdk.util.ThreadUtil;
import eu.mihosoft.vrl.v3d.CSG;
import eu.mihosoft.vrl.v3d.CSG.OptType;
import eu.mihosoft.vrl.v3d.parametrics.CSGDatabase;
import eu.mihosoft.vrl.v3d.parametrics.CSGDatabaseInstance;
import javafx.application.Application;
Expand Down Expand Up @@ -132,7 +133,7 @@ public static void main(String[] args) throws Exception {
// TODO Auto-generated catch block
Log.error(e);
}

CSG.setDefaultOptType(OptType.Manifold3d);
DownloadManager.setSTUDIO_INSTALL("BowlerStudioInstall");

if (args.length != 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1660,6 +1660,7 @@ public void onLogin(String arg0) {
new Thread(r).start();

CreatureLab3dController.getEngine().setControls(showRuler, idlespin, autohighlight);
CreatureLab3dController.getEngine().reattachMouseHandlers();
WindowMenu.getItems().addAll(showRuler, idlespin, autohighlight, showCSGProgress, useAdvancedSTL);

new Thread() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,19 +165,15 @@ void initialize() {

private void setupUi() {
BowlerStudio.runLater(() -> {
getEngine().getSubScene().setFocusTraversable(false);
getEngine().getSubScene().widthProperty().bind(viewContainer.widthProperty());
getEngine().getSubScene().heightProperty().bind(viewContainer.heightProperty());
getEngine().setFocusTraversable(false);
getEngine().bind(viewContainer);
});
BowlerStudio.runLater(() -> {
Group controlsBox = getEngine().getControlsBox(AssetFactory.loadIcon("Home-Camera.png"),
AssetFactory.loadIcon("Generate-Cad.png"), AssetFactory.loadIcon("Clear-Screen.png"));
jfx3dControls.getChildren().add(controlsBox);
viewContainer.getChildren().add(getEngine().getSubScene());
AnchorPane.setTopAnchor(getEngine().getSubScene(), 0.0);
AnchorPane.setRightAnchor(getEngine().getSubScene(), 0.0);
AnchorPane.setLeftAnchor(getEngine().getSubScene(), 0.0);
AnchorPane.setBottomAnchor(getEngine().getSubScene(), 0.0);
getEngine().addTo(viewContainer);
getEngine().handleMouse(viewContainer);
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import java.awt.Graphics2D;
import java.util.function.BooleanSupplier;

import org.jfree.util.Log;

public class SplashManager {
private static Graphics2D splashGraphics;

Expand All @@ -20,8 +22,10 @@ private static void closeSplashLocal() {
splashGraphics = null;
return;
}
if (closePreventer.getAsBoolean())
if (closePreventer.getAsBoolean()) {
Log.debug("Close prevented by " + closePreventer);
return;
}
PsudoSplash.close();
}

Expand Down
Loading
Loading