Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
81ec68d
initialize the base builder with the giturl
madhephaestus Apr 12, 2025
3bdfad0
Adding builder and unit test
madhephaestus Apr 13, 2025
aa1592d
update the maven location
madhephaestus Apr 13, 2025
b18bde7
Adding an interface to intercept the prun forward
madhephaestus Apr 13, 2025
a067735
no prune on startup
madhephaestus Apr 14, 2025
d2d3f0a
Add setters for the default values
madhephaestus Apr 15, 2025
dfbb132
remove todo
madhephaestus Apr 19, 2025
1fd52a4
vitamins
madhephaestus Apr 19, 2025
bdd417f
Adding a check to see if a plugin is already downloaded
madhephaestus Apr 19, 2025
613106b
preserve the sweep defaults for re-loading accuracy
madhephaestus Apr 21, 2025
7e5d6bf
Make the setting of a specific timeline spot easy
madhephaestus Apr 21, 2025
7fe6d22
Add a listening event to the cadoodle file events
madhephaestus Apr 21, 2025
0e5ac99
Adjust how the timeline is updated
madhephaestus Apr 21, 2025
fa31576
only try to download when not just checking
madhephaestus Apr 21, 2025
20e788a
Change the opperation options to include insertion
madhephaestus Apr 21, 2025
b729240
Add a delete interface to the doodle file
madhephaestus Apr 22, 2025
d7aa99e
more stable loading after a delete
madhephaestus Apr 22, 2025
6351105
fixed broken new file startup
madhephaestus Apr 22, 2025
a1c04a7
make sure it checks for the latest version for copy the thumbnail
madhephaestus Apr 22, 2025
35f01bf
change timeline events to ensure the timeline is populated correctly on
madhephaestus Apr 22, 2025
5ca389d
make sure the breaking changes do not continue
madhephaestus Apr 22, 2025
4558bc8
Adding the git location as the location to place themanufacturing file
madhephaestus Apr 25, 2025
6a0b0df
make arrow key more reactive
madhephaestus Apr 25, 2025
8797025
Update the threading to keep the regeneration threads organized
madhephaestus Apr 25, 2025
635a682
Record the time since the last change to the state for use in the save
madhephaestus Apr 26, 2025
4c4208b
ensure the thread runners die properly
madhephaestus Apr 26, 2025
92af527
ensure teh regeneration thread starts
madhephaestus Apr 26, 2025
9c6a361
send the number of images updated in timeline
madhephaestus Apr 26, 2025
a57f2ba
dix the index walking of the delete operation
madhephaestus Apr 26, 2025
6308afb
Making thee location part of the paste operation based on how the move
madhephaestus Apr 27, 2025
5df3a5f
Add a getter for the objects at a given staate
madhephaestus Apr 27, 2025
bfd32e5
paste needs to accomidate hull operations, which are groups that have
madhephaestus Apr 27, 2025
ef74adb
on abort the model should re-show the current state.
madhephaestus Apr 27, 2025
e81f676
always fire teh regeneration done when adding anything
madhephaestus Apr 28, 2025
04be30e
Make sure the delete step selects the correct next operation
madhephaestus Apr 28, 2025
5c6c773
Add a status update for displaying time consuming operation status'
madhephaestus Apr 29, 2025
0419f5f
fix the issue where group of a hole with an object it doesnt touch
madhephaestus Apr 29, 2025
fbab0ca
fix the issue where group of a hole with an object it doesnt touch
madhephaestus Apr 29, 2025
edb00ea
Merge branch 'kh/builders-of-mobile-base' of
madhephaestus Apr 29, 2025
c6f8dc7
add prints
madhephaestus May 2, 2025
0a0e45a
have each operation be able to return what objects it is operation on
madhephaestus May 4, 2025
1a0d1ec
Mae sure all of the objects the op is applied to and the results are
madhephaestus May 4, 2025
9bbc608
close https://github.com/CommonWealthRobotics/BowlerStudio/issues/452
madhephaestus May 7, 2025
6f4cafe
make sure failing task does not blow up the build
madhephaestus May 7, 2025
e5d74c7
Adding memory check
madhephaestus May 9, 2025
aef0d39
Add a thumbnail update and a print for mem usage
madhephaestus May 13, 2025
425366b
Null check any incoming cadoodle operation and throw an exception into
madhephaestus May 15, 2025
3f62a58
filter out nulls
madhephaestus May 15, 2025
5cd05ab
only show splash when timeline is open
madhephaestus May 16, 2025
d9c129e
Updating the JavaCAD to include sweep method for the sweep
madhephaestus May 17, 2025
fdd1b9c
updated jcsg to avoid the spiral bug
madhephaestus May 17, 2025
630d7a9
getter and setter for default spiral
madhephaestus May 17, 2025
258f70d
default value for timeline showing and a setter for the created time to
madhephaestus May 17, 2025
8e97c08
Adding the new JCSG
madhephaestus May 18, 2025
f4d065b
use CSGDatabaseInstance swapping to maintain state when running a doodle
madhephaestus May 18, 2025
edfae77
Updating the JavaCAD to include sweep method for the sweep
madhephaestus May 19, 2025
0b169e9
Adding a doodle file loader
madhephaestus May 19, 2025
d9fef48
remove comment
madhephaestus May 19, 2025
3688cff
formatting
madhephaestus May 19, 2025
d89ac20
branch error checking
madhephaestus May 19, 2025
4b93e62
add the file paraameter after the database is reattached
madhephaestus May 19, 2025
b7d389a
set the asset factory to use the correct default branch
madhephaestus May 19, 2025
724a783
only create files when logged in
madhephaestus May 19, 2025
b60e80b
Add an STL save to the save for use as a thumbnail
madhephaestus May 20, 2025
a4d7b88
formatting
madhephaestus May 20, 2025
52e2faa
Adding string getters annd setters for the op result for storage in the
madhephaestus May 20, 2025
c631888
Clean up class heiarchy and add the cadoodle file to each object
madhephaestus May 25, 2025
25340be
use the updated class instead of the interface
madhephaestus May 25, 2025
3d88eea
Set the cadoodle file into each opperation
madhephaestus May 25, 2025
6545f10
close loaded cadoodle files after use
madhephaestus May 25, 2025
350c437
life cycle the loaded file, but don not close in the helper method
madhephaestus May 25, 2025
d8d920a
Adding the JCSG server
madhephaestus May 29, 2025
4985731
Merge branch 'kh/builders-of-mobile-base' of [email protected]:CommonWea…
madhephaestus May 29, 2025
3606705
Adding a server launch to the kernel
madhephaestus May 29, 2025
847405e
Adding checks on the server datatypes
madhephaestus Jun 1, 2025
a284d31
update jcsg
madhephaestus Jun 1, 2025
ea55b8f
Adding the latest client
madhephaestus Jun 2, 2025
14e1555
use latest server/client
madhephaestus Jun 2, 2025
10c15de
serer
madhephaestus Jun 2, 2025
8c09550
removing print statements
madhephaestus Jun 2, 2025
743da4f
server
madhephaestus Jun 2, 2025
ad8d0e8
improve triangulation
madhephaestus Jun 5, 2025
ff803ae
jcsg
madhephaestus Jun 6, 2025
80e22b5
Updateing jcsg
madhephaestus Jun 7, 2025
d5b97f5
jcsg
madhephaestus Jun 7, 2025
ecab2a2
set client
madhephaestus Jun 7, 2025
a2006fd
only print memory when over 50%
madhephaestus Jun 7, 2025
80de143
make sure the event is not triggered when control is pressed
madhephaestus Jun 12, 2025
56aff44
increase file gen timeout
madhephaestus Jun 22, 2025
fbab7f8
update build to use the JCSG sources
madhephaestus Jul 9, 2025
a34682f
jcsg
madhephaestus Jul 9, 2025
c3262d8
Make sure every file add produces something for the user to interact
madhephaestus Jul 12, 2025
3324b3b
faster difference
madhephaestus Jul 16, 2025
5344905
kernel revert
madhephaestus Jul 16, 2025
4723fd2
csg refinement, not much faster
madhephaestus Jul 16, 2025
ba85c39
jcsg
madhephaestus Jul 16, 2025
9fbf522
colinear point exception
madhephaestus Jul 21, 2025
cdcb9f9
jcsg
madhephaestus Jul 22, 2025
7cc2f68
JCSG
madhephaestus Jul 22, 2025
58ef5ba
jcsg
madhephaestus Jul 22, 2025
7d5bc96
update the log API
madhephaestus Jul 26, 2025
f9c6d88
update log name
madhephaestus Jul 26, 2025
b91e451
update log api
madhephaestus Jul 26, 2025
1d39bf3
jcsg
madhephaestus Jul 26, 2025
428c57b
jcsg
madhephaestus Jul 28, 2025
9e3a8bb
jcsg threaded split
madhephaestus Jul 28, 2025
cd9f58e
fixing the reverted GPU split
madhephaestus Jul 30, 2025
ecfdb95
jcsg
madhephaestus Jul 30, 2025
d209743
jcsg
madhephaestus Jul 30, 2025
4d4fbe0
make sure the index is valid on start
madhephaestus Jul 30, 2025
62db0cc
jcsg
madhephaestus Jul 30, 2025
351d5ba
removing legacy repos
madhephaestus Jul 30, 2025
cc52200
back to development after merge
madhephaestus Jul 31, 2025
f725f7e
jcsg
madhephaestus Jul 31, 2025
43d455d
jcsg
madhephaestus Jul 31, 2025
0a09484
jcsg
madhephaestus Jul 31, 2025
2f8258d
Refactor operation name
madhephaestus Aug 1, 2025
402114c
rename the json adapter
madhephaestus Aug 1, 2025
5f79190
refactor
madhephaestus Aug 1, 2025
a010e68
adding a check for file in the URL string
madhephaestus Aug 4, 2025
7033053
doodle directory
madhephaestus Aug 4, 2025
c2b6011
adding basic operataion of make robot
madhephaestus Aug 4, 2025
89043fd
adding Make robot
madhephaestus Aug 4, 2025
b2c852f
rename interface
madhephaestus Aug 4, 2025
e68c03a
pass the mobile base name to children
madhephaestus Aug 4, 2025
85542a6
Adding controller features and the option class
madhephaestus Aug 5, 2025
dabba9d
remove the name setter to use the stable internal getter
madhephaestus Aug 6, 2025
d40bfb9
add a pruned operation cleanup method that can remove object
madhephaestus Aug 6, 2025
2318b13
add the opperations for adding a controller and adding a limb
madhephaestus Aug 6, 2025
7cbb456
add getters for the builder and for the default prune cleanup
madhephaestus Aug 6, 2025
b844279
check for always show
madhephaestus Aug 6, 2025
1af53c9
make sure the vitamins are set to always show
madhephaestus Aug 6, 2025
50f1c06
remove redundant class, this should just be the cadoodle operaiton
madhephaestus Aug 6, 2025
57805c0
adding more to the options
madhephaestus Aug 6, 2025
5dc18b9
adding the noscale feature as an infectious flag so no future opjects
madhephaestus Aug 6, 2025
a33f1ea
remove the set name
madhephaestus Aug 6, 2025
c98fc5b
jcsg
madhephaestus Aug 6, 2025
172c8ba
add and remove the controller options
madhephaestus Aug 6, 2025
dd33910
enforce the noscale flag and do not scale objects that are flagged
madhephaestus Aug 6, 2025
28107f1
force all vitaamins into noscale by default
madhephaestus Aug 6, 2025
a235b5d
add getters
madhephaestus Aug 6, 2025
174c0b8
create accumulator and multi-dimentional add/subtract
madhephaestus Aug 6, 2025
8480b36
make the recursion take the existing applied names into account
madhephaestus Aug 7, 2025
04bac95
make the prep static
madhephaestus Aug 7, 2025
e2dbde1
differentiate between the always show and not
madhephaestus Aug 7, 2025
d6523a7
jcsg
madhephaestus Aug 7, 2025
49a8e63
whitespace
madhephaestus Aug 7, 2025
b35c8cd
add the limb type and options
madhephaestus Aug 7, 2025
9e1a10e
add the limb options
madhephaestus Aug 7, 2025
a920c95
print statement for features
madhephaestus Aug 7, 2025
e10196b
adding the builder factory class
madhephaestus Aug 7, 2025
98e6095
remove junk .xml from name
madhephaestus Aug 7, 2025
a87347f
make the missing folders
madhephaestus Aug 7, 2025
02e6a82
add a controller and limb
madhephaestus Aug 7, 2025
d0ed589
adding serial bus servos
madhephaestus Aug 7, 2025
dbd3f3d
convert the vitamin data into vitamin locations
madhephaestus Aug 7, 2025
a9aa56f
adding helper methods
madhephaestus Aug 7, 2025
e4c0ccd
load the limb from the url
madhephaestus Aug 7, 2025
6bd8384
refactor
madhephaestus Aug 7, 2025
b733386
add the limbs and controllers to the mobil base
madhephaestus Aug 7, 2025
cba6550
make the variables readable is exception caught
madhephaestus Aug 7, 2025
f13ce41
formatting
madhephaestus Aug 7, 2025
98633f5
break out of the voltage search when match found
madhephaestus Aug 7, 2025
c32298d
getters
madhephaestus Aug 7, 2025
df5e5e5
getter for the full builders capibilities
madhephaestus Aug 7, 2025
d28c77d
add getters for the bus features
madhephaestus Aug 8, 2025
87ee3cc
improve the svg loading
madhephaestus Aug 8, 2025
610c44a
fix the formatting that broke loading files
madhephaestus Aug 8, 2025
2c70d1a
remove redundant object dupication
madhephaestus Aug 11, 2025
2a26606
remove redundant object, reference the source
madhephaestus Aug 11, 2025
3ccf2e4
adding the button resources to the build
madhephaestus Aug 11, 2025
b294a15
allow building when the limb is used to make the button images and
madhephaestus Aug 11, 2025
06fe858
adding a limb name
madhephaestus Aug 11, 2025
80f6a10
transfer the manipulator on a move
madhephaestus Aug 11, 2025
9088754
add affine to allign
madhephaestus Aug 11, 2025
cf89718
add manipulator
madhephaestus Aug 11, 2025
9dca5a8
add manipulator to mirror
madhephaestus Aug 11, 2025
1ffb86b
remove the setting of the maniulator and let the sync handle it
madhephaestus Aug 11, 2025
39ab70b
adding manipulator to the group operation to add items to the links
madhephaestus Aug 11, 2025
e10a048
adding a lock feature to th emanipulator
madhephaestus Aug 11, 2025
a7a106e
adding the nomove to the group operation
madhephaestus Aug 11, 2025
f196f80
make sure to preserver the unmoved affine supported object for
madhephaestus Aug 11, 2025
273ee65
reject and more on a locked object
madhephaestus Aug 11, 2025
c08e0a7
direct import?
madhephaestus Aug 11, 2025
ca6ee3b
fixig the doodle folder ignore that was preventing the add robot and
madhephaestus Aug 11, 2025
ecf6b12
make sure any object that is grouped with an object in a group already
madhephaestus Aug 11, 2025
a545032
nerf CL on windows
madhephaestus Aug 12, 2025
cc25ba0
refactor
madhephaestus Aug 12, 2025
71a9415
Add a modify limb command
madhephaestus Aug 12, 2025
e48c022
Adding modify limb code
madhephaestus Aug 12, 2025
36dadc0
remove dead code
madhephaestus Aug 12, 2025
53da87a
add search for limmbs
madhephaestus Aug 12, 2025
b4978e2
Add and remove modification object
madhephaestus Aug 12, 2025
b23de4f
adding the undo op interface
madhephaestus Aug 14, 2025
e7f97f4
use the undo operation interface in the forward and back operations
madhephaestus Aug 14, 2025
ab9a394
add the undo/redo options into the index skip
madhephaestus Aug 14, 2025
5a1b7e0
add basic mod operations to builder
madhephaestus Aug 14, 2025
f066906
add the undo/redo interface
madhephaestus Aug 14, 2025
3d3c187
mods
madhephaestus Aug 14, 2025
dc9d8a9
adding a transform helper
madhephaestus Aug 14, 2025
cfcea79
make sure the location is a copy
madhephaestus Aug 14, 2025
37c8dcb
correct tne name search to get the mobile base builder
madhephaestus Aug 14, 2025
781dbf9
public the global
madhephaestus Aug 14, 2025
8feeaef
set the limb root to copy
madhephaestus Aug 14, 2025
a828b31
Updat eth modify limb to work
madhephaestus Aug 14, 2025
c6099f0
add a reset method to the manipulation
madhephaestus Aug 16, 2025
5ff5376
prit adding op
madhephaestus Aug 16, 2025
1deae8d
formatting
madhephaestus Aug 16, 2025
bd44db3
make the drag state accessible
madhephaestus Aug 16, 2025
f02fa55
revert the parsing error
madhephaestus Aug 24, 2025
ec7f602
readd the modify limb
madhephaestus Aug 24, 2025
ae889e6
make sure the manifold is set
madhephaestus Aug 25, 2025
77f1d20
shunt windows files into the Appdata
madhephaestus Aug 25, 2025
75e799e
revert the documents folder
madhephaestus Aug 25, 2025
df50cbe
Make the configurations database file into the appdata directory
madhephaestus Aug 27, 2025
d6b77a6
Add a more stable location for config file
madhephaestus Aug 27, 2025
b924f96
jcsg
madhephaestus Aug 27, 2025
55f1220
make sure the loading of doodle files is only the results not the rest
madhephaestus Aug 27, 2025
41c6a2d
always use us format
madhephaestus Aug 29, 2025
bbf8267
https://github.com/jdegenstein/cadoodle-build123d-portable/issues/2
madhephaestus Sep 4, 2025
e3efa37
https://github.com/jdegenstein/cadoodle-build123d-portable/issues/2
madhephaestus Sep 4, 2025
2c77b88
throw file not found exceptions, do not swallow
madhephaestus Sep 7, 2025
59d6a3a
Use passed in value for the cadoodle file location and do not relu on
madhephaestus Sep 7, 2025
169926a
add a null check to the loading
madhephaestus Sep 7, 2025
89f3eb6
enforce that the set file includes the cadoodle file that will recive
madhephaestus Sep 7, 2025
d2dcb56
set the cadoodle file when it is passed in
madhephaestus Sep 9, 2025
1e58807
Updating the external editor interface
madhephaestus Sep 16, 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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ physicsTest
/test*.stl
/test.blend1
/test.*
*.doodle
/doodle/
2 changes: 1 addition & 1 deletion JCSG
Submodule JCSG updated 69 files
+1 −1 .github/FUNDING.yml
+0 −2 .github/workflows/release.yml
+9 −0 .gitignore
+55 −0 Alexes_Bad.svg
+117 −107 build.gradle
+47 −0 flame.svg
+63 −41 src/main/java/com/piro/bezier/BezierPath.java
+24 −23 src/main/java/eu/mihosoft/vrl/v3d/Bounds.java
+1,019 −433 src/main/java/eu/mihosoft/vrl/v3d/CSG.java
+293 −0 src/main/java/eu/mihosoft/vrl/v3d/CSGClient.java
+8 −0 src/main/java/eu/mihosoft/vrl/v3d/CSGRemoteOperation.java
+71 −0 src/main/java/eu/mihosoft/vrl/v3d/CSGRequest.java
+69 −0 src/main/java/eu/mihosoft/vrl/v3d/CSGResponse.java
+266 −0 src/main/java/eu/mihosoft/vrl/v3d/CSGServer.java
+171 −0 src/main/java/eu/mihosoft/vrl/v3d/CSGServerHandler.java
+8 −8 src/main/java/eu/mihosoft/vrl/v3d/CSGtoJavafx.java
+44 −30 src/main/java/eu/mihosoft/vrl/v3d/ChamferedCylinder.java
+11 −0 src/main/java/eu/mihosoft/vrl/v3d/ColinearPointsException.java
+13 −7 src/main/java/eu/mihosoft/vrl/v3d/Cube.java
+38 −23 src/main/java/eu/mihosoft/vrl/v3d/Cylinder.java
+166 −59 src/main/java/eu/mihosoft/vrl/v3d/Edge.java
+260 −214 src/main/java/eu/mihosoft/vrl/v3d/Extrude.java
+5 −5 src/main/java/eu/mihosoft/vrl/v3d/Fillet.java
+8 −0 src/main/java/eu/mihosoft/vrl/v3d/ICSGClientEvent.java
+12 −0 src/main/java/eu/mihosoft/vrl/v3d/ICSGServerEvent.java
+2 −2 src/main/java/eu/mihosoft/vrl/v3d/IExtrusion.java
+5 −0 src/main/java/eu/mihosoft/vrl/v3d/IPolygonRepairTool.java
+1 −1 src/main/java/eu/mihosoft/vrl/v3d/ISlice.java
+11 −0 src/main/java/eu/mihosoft/vrl/v3d/ITransformProvider.java
+13 −7 src/main/java/eu/mihosoft/vrl/v3d/Isosceles.java
+1 −1 src/main/java/eu/mihosoft/vrl/v3d/Modifier.java
+983 −81 src/main/java/eu/mihosoft/vrl/v3d/Node.java
+1 −1 src/main/java/eu/mihosoft/vrl/v3d/Parabola.java
+223 −250 src/main/java/eu/mihosoft/vrl/v3d/Plane.java
+631 −524 src/main/java/eu/mihosoft/vrl/v3d/Polygon.java
+6 −2 src/main/java/eu/mihosoft/vrl/v3d/Polyhedron.java
+2 −1 src/main/java/eu/mihosoft/vrl/v3d/Primitive.java
+2 −1 src/main/java/eu/mihosoft/vrl/v3d/PropertyStorage.java
+7 −3 src/main/java/eu/mihosoft/vrl/v3d/RoundedCube.java
+3 −15 src/main/java/eu/mihosoft/vrl/v3d/STL.java
+5 −0 src/main/java/eu/mihosoft/vrl/v3d/ServerActionState.java
+8 −7 src/main/java/eu/mihosoft/vrl/v3d/Slice.java
+7 −2 src/main/java/eu/mihosoft/vrl/v3d/Sphere.java
+77 −134 src/main/java/eu/mihosoft/vrl/v3d/TextExtrude.java
+25 −10 src/main/java/eu/mihosoft/vrl/v3d/Toroid.java
+26 −1 src/main/java/eu/mihosoft/vrl/v3d/Transform.java
+40 −181 src/main/java/eu/mihosoft/vrl/v3d/Vector3d.java
+9 −21 src/main/java/eu/mihosoft/vrl/v3d/Vertex.java
+11 −5 src/main/java/eu/mihosoft/vrl/v3d/Wedge.java
+56 −53 src/main/java/eu/mihosoft/vrl/v3d/ext/imagej/STLLoader.java
+708 −268 src/main/java/eu/mihosoft/vrl/v3d/ext/org/poly2tri/PolygonUtil.java
+23 −6 src/main/java/eu/mihosoft/vrl/v3d/ext/quickhull3d/HullUtil.java
+59 −211 src/main/java/eu/mihosoft/vrl/v3d/parametrics/CSGDatabase.java
+235 −0 src/main/java/eu/mihosoft/vrl/v3d/parametrics/CSGDatabaseInstance.java
+6 −5 src/main/java/eu/mihosoft/vrl/v3d/svg/SVGExporter.java
+123 −87 src/main/java/eu/mihosoft/vrl/v3d/svg/SVGLoad.java
+13 −14 src/main/java/eu/mihosoft/vrl/v3d/thumbnail/ThumbnailImage.java
+111 −111 src/test/java/eu/mihosoft/vrl/v3d/CSGTest.java
+1 −1 src/test/java/eu/mihosoft/vrl/v3d/ConcavePolygonExtrusionTest.java
+8 −8 src/test/java/eu/mihosoft/vrl/v3d/EdgeIntersectionTest.java
+2 −1 src/test/java/eu/mihosoft/vrl/v3d/HoleDetectionTest.java
+3 −3 src/test/java/eu/mihosoft/vrl/v3d/IcosahedronTest.java
+110 −2 src/test/java/eu/mihosoft/vrl/v3d/SVGLoadTest.java
+144 −0 src/test/java/eu/mihosoft/vrl/v3d/ServerClientTest.java
+2 −2 src/test/java/eu/mihosoft/vrl/v3d/SliceTest.java
+41 −11 src/test/java/eu/mihosoft/vrl/v3d/StlExportTest.java
+28 −24 src/test/java/eu/mihosoft/vrl/v3d/SvgExportTest.java
+51 −0 src/test/java/eu/mihosoft/vrl/v3d/sweepTest.java
+10 −4 src/test/java/eu/mihosoft/vrl/v3d/textTest.java
57 changes: 3 additions & 54 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,24 +114,18 @@ String getOsArch() {
return System.getProperty("os.arch");
}

//https://oss.sonatype.org/service/local/repositories/releases/content/com/neuronrobotics/nrjavaserial/3.10.1/nrjavaserial-3.10.1.jar


repositories {
mavenCentral()
maven {
url 'https://commonwealthrobotics.com/jcenter-mirror/'
url 'https://commonwealthrobotics.com/maven/'
allowInsecureProtocol = true
}
maven { url 'https://repo.maven.apache.org/maven2/' }

maven { url 'https://repo1.maven.org/maven2/'}

maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
//maven { url 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' }
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }
//com.neuronrobotics hosting point
maven { url 'https://oss.sonatype.org/content/repositories/staging/' }

// maven {
// url "https://repo.myrobotlab.org/artifactory/myrobotlab/"
Expand All @@ -147,7 +141,6 @@ repositories {

maven { url "https://jitpack.io" }
maven { url "https://repo.eclipse.org/content/groups/releases/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://dl.bintray.com/dfki-lt/maven/" }
maven { url "https://raw.github.com/marytts/marytts/master/repository/" }
maven { url "https://repo.jenkins-ci.org/public/" }
Expand All @@ -156,12 +149,11 @@ repositories {

dependencies {

api 'com.neuronrobotics:JavaCad:2.5.0'
//api 'com.neuronrobotics:JavaCad:2.9.5'
api project('JCSG')
api project('java-bowler')
api project('GithubPasswordManager:GithubPasswordManager')



//compile group: "de.swirtz", name: "ktsRunner", version: "0.0.7"
api 'us.ihmc:jinput:2.0.6-ihmc2'
api group: 'us.ihmc', name: 'ihmc-native-library-loader', version: '1.3.1'
Expand Down Expand Up @@ -388,47 +380,4 @@ test {
exceptionFormat = 'full'
}
}
/*
signing {
sign configurations.archives
}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
pom.project {
name 'Bowler Scripting Kernel'
packaging 'jar'
// optionally artifactId can be defined here
description 'A command line utility for accsing the bowler framework.'
url 'http://neuronrobotics.com'
scm {
connection 'scm:git:https://github.com/NeuronRobotics/bowler-script-kernel.git'
developerConnection 'scm:git:[email protected]:NeuronRobotics/bowler-script-kernel.git'
url 'https://github.com/NeuronRobotics/bowler-script-kernel'
}
licenses {
license {
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id 'madhephaestus'
name 'Kevin Harrington'
email '[email protected]'
}
}
}
}
}
}
*/

3 changes: 3 additions & 0 deletions build123dTest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from build123d import *

cube = Box(10, 10, 10)
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include 'java-bowler'
include 'JCSG'
include 'GithubPasswordManager:GithubPasswordManager'
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ public class Manipulation {
//private PhongMaterial color;// = new PhongMaterial(getColor());
//private PhongMaterial highlight = new PhongMaterial(Color.GOLD);

private enum DragState {
public enum DragState {
IDLE, Dragging
}

private DragState state = DragState.IDLE;
private boolean resizeAllowed=true;

public void addEventListener(EventHandler<MouseEvent> r) {
if (eventListeners.contains(r))
Expand Down Expand Up @@ -75,6 +76,7 @@ private void fireMove(TransformNR trans, MouseEvent event2) {
for (Manipulation R : dependants) {
R.performMove(trans,event2);
}
//System.out.println("Mouse event "+event2.getEventType());
for (EventHandler<MouseEvent> R : eventListeners) {
R.handle(event2);
}
Expand Down Expand Up @@ -114,6 +116,8 @@ public EventHandler<MouseEvent> getMouseEvents() {
@Override
public void handle(MouseEvent event) {
String name = event.getEventType().getName();
if(event.isControlDown())
return;
switch (name) {
case "MOUSE_PRESSED":
if(event.isPrimaryButtonDown())
Expand Down Expand Up @@ -145,7 +149,7 @@ public void handle(MouseEvent event) {
}

private void pressed(MouseEvent event) {
state = DragState.Dragging;
setState(DragState.Dragging);
new Thread(() -> {
event.consume();
dragging = false;
Expand All @@ -164,12 +168,13 @@ private void release(MouseEvent event) {
mouseRelease(event);
for (Manipulation R : dependants)
R.mouseRelease(event);
state = DragState.IDLE;
setState(DragState.IDLE);
//manip.getMesh().setMaterial(color);
}

private void dragged(MouseEvent event, MouseEvent event2) {
if(state==DragState.Dragging) {
if(resizeAllowed)
if(getState()==DragState.Dragging) {
getUi().runLater(() -> {
setDragging(event);
double deltx = (startx - event.getScreenX());
Expand All @@ -189,7 +194,7 @@ private void dragged(MouseEvent event, MouseEvent event2) {
}

public boolean isMoving() {
return state == DragState.Dragging;
return getState() == DragState.Dragging;
}

private void mouseRelease(MouseEvent event) {
Expand Down Expand Up @@ -253,7 +258,7 @@ private double round(double in) {
return Math.round(in / increment) * increment;
}

private void setGlobal(TransformNR global) {
public void setGlobal(TransformNR global) {
// newx = global.getX();
// newy = global.getY();
// newz = global.getZ();
Expand All @@ -272,7 +277,15 @@ public static IInteractiveUIElementProvider getUi() {
public static void setUi(IInteractiveUIElementProvider ui) {
Manipulation.ui = ui;
}

public void reset() {
newx = 0;
newy = 0;
newz = 0;
getGlobalPose().setX(0);
getGlobalPose().setY(0);
getGlobalPose().setZ(0);
setGlobal(new TransformNR(0, 0, 0, new RotationNR()));
}
public void set(double newX, double newY, double newZ) {
newx = newX;
newy = newY;
Expand All @@ -298,11 +311,6 @@ public void setInReferenceFrame(double newX, double newY, double newZ) {
}

}
public void reset() {
// Auto-generated method stub

}

public TransformNR getGlobalPose() {
return globalPose;
}
Expand Down Expand Up @@ -352,4 +360,16 @@ public void setFrameOfReference(IFrameProvider frameOfReference) {
this.frameOfReference = frameOfReference;
}

public void setUnlocked(boolean resizeAllowed) {
this.resizeAllowed = resizeAllowed;
}

public DragState getState() {
return state;
}

public void setState(DragState state) {
this.state = state;
}

}
Loading