Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
817 commits
Select commit Hold shift + click to select a range
485e5d9
fixing imports for Maven deps
madhephaestus Jan 10, 2024
610a03c
adding doxygen
madhephaestus Feb 29, 2024
cc4fd36
generating working doxygen
madhephaestus Feb 29, 2024
01d26c7
ignore the generated html dir
madhephaestus Feb 29, 2024
dd816e1
adding a documentation section to JavaCAD
madhephaestus Feb 29, 2024
c65cd80
update script clones just once
madhephaestus Feb 29, 2024
cfecdf0
add a scalled text method
madhephaestus Feb 29, 2024
6fe1b24
Add CoM and always return 'this' for chainloading examples
madhephaestus May 15, 2024
0becf18
check to make sure the CoM is defined within the object
madhephaestus May 15, 2024
f4b407b
return the value passed as the default if no mass present
madhephaestus May 15, 2024
3696ed1
add helper function to check if mass is set
madhephaestus May 15, 2024
c8d4b21
do not make name get bigger and bigger
madhephaestus May 17, 2024
6c913c9
Add API for syncing properties in the property storage
madhephaestus May 17, 2024
9349cdb
Correctly calculate the toroid dimentions from incomming data
madhephaestus May 17, 2024
f30597c
large sphere warning instead of slice cap
madhephaestus May 22, 2024
3312e35
Checking vertexs in the Face and Vector3d for NaN
madhephaestus May 31, 2024
aa49a7c
Adding a unit test to detect bad Hull parameters
madhephaestus May 31, 2024
6acd3c6
Adding checks for valid lists of points
madhephaestus May 31, 2024
6c88d4a
Adding unit test for SVG loading
madhephaestus Jul 2, 2024
f223c8f
adding some checking so slices can always have something to slice
madhephaestus Jul 9, 2024
a6ad60b
adding a too thin check
madhephaestus Jul 9, 2024
7689c65
Adding Helper functions for groups, holes and scale to size
madhephaestus Jul 25, 2024
0410ac8
Allow a longer timmeout for publishing and validation
madhephaestus Jul 25, 2024
6799490
Attempting to debug the release problem
madhephaestus Jul 25, 2024
23b3a35
removing unknown flag
madhephaestus Jul 25, 2024
cfb6738
reducing configs
madhephaestus Jul 25, 2024
bed8e58
Try to capture the repo ID in the code
madhephaestus Jul 25, 2024
28f45cf
WOrking with changes to Maven Central
madhephaestus Jul 25, 2024
4d6a33d
re-add the publish
madhephaestus Jul 25, 2024
786a932
Adding a clear to the group membership
madhephaestus Jul 25, 2024
1b53766
adding helpers for lock and hide
madhephaestus Jul 25, 2024
2f1e543
// the split cna fail on binary stls
madhephaestus Jul 29, 2024
a97352d
close https://github.com/CommonWealthRobotics/BowlerStudio/issues/416
madhephaestus Jul 29, 2024
0b907ec
changing the groupping behavior to use lists of groups
madhephaestus Jul 30, 2024
ffcae26
Ensure the HashSets of properties are cloned into new sets to avoid data
madhephaestus Jul 30, 2024
e8bc0bd
remove junk import
madhephaestus Jul 30, 2024
92f2826
unit test to ensure grouping doesnt break
madhephaestus Jul 30, 2024
70c3c23
Adding tessalation for Adam
madhephaestus Jul 30, 2024
d2d5416
fixed typo
JansenSmith Jul 30, 2024
d510d7c
modded tessellate to use offset matrix
JansenSmith Jul 31, 2024
53e9484
added ability to specify offsets as args instead of a matrix
JansenSmith Jul 31, 2024
59aa7e1
added a bunch of ease of usage methods
JansenSmith Jul 31, 2024
6781a33
switched default method to be more verbose version
JansenSmith Jul 31, 2024
4382fa6
remove ai slop documentation
JansenSmith Jul 31, 2024
7daeb38
removed duplicate method
JansenSmith Jul 31, 2024
5eb0c0b
fixed hex to use tessxy
JansenSmith Jul 31, 2024
8f688c9
added custom doxygen to override methods
JansenSmith Jul 31, 2024
45c91ee
added 2d offset matrix helper method to tessxy
JansenSmith Jul 31, 2024
208ee06
Merge pull request #51 from JansenSmith/js-fixtess
madhephaestus Jul 31, 2024
90a7374
Update the storage when setting the color to CSG
breiler Aug 9, 2024
af7d29c
Merge pull request #54 from breiler/polygon-colors
madhephaestus Aug 10, 2024
0b338c9
Attempting to move color information into the polygons in a way that
madhephaestus Aug 11, 2024
e35c8c6
Merge pull request #57 from NeuronRobotics/kh/fix-colors-through-ops
madhephaestus Aug 12, 2024
8868181
Copy the color of the polygon on triangulation
breiler Aug 12, 2024
303517e
Merge pull request #58 from breiler/copy-color-triangulate
madhephaestus Aug 12, 2024
3921b62
remove jcanetral
madhephaestus Aug 12, 2024
61c0dca
Merge branch 'development' of https://github.com/NeuronRobotics/JCSG.…
madhephaestus Aug 12, 2024
bd2fa17
Copy the color of the polygons on difference operations
breiler Aug 13, 2024
830f0ae
Merge pull request #59 from breiler/copy-color-on-difference
madhephaestus Aug 17, 2024
84c92a1
ensure that the getParamListeners can not return null
madhephaestus Aug 27, 2024
363c3e0
setting the color of the base CSG and sync it through opperations
madhephaestus Aug 27, 2024
0f7862a
ensure the CSG database is concurrent safe
madhephaestus Aug 30, 2024
bf2b992
fixing a class cast exception
madhephaestus Aug 30, 2024
5822986
ensure Bounds can be serialized and stored
madhephaestus Aug 31, 2024
83e6adc
Removing the breaking change away from Vector3d
madhephaestus Sep 1, 2024
1c49b97
adding helper methods like the CSG methods for geting the extents
madhephaestus Sep 1, 2024
28a8055
Adding adversarial SVG
madhephaestus Oct 14, 2024
a10a30b
Fix the incorrectly computed normal
madhephaestus Oct 14, 2024
a40dec3
Making the polygon loading more robust by detectiing invalid normals and
madhephaestus Oct 14, 2024
a7b735b
De-Duplicating on the event of loading the SVG prevents downstream
madhephaestus Oct 14, 2024
830cd15
Not overly agressive with the polygon rejection
madhephaestus Oct 14, 2024
52948fb
clear the parameter listeners
madhephaestus Oct 23, 2024
4b0b1f9
Merge branch 'development' of https://github.com/NeuronRobotics/JCSG.…
madhephaestus Oct 23, 2024
730e0f5
synchronize the listeners while clearing
madhephaestus Oct 23, 2024
a6c4892
removing all print statements
madhephaestus Oct 27, 2024
adcc0bf
Removing all in-code print statements
madhephaestus Oct 27, 2024
0b9bb8f
ignote unit test outputs
madhephaestus Oct 27, 2024
3a4ed88
removing all print statements from teh running code entirely
madhephaestus Oct 27, 2024
91b00e4
loading the polygons it can load and letting the overlapping polygons
madhephaestus Oct 27, 2024
8ada780
whitespace
madhephaestus Oct 27, 2024
380c6fb
names should not be able to be null
madhephaestus Oct 27, 2024
021a957
disallow the null setting of layer names
madhephaestus Oct 28, 2024
e18f463
Remove the exceptions when the error polygon is just ignored
madhephaestus Oct 28, 2024
02055f8
Adding a method to re-load the db from file
madhephaestus Nov 3, 2024
5974f4a
Attempt robust normal setting
madhephaestus Nov 10, 2024
c8dd04d
Adding unit test for damaged STL
madhephaestus Nov 10, 2024
b0de6e1
The source of the bad points can be traced back to this change
madhephaestus Nov 11, 2024
e4e247a
Attempting to make better the conditions causing this:
madhephaestus Nov 16, 2024
89f967d
https://github.com/CommonWealthRobotics/BowlerStudio/issues/431
madhephaestus Nov 16, 2024
3f8f621
make test robust
madhephaestus Nov 16, 2024
f82ba8d
Major change to the STL import and EXPORt methods
madhephaestus Nov 18, 2024
a0e2e03
Final tweaks to the epsilons to make the loading and export corrected
madhephaestus Nov 18, 2024
b44276a
Make the epsilon values adjustable
madhephaestus Nov 18, 2024
31f1c5e
Change the epsilon setting to be an offset from the plane epsilon
madhephaestus Nov 18, 2024
8ff6c6c
Adding a parallell compute test for testing AParaAPI
madhephaestus Nov 18, 2024
98811e5
Merge branch 'development' of git@github.com:NeuronRobotics/JCSG.git …
madhephaestus Nov 18, 2024
5c002df
checking new algorithms for point checking
madhephaestus Nov 19, 2024
1251163
Switching the search pattern over to indexed for loops
madhephaestus Nov 19, 2024
b13179b
remove the bug
madhephaestus Nov 19, 2024
40cd575
use index compaire
madhephaestus Nov 19, 2024
c1086b5
make the CPU manifold test be threaded
madhephaestus Nov 20, 2024
a3eaf7f
convert floats to doubles
madhephaestus Nov 21, 2024
a18bff5
adjusting the meshing tollerences for clean export/import and plane
madhephaestus Nov 21, 2024
1e306e5
formatting and prints
madhephaestus Nov 23, 2024
030f361
remove comments
madhephaestus Nov 23, 2024
e603832
Merge branch 'development' of git@github.com:NeuronRobotics/JCSG.git
madhephaestus Nov 23, 2024
64e5cd0
fix typo
madhephaestus Nov 23, 2024
d430e23
add getter for regenerate method
madhephaestus Dec 7, 2024
f0ef3c7
Merge branch 'development' of git@github.com:NeuronRobotics/JCSG.git …
madhephaestus Dec 7, 2024
f52b6c3
Merge branch 'development' of git@github.com:NeuronRobotics/JCSG.git
madhephaestus Dec 8, 2024
4cdd9ae
ArrayList elements need to be copied over in additiona to the other raw
madhephaestus Dec 14, 2024
a76d5c4
remove junk import
madhephaestus Dec 14, 2024
ab1826c
Checked the development banch with these parameters:
madhephaestus Dec 14, 2024
a6da0ff
Copy over lists when syncing lists
madhephaestus Dec 14, 2024
cf25ced
setting both the plane and export epsilons
madhephaestus Dec 15, 2024
7f6af18
remove generated TODO's
madhephaestus Dec 27, 2024
552527a
Merge branch 'development' of github.com:NeuronRobotics/JCSG into dev…
madhephaestus Dec 27, 2024
df2dfc7
SVG loading should detect if a polygon is a hole when the polygon is
madhephaestus Dec 27, 2024
21878fc
keep the color stable
madhephaestus Dec 28, 2024
365ad63
Adding an adversarial SVG load
madhephaestus Jan 5, 2025
bfb4ac2
update svg
madhephaestus Jan 6, 2025
86949d5
transmit the color information through the polygon
madhephaestus Jan 11, 2025
fd4663c
Adding the sweep methods
madhephaestus Jan 16, 2025
98313f9
Fixing the extrude process
madhephaestus Jan 16, 2025
599c513
Minimal changes version of the update of passing in the plane when
madhephaestus Feb 7, 2025
b783c58
make unit test pass
madhephaestus Feb 7, 2025
a72f569
removing adversarial test
madhephaestus Feb 7, 2025
e658c92
scale triangle generation to avoid internal epsilon unknown
madhephaestus Feb 7, 2025
62b1940
Read the Normal from the STL file
madhephaestus Feb 7, 2025
3ed53dd
adding option to have triangualtion be done without changing winding
madhephaestus Feb 7, 2025
01bf1f7
Attempting to narrow down the STL loading error
madhephaestus Feb 10, 2025
953e33f
Updating the test method to be distance based
madhephaestus Feb 10, 2025
e55fbb8
tighter testing
madhephaestus Feb 10, 2025
deb1ba2
Forcing the test epsilon to be looser thant the plane epsilon
madhephaestus Feb 10, 2025
a60682b
38 open edges!
madhephaestus Feb 11, 2025
8624ec6
making the test perform triangulation before operations and checking the
madhephaestus Feb 11, 2025
4178e98
test triangulation before adding polygons
madhephaestus Feb 11, 2025
3d2411f
triangulate primitives
madhephaestus Feb 11, 2025
afcba2c
count the failed polygons
madhephaestus Feb 11, 2025
6d1df56
rumove unused epsilon
madhephaestus Feb 11, 2025
5e1948a
keep the prune deactivated
madhephaestus Feb 11, 2025
1a4ff90
remove unused function
madhephaestus Feb 11, 2025
1e45b5c
renaming the stlExpots and setting epsilons to default values that
madhephaestus Feb 11, 2025
7c85608
restore the curve segments to text extrude
madhephaestus Feb 11, 2025
c4e0753
Merge pull request #65 from NeuronRobotics/kh/polygonPrivatePoints
madhephaestus Feb 12, 2025
b9793e6
removing excessive triangulation and the print statements
madhephaestus Feb 23, 2025
95c6cd7
update get plane
madhephaestus Mar 1, 2025
bb46999
formatting
madhephaestus Mar 2, 2025
54037d2
add a colinearity check to avoid importing points that are all colinear
madhephaestus Mar 2, 2025
fcef91c
remove source thats unused
madhephaestus Mar 2, 2025
8356144
update contains, add coliearity on edge checka nd add crossing check
madhephaestus Mar 2, 2025
f0af3a2
update tostring and the print decimapsl
madhephaestus Mar 2, 2025
5e6e46c
add an edge crossing check and prune points in the crossing loops.
madhephaestus Mar 2, 2025
7c4125f
adding a CSG op to the test.
madhephaestus Mar 2, 2025
2ad7811
move repair to an interface the is user swappable.
madhephaestus Mar 2, 2025
515c380
remove junk imports
madhephaestus Mar 2, 2025
cd289bf
Update FUNDING.yml
madhephaestus May 16, 2025
5a78984
Merge pull request #66 from NeuronRobotics/madhephaestus-patch-1
madhephaestus May 16, 2025
cb61127
Adding a transform provider into the sweep to add spiral features
madhephaestus May 17, 2025
91abd7b
use the final polygon as the end cap
madhephaestus May 17, 2025
ce636f9
testing the spiral sweep with an STL output first
madhephaestus May 17, 2025
48b3036
Convert the CSGDataabase into an object orented singelton, that can be
madhephaestus May 18, 2025
889b632
Adding a server client system for JCSG operations
madhephaestus May 26, 2025
7da55d4
SSL Encryption of the network traffic
madhephaestus May 27, 2025
b4a6f66
ignore the certifigute file
madhephaestus May 27, 2025
9d1652e
adding bouncy castel SSL keygen in pure java
madhephaestus May 27, 2025
1f24fa4
Made the pure Java SSL work!
madhephaestus May 27, 2025
9779e08
removing the keytool references
madhephaestus May 27, 2025
f4d36ae
removing other AI slop
madhephaestus May 27, 2025
b4667aa
setting the color correctly
madhephaestus May 27, 2025
ac94e66
nerf the export
madhephaestus May 29, 2025
6825dea
refactoring
madhephaestus May 29, 2025
e893567
Adding API key to the server and client
madhephaestus May 29, 2025
37e5559
Adding the offload check to the list when client is running
madhephaestus May 29, 2025
a669e3c
Moving server/client into a Unit Test to demonstrate functionality.
madhephaestus May 29, 2025
820fad4
robust to missing API key file
madhephaestus May 29, 2025
989e128
use tmp directory for keys storage by default to ensure no keys in src
madhephaestus May 29, 2025
bedf383
setting default port
madhephaestus May 29, 2025
f7b5388
Merge pull request #67 from NeuronRobotics/kh/bouncycastleSSL
madhephaestus May 29, 2025
ab4b7e3
changing the test to ensure the server works across the actual network
madhephaestus May 29, 2025
4268823
use client to connect to running server
madhephaestus May 30, 2025
b537f54
client test using the keyfile
madhephaestus May 30, 2025
902ff99
Chonkers test
madhephaestus Jun 1, 2025
9a4cff3
Adding printouts and checks to the API keys so that nulls are detected
madhephaestus Jun 1, 2025
596e898
Use the existing factory for SSL
madhephaestus Jun 1, 2025
358fd2d
change default port
madhephaestus Jun 1, 2025
8234ada
change default file
madhephaestus Jun 1, 2025
d4caf9a
Fixing a bug in the server code as well as making the client robust to
madhephaestus Jun 1, 2025
f4918d2
make the bounds serializable
madhephaestus Jun 1, 2025
7b3a4dc
Adding unit testing for all of the CSG configurations that need to be
madhephaestus Jun 1, 2025
572c051
Make the transform serializable
madhephaestus Jun 1, 2025
3628cbf
More robust unit tests
madhephaestus Jun 1, 2025
e40eef7
the csg stack
madhephaestus Jun 1, 2025
188017c
Add hull to the client server system
madhephaestus Jun 1, 2025
6159117
set the triangulation flag on the remote call
madhephaestus Jun 1, 2025
1e3177a
Make sure the Union operation produces exactly the same point from the
madhephaestus Jun 2, 2025
14091ab
Remove failing validation
madhephaestus Jun 2, 2025
ce88113
Making the return CSG from the polygons
madhephaestus Jun 2, 2025
a33575b
unit tests for the client/server still brokecn
madhephaestus Jun 2, 2025
5026c36
checking server/client count the polygns is correct
madhephaestus Jun 2, 2025
d878e03
Make sure there are polygons before trying to perform CSG operations
madhephaestus Jun 2, 2025
4b3afe1
ensure that the empty polygons do not cause the node invert to crash by
madhephaestus Jun 2, 2025
a7c5e74
csg SERVER
madhephaestus Jun 2, 2025
dc19553
Ops that produce no polygons should be re-run locally
madhephaestus Jun 2, 2025
ae17d34
add stack trace for UI thread CSG ops
madhephaestus Jun 2, 2025
d07dbfa
do not lallow polygon free CSG ops
madhephaestus Jun 2, 2025
76a6909
fixing the difference error
madhephaestus Jun 2, 2025
4f871c7
remove the triangulated check
madhephaestus Jun 5, 2025
1526857
adding sides to the chamfered cylendar
madhephaestus Jun 6, 2025
ab4617f
adding server status listener
madhephaestus Jun 7, 2025
57a6085
adding a client event listener
madhephaestus Jun 7, 2025
ea9c1ce
set the client
madhephaestus Jun 7, 2025
a3e7e21
make the request and response classes public
madhephaestus Jun 7, 2025
880deb6
ignore pgp
madhephaestus Jul 5, 2025
e282897
Adding a GPU accelerated Manifold check
madhephaestus Jul 7, 2025
5600151
check gpu export
madhephaestus Jul 7, 2025
ac0e4c3
just return instead of throwing an exception nowhere
madhephaestus Jul 7, 2025
9a76b10
stable but slow, also not fully manifold??
madhephaestus Jul 8, 2025
dfa87e5
no param
madhephaestus Jul 8, 2025
307c8eb
index fix
madhephaestus Jul 8, 2025
aaae5c7
Worling with one pass
madhephaestus Jul 9, 2025
b6c0c4d
Move the whole stack to a much larger epsilon
madhephaestus Jul 9, 2025
a382d86
Adding comments
madhephaestus Jul 9, 2025
d059183
Add triangulation to imports to force a point snapping and triangle
madhephaestus Jul 9, 2025
cdf7eff
reduce the scale of the triangle to catch broken polygons
madhephaestus Jul 9, 2025
763b2bf
fix a bug in the colinearity check to catch colinear polugons early.
madhephaestus Jul 9, 2025
5b75883
Break up the manifold check into fixed size buffers of points.
madhephaestus Jul 9, 2025
ebeeccf
faster unit test with less complex data
madhephaestus Jul 9, 2025
a243d2b
Recalibrate minimmum point distance to use a much smaller value than
madhephaestus Jul 9, 2025
a33ec5e
this should be taking the plane from the incoming polygon, but its not
madhephaestus Jul 9, 2025
4e08b45
fixed epsilon for the manifold
madhephaestus Jul 9, 2025
2ab2e6c
fixed the scale to invers the epsilon
madhephaestus Jul 9, 2025
1ac768a
reset default
madhephaestus Jul 9, 2025
e448a24
advanced test
madhephaestus Jul 9, 2025
6db497a
building without the nexus plugin
madhephaestus Jul 9, 2025
5a016e6
chunk the snap function just like the manifold chunking
madhephaestus Jul 9, 2025
e9e3861
convert the splitPlane to a Node method and make the storage a mutable
madhephaestus Jul 11, 2025
01c4bce
Adding the colinear points exception
madhephaestus Jul 29, 2025
6a93374
Feature set from GPU Node acceleration improvements without the node
madhephaestus Jul 29, 2025
504e34a
remove dead code
madhephaestus Jul 30, 2025
cb1e4a7
some of the CSG updates
madhephaestus Jul 30, 2025
0422f78
All of the pOlygon updates
madhephaestus Jul 30, 2025
17af4d2
exception handeling
madhephaestus Jul 30, 2025
361b58f
reintroduced the Node changes and the lower epsilon
madhephaestus Jul 30, 2025
1195bfc
the last few changes from the broken branch
madhephaestus Jul 30, 2025
4a2d374
re-enable the GPU accelerated split
madhephaestus Jul 30, 2025
396e612
reduce GPU load
madhephaestus Jul 30, 2025
ebaf350
adding new line to string
madhephaestus Jul 30, 2025
186a0bf
bigger chunks
madhephaestus Jul 30, 2025
8e517cb
Repair the extrusion engine to use the correct polygon orentations
madhephaestus Jul 30, 2025
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
9 changes: 9 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# These are supported funding model platforms
github: commonwealthrobotics
#github: madhephaestus
patreon: madhephaestus
#community_bridge: BowlerStudio
issuehunt: CommonWealthRobotics/BowlerStudio
#ko-fi: bowlerstudio
liberapay: madhephaestus
#open_collective: kevin-harrington
65 changes: 65 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# test
name: Publish package to Maven
on:
push:
tags:
- '*'

jobs:

publish:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- name: Pull a JavaFX JDK
run: wget http://static.azul.com/zulu/bin/zulu8.33.0.1-ca-fx-jdk8.0.192-linux_x64.tar.gz
- uses: actions/setup-java@v1
with:
java-version: 1.8
jdkFile: ./zulu8.33.0.1-ca-fx-jdk8.0.192-linux_x64.tar.gz
- name: Set output
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Check output
env:
VERSION_SEMVER: ${{ steps.vars.outputs.tag }}
run: |
echo $VERSION_SEMVER
echo ${{ steps.vars.outputs.tag }}
- name: Print Working Dir
run: |
ls -al .
sudo apt install gnupg1

- name: Publish package
run: bash publish.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION_SEMVER: ${{ steps.vars.outputs.tag }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
OSSRH_GPG_SECRET_KEY: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
OSSRH_GPG_SECRET_KEY_PASSWORD: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
OSSRH_GPG_SECRET_KEY_ID: ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}

- name: Print Output Dir
run: |
ls -al
ls -al build
ls -al build/libs/

- name: Make gitHub release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: ${{ steps.version.outputs.version }}
tag_name: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ github.token }}


49 changes: 49 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "Test Build"

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive

- name: List directory contents
run: pwd; ls -la

- name: start xvfb
run:
Xvfb :0 &

- name: initialize the X11 DISPLAY variable
run:
export DISPLAY=:0

- name: After checkout, list directory contnts
run: pwd; ls -la
- name: Install libraries
run: |
sudo apt update
sudo apt install libgtk2.0-0

- name: Pull a JavaFX JDK
run: wget http://static.azul.com/zulu/bin/zulu8.33.0.1-ca-fx-jdk8.0.192-linux_x64.tar.gz

- name: After JDK download, list directory contnts
run: pwd; ls -la

- name: Set Java
uses: actions/setup-java@v1
with:
java-version: 1.8
jdkFile: ./zulu8.33.0.1-ca-fx-jdk8.0.192-linux_x64.tar.gz


- name: Test with Gradle
run: xvfb-run -s '-screen 0 1024x768x24' ./gradlew test


44 changes: 43 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
/build/
/bin/
.project
.classpath
/.settings*
/.idea*
/.gradle/
/.idea/
/.nb-gradle/
/.nb-gradle/
/bin/
/.classpath
/.project
/simplified logo.svg
/testSpline.svg
/CSGdatabase.json
/*.stl
/Test.svg
out

/*.mtl
/*.obj
/*.stp
html

/freecad.FCStd
/handmade.step
/test-export-2.step
/test-export.step
/Part-Num-0.svg.png
/SVGExportTest.svg
/SVGExportTest2.svg
/SVGExportTest3.svg
/SVGExportTest4.svg
/SVGExportTest5.svg
/box.svg.png
/brokenSTL.STL.png
/InsideOutsideTest.svg.png
/Alexes_Bad.svg.png
/*.jks
/file.txt
/file2.txt
/public.pgp
/HoleCut.stl.png
/Bolt.stl.png
/hs_err_*.log
/vows.svg.png
1 change: 1 addition & 0 deletions .settings/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/org.eclipse.buildship.core.prefs
21 changes: 12 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
sudo: false

language: java
jdk:
- oraclejdk8

before_install:
- "export DISPLAY=:99.0"
- "export TERM=dumb"
- "sh -e /etc/init.d/xvfb start"

install:
- TERM=dumb ./gradlew --refresh-dependencies --stacktrace

script:
- TERM=dumb ./gradlew build --stacktrace
- TERM=dumb ./gradlew jar javadoc test --stacktrace
cache:
directories:
- $HOME/.m2

jdk:
- oraclejdk8

# for running tests on Travis CI container infrastructure for faster builds
sudo: true
dist: trusty


after_failure:
- "cat ./build/test-results/*.xml"
55 changes: 55 additions & 0 deletions Alexes_Bad.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
102 changes: 102 additions & 0 deletions InsideOutsideTest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014 Michael Hoffer <info@michaelhoffer.de>. All rights reserved.
* Copyright 2014 Michael Hoffer info@michaelhoffer.de. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Expand All @@ -11,9 +11,9 @@
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY Michael Hoffer <info@michaelhoffer.de> "AS IS" AND ANY EXPRESS OR IMPLIED
* THIS SOFTWARE IS PROVIDED BY Michael Hoffer info@michaelhoffer.de "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Michael Hoffer <info@michaelhoffer.de> OR
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Michael Hoffer info@michaelhoffer.de OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
Expand All @@ -23,5 +23,5 @@
*
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of Michael Hoffer <info@michaelhoffer.de>.
* or implied, of Michael Hoffer info@michaelhoffer.de.
*/
Loading