]> gerrit.simantics Code Review - simantics/3d.git/log
simantics/3d.git
3 years agoAllow tube shape to handle shorter distances. 65/4665/1 release/1.43.1
Marko Luukkainen [Fri, 26 Feb 2021 15:16:43 +0000 (17:16 +0200)]
Allow tube shape to handle shorter distances.

gitlab #40

Change-Id: Ifdbd06d9b5e85afeab88593f2b77160efa4e6189

3 years agoRemove view size/initialization debug messages 51/4551/1
Marko Luukkainen [Wed, 21 Oct 2020 10:27:49 +0000 (13:27 +0300)]
Remove view size/initialization debug messages

gitlab #143

Change-Id: I7e78ed15e9cf6fafaecb9129c49d202506907c93

3 years agoScale tooltip font by display DPI. 50/4550/1
Marko Luukkainen [Wed, 21 Oct 2020 08:46:08 +0000 (11:46 +0300)]
Scale tooltip font by display DPI.

Dragging or moving pointer out of view clears hover objects.

gitlab #142

Change-Id: I68e8f1da87ad9c2a979792bfc14911cc474f6ead

3 years agoDPI scaling for vtkView 49/4549/2
Marko Luukkainen [Wed, 21 Oct 2020 08:34:53 +0000 (11:34 +0300)]
DPI scaling for vtkView

gitlab #143

Change-Id: I09408079abaaa66675bfa2397f6c795f5d5f0408

3 years agoTooltip support 43/4543/1
Marko Luukkainen [Thu, 15 Oct 2020 15:04:30 +0000 (18:04 +0300)]
Tooltip support

gitlab #142

Change-Id: I477a47d767675703f6a36c0724f91e2da2987fd3

3 years agoImprove cameraAndSelectorAction api 42/4542/1
Marko Luukkainen [Thu, 15 Oct 2020 09:33:10 +0000 (12:33 +0300)]
Improve cameraAndSelectorAction api

Added get/set position/focus methods. Renamed focus method as setFocus.

gitlab #141

Change-Id: I854da4a344d9bfacba097982217848570d702978

3 years agoOcTree implementation 20/4420/1
Marko Luukkainen [Wed, 2 Sep 2020 11:18:41 +0000 (14:18 +0300)]
OcTree implementation

Created a separate plugin, so that 3D data structures remain independent
of G3D framework.

gitlab #140

Change-Id: Ia40bb149baff2c8f887a2c1be2f515679393a6c7

3 years agoRemove dependencies on log4j release/1.43.0 release/1.43.0.1 v1.43.0
Tuukka Lehtonen [Tue, 18 Aug 2020 07:35:14 +0000 (10:35 +0300)]
Remove dependencies on log4j

gitlab simantics/platform#579

Change-Id: I4898ec185c1dc1ee4be2071d2aa9ebc79aef1e46
(cherry picked from commit 5cedfd28291b28a096f3cfb8df79359ba7950144)

3 years agoRemove deprecated/duplicate version of org.simantics.objmap2
Tuukka Lehtonen [Tue, 18 Aug 2020 07:58:28 +0000 (10:58 +0300)]
Remove deprecated/duplicate version of org.simantics.objmap2

gitlab #139

(cherry picked from commit 23d6118551e857da09afc0437aacd2b5ebb21297)

3 years agoUse unique names at the model scope instead of pipe run 17/4317/1
Reino Ruusu [Mon, 15 Jun 2020 10:29:48 +0000 (13:29 +0300)]
Use unique names at the model scope instead of pipe run

gitlab #137

Change-Id: I25a1105fb6eb8eabb575332e95311a1fa85da0b8

3 years agoAdd units to ComponentSelectionDialog 16/4316/2
Reino Ruusu [Mon, 15 Jun 2020 09:47:26 +0000 (12:47 +0300)]
Add units to ComponentSelectionDialog

gitlab #136

Change-Id: I0af414dc4306188e555143f96bbdb44cb28529b0

3 years agoMerge "Remove static DEBUG flags and use slf4j.Logger.trace()" into release/1.43.0
Tuukka Lehtonen [Sun, 7 Jun 2020 09:20:31 +0000 (09:20 +0000)]
Merge "Remove static DEBUG flags and use slf4j.Logger.trace()" into release/1.43.0

3 years agoRemoved 3D modelling preferences page description which is equals title 78/4278/1
Tuukka Lehtonen [Wed, 3 Jun 2020 17:19:47 +0000 (20:19 +0300)]
Removed 3D modelling preferences page description which is equals title

No point in having the same text there twice.

gitlab #135

Change-Id: I7ae469dd85d42d89bf61144d8ad0a31d777def42
(cherry picked from commit 4f0dcf4de54b3d91b86324e2e93e31ffd2fcd8e6)

3 years agoRemove static DEBUG flags and use slf4j.Logger.trace() 71/4271/1
Reino Ruusu [Wed, 3 Jun 2020 15:43:03 +0000 (18:43 +0300)]
Remove static DEBUG flags and use slf4j.Logger.trace()

gitlab #134

Change-Id: Ia3c0d488a75e15e3a20531165ac5e6f145ebd3fe

3 years agoAdd SCL binding for PipeRun.getInsideDiameter() 70/4270/1
Reino Ruusu [Wed, 3 Jun 2020 13:31:37 +0000 (16:31 +0300)]
Add SCL binding for PipeRun.getInsideDiameter()

gitlab #133

Change-Id: Ia042bc40578ddb17a8e4a4d1b7a8f77a208d316f

3 years agoAdd null check to ComponentSelectionDialog 67/4267/1
Reino Ruusu [Wed, 3 Jun 2020 08:42:13 +0000 (11:42 +0300)]
Add null check to ComponentSelectionDialog

gitlab #132

Change-Id: If300f070b304f5487de172454db3389f6cd3da94

3 years agoProvide a hook for post-processing after adding a new component 66/4266/1
Reino Ruusu [Wed, 3 Jun 2020 07:29:07 +0000 (10:29 +0300)]
Provide a hook for post-processing after adding a new component

gitlab #131

Change-Id: I3da7ee63cafe3f3f190f57fcc08719cec69ef9c6

3 years agoEliminated NullPointerException in vtkGizmo.deattachActors(). 56/4256/1
Reino Ruusu [Mon, 25 May 2020 10:06:52 +0000 (13:06 +0300)]
Eliminated NullPointerException in vtkGizmo.deattachActors().

gitlab #130

Change-Id: I6e4f4e526af083a99d87197fd2c9b90cf119b593

3 years agoRemove misplaced call to GLContext.makeCurrent() 55/4255/1
Reino Ruusu [Mon, 25 May 2020 09:54:40 +0000 (12:54 +0300)]
Remove misplaced call to GLContext.makeCurrent()

gitlab #129

Change-Id: I2903822a9ea9536bbabea3843f6b86d9588f52cb

3 years agoExpand by default when only one group exists in the Add Component dialog 40/4240/1
Tuukka Lehtonen [Fri, 8 May 2020 08:01:54 +0000 (11:01 +0300)]
Expand by default when only one group exists in the Add Component dialog

Less mouse clicks for the user.

gitlab #128

Change-Id: I9684a8eac6610893827d31423447dc1f44ae59d8
(cherry picked from commit d712238e56184a6763fd631bb0ab8a2cdcc3de56)

3 years agoOnly disable warning display when not in development mode 18/4218/2
Tuukka Lehtonen [Wed, 6 May 2020 09:54:01 +0000 (12:54 +0300)]
Only disable warning display when not in development mode

Development mode refers to the Eclipse RCP's -dev argument.

gitlab #124

Change-Id: Ie7112586ef4663f080589f293e4b62065bebe584

3 years agoNo insertion of straight pipe in straight pipe 17/4217/1
Reino Ruusu [Wed, 6 May 2020 08:44:41 +0000 (11:44 +0300)]
No insertion of straight pipe in straight pipe

gitlab #127

Change-Id: I2e16805bb406fb940eb327453e746edb324e261d

3 years agoIndicate ongoing translation operations in UI 16/4216/1
Reino Ruusu [Wed, 6 May 2020 08:29:46 +0000 (11:29 +0300)]
Indicate ongoing translation operations in UI

gitlab #126

Change-Id: I3f91bc43bcb9c1619601619f73c0d99e7db00dc5

4 years agoChange rotation angle 0 to flat-side-down in eccentric reducers 99/4199/1
Reino Ruusu [Thu, 30 Apr 2020 09:31:05 +0000 (12:31 +0300)]
Change rotation angle 0 to flat-side-down in eccentric reducers

gitlab #125

Change-Id: Ia4ed51a0c25496f8ac5fd4fa3fbbd1920e7a938b

4 years agoDisable global VTK warning window 97/4197/1
Reino Ruusu [Tue, 28 Apr 2020 13:21:15 +0000 (16:21 +0300)]
Disable global VTK warning window

gitlab #124

Change-Id: I088e823aa6da2c984dc76bb41fecac4289e90225

4 years agoFix enabled state of wall thickness 96/4196/1
Reino Ruusu [Tue, 28 Apr 2020 13:06:01 +0000 (16:06 +0300)]
Fix enabled state of wall thickness

gitlab #123

Change-Id: Ic6dc1d8b285cdd232413349c785c84d1ba53b97d

4 years agoAvoid extra write transactions when opening Plant3D editor 27/4127/1
Reino Ruusu [Tue, 21 Apr 2020 15:29:01 +0000 (18:29 +0300)]
Avoid extra write transactions when opening Plant3D editor

gitlab #122

Change-Id: I2e20e8e460a3d7e8d4b0fb786d77166fb8c9dbd5
(cherry picked from commit d7128a534435161910ce5865db60c7874091df74)

4 years agoTake values from pipe run as defaults for reducers 26/4126/1
Reino Ruusu [Mon, 20 Apr 2020 09:53:18 +0000 (12:53 +0300)]
Take values from pipe run as defaults for reducers

gitlab #121

Change-Id: I641b4a0acb69bf3e381afdb6bb1aa22873ea4a79
(cherry picked from commit 5c5214c358806f286aa53f32de57e18568b5f166)

4 years agoOnly show elbows and ends when adding to an open pipe end. 25/4125/1
Reino Ruusu [Mon, 20 Apr 2020 08:20:45 +0000 (11:20 +0300)]
Only show elbows and ends when adding to an open pipe end.

gitlab #120

Change-Id: I947fdfa5939ce110cfa82310e9437f6e281e4599
(cherry picked from commit f5438b7d35bfb66014369bae22dc3daddbff6498)

4 years agoReplace "turn" with "elbow" in component creation UI 21/4121/1
Reino Ruusu [Wed, 15 Apr 2020 10:21:31 +0000 (13:21 +0300)]
Replace "turn" with "elbow" in component creation UI

gitlab #119

Change-Id: I7603e65b9be2fa3fa437160ddc4ea1663328a8b5
(cherry picked from commit 2cbc32fe5cdad29f250d8de32d6cc7f4648a16aa)

4 years agoAdded vtkCameraAndSelectorAction.setViewDir(Vector3d) 19/4119/1
Tuukka Lehtonen [Wed, 8 Apr 2020 20:28:11 +0000 (23:28 +0300)]
Added vtkCameraAndSelectorAction.setViewDir(Vector3d)

Allows setting the camera view direction without changing the focal
point.

gitlab #118

Change-Id: I33421fb46e05c62892a396203681838131b0b382
(cherry picked from commit 6325452591b2a854f82ac913fe4f61e3df2f922d)

4 years agoMinor improvement for Plant3DEditor extensibility 18/4118/1
Tuukka Lehtonen [Wed, 8 Apr 2020 06:29:39 +0000 (09:29 +0300)]
Minor improvement for Plant3DEditor extensibility

* AbstractVTKNodeMap needs an overridable postCommit() method which is
  executed after doCommit() finishes successfully. This is needed in an
  extending editor to know the first moment in time when the editor has
  been initialized properly.
* Allow customization of FitToWindow action created by Plant3DEditor

gitlab #117

Change-Id: I50a36740e579664ddab83b659b79220b5d33c135
(cherry picked from commit 370a955304d3aeacfdd59aa42d875c6142499dfd)

4 years agoHide insertion position controls when adding to a connected pipe 17/4117/1
Reino Ruusu [Tue, 7 Apr 2020 10:17:21 +0000 (13:17 +0300)]
Hide insertion position controls when adding to a connected pipe

gitlab #112

Change-Id: Ifebee86babe1a869e9dec1bffe4efaa47aa454d5
(cherry picked from commit 6bdca885df3dd6e0ff4d0baccffd98f7b94833aa)

4 years agoFix division by zero in ComponentUtls.addComponent() 16/4116/1
Reino Ruusu [Tue, 7 Apr 2020 09:46:30 +0000 (12:46 +0300)]
Fix division by zero in ComponentUtls.addComponent()

gitlab #116

Change-Id: Ia0be7bf31ec74f04262a3cc2cdf86cea119ee02f
(cherry picked from commit f6ac6d85a7207ba0c60ed17bfbd0c2dac8fc735c)

4 years agoFix getControlPointEnds() for end components 13/4113/1
Reino Ruusu [Tue, 7 Apr 2020 07:27:39 +0000 (10:27 +0300)]
Fix getControlPointEnds() for end components

gitlab #115

Change-Id: I55806b0b8545351a3162b5455102c31a49f4d59a
(cherry picked from commit 1cd59e8997dc9cc0a31c876ecc2bed92cf3a81f2)

4 years agoFix error in inserting dual inline components 70/4070/1
Reino Ruusu [Mon, 6 Apr 2020 12:10:44 +0000 (15:10 +0300)]
Fix error in inserting dual inline components

gitlab #114

Change-Id: I454b7bb51c5b1cbdde8169e2556bb1049387349d
(cherry picked from commit a745e75910247c95f7a9a5f4cc0598e2ca0cf95e)

4 years agoAdd check for presence of pipe runs when updating offset 97/4097/1
Reino Ruusu [Mon, 6 Apr 2020 07:58:15 +0000 (10:58 +0300)]
Add check for presence of pipe runs when updating offset

gitlab #113

Change-Id: I300758575e0fac2181090fdc6afc276f1ab630a1

4 years agoUpdate offset values to reflect changes in pipe run parameters 85/4085/1
Reino Ruusu [Wed, 1 Apr 2020 13:07:07 +0000 (16:07 +0300)]
Update offset values to reflect changes in pipe run parameters

gitlab #113

Change-Id: Iea589d15afd9fada0d73f9ecd5cea15f4531c7bd

4 years agoDisable insertion position buttons when inserting to a connected pipe 84/4084/1
Reino Ruusu [Wed, 1 Apr 2020 11:46:20 +0000 (14:46 +0300)]
Disable insertion position buttons when inserting to a connected pipe

gitlab #112

Change-Id: I7629729cd22768a4995e4bf18288e2a4f41ecae0

4 years agoFix issues in offset calculations in directed path legs 94/3994/1
Reino Ruusu [Fri, 13 Mar 2020 16:25:30 +0000 (18:25 +0200)]
Fix issues in offset calculations in directed path legs

gitlab #111

Change-Id: Ia430f5c602c8dca0522493ab42a8f925f159ccf6

4 years agoFix direction calculations in addComponent() 93/3993/1
Reino Ruusu [Fri, 13 Mar 2020 09:48:45 +0000 (11:48 +0200)]
Fix direction calculations in addComponent()

Change direction returned by getDirection(PREVIOUS) so that it matches
the expectations of calling routines and is consistent with other
direction vector getters.

gitlab #110

Change-Id: I003d7c720f7643aedb5d545648bda1148cb96315

4 years agoFix interpretation of turn angle in InsertInstruction 92/3992/1
Reino Ruusu [Thu, 12 Mar 2020 13:52:46 +0000 (15:52 +0200)]
Fix interpretation of turn angle in InsertInstruction

gitlab #109

Change-Id: Ibf7085e95281f1049c493a7f3d5e65344cc52a8e

4 years agoFix error in assigment of component name for new components 91/3991/1
Reino Ruusu [Thu, 12 Mar 2020 13:50:07 +0000 (15:50 +0200)]
Fix error in assigment of component name for new components

gitlab #74

Change-Id: Ie7b4b9b7459763031176039de9b448f54f9f490f

4 years agoFix bug in adding a component before a nozzle 90/3990/1
Reino Ruusu [Thu, 12 Mar 2020 13:45:54 +0000 (15:45 +0200)]
Fix bug in adding a component before a nozzle

gitlab #108

Change-Id: Ie5a95734baf5ba573d3ee0a0b345a6583abee924

4 years agoIntroduce orientToDirection() method to pipe control point 89/3989/1
Reino Ruusu [Thu, 12 Mar 2020 13:39:46 +0000 (15:39 +0200)]
Introduce orientToDirection() method to pipe control point

gitlab #107

Change-Id: I5aacab0b0a25e5dcd695bfb92beeda24ddb37adc

4 years agoRefactoring of PipeControlPoint.getPathLegDirection() 88/3988/1
Reino Ruusu [Thu, 12 Mar 2020 13:15:52 +0000 (15:15 +0200)]
Refactoring of PipeControlPoint.getPathLegDirection()

gitlab #107

Change-Id: Ic6f04155c1552597aa80ebdacbc58dcab6ad56c2

4 years agoFix error in checking of changes in rotation angle 87/3987/1
Reino Ruusu [Thu, 12 Mar 2020 13:10:10 +0000 (15:10 +0200)]
Fix error in checking of changes in rotation angle

gitlab #90

Change-Id: Id0c6c071382d62a01aaaaeacb2b2ff220c118f91

4 years agoFix validation message for turn angle values in component selection 86/3986/1
Reino Ruusu [Thu, 12 Mar 2020 13:07:05 +0000 (15:07 +0200)]
Fix validation message for turn angle values in component selection

gitlab #105

Change-Id: Iaca69cf570f1d47e4b7df26fdfe4b03f09149fe8

4 years agoAllow insertion of components at the ends of straight segments 84/3984/1
Reino Ruusu [Tue, 10 Mar 2020 14:29:15 +0000 (16:29 +0200)]
Allow insertion of components at the ends of straight segments

gitlab #106

Change-Id: I20b12339d82ca6da52d9b69ec0f34656c5cb3555

4 years agoFix regression in synchronization of updates 83/3983/1
Reino Ruusu [Tue, 10 Mar 2020 14:25:39 +0000 (16:25 +0200)]
Fix regression in synchronization of updates

gitlab #92

* Too much locking of syncMutex in AbstractVTKNodeMap::update()

Change-Id: Iccfe4063076eb8e205511581d6b7d252142d7014

4 years agoAdd checks for invalid numerical values in ComponentSelectionDialog 78/3978/1
Reino Ruusu [Mon, 9 Mar 2020 11:51:55 +0000 (13:51 +0200)]
Add checks for invalid numerical values in ComponentSelectionDialog

gitlab #105

Also add a validation message to the user

Change-Id: I93a6843faf2c76fbed1ef3c32dc06c24a7a28358

4 years agoUse inside diameter for eccentric reducer offset calculation 77/3977/1
Reino Ruusu [Mon, 9 Mar 2020 09:20:27 +0000 (11:20 +0200)]
Use inside diameter for eccentric reducer offset calculation

gitlab #104

Change-Id: I60b7056ac1bc30ecb85e46fd2b3cff4e3fcaf71d

4 years agoAdd a wall thickness property to pipe runs. 76/3976/1
Reino Ruusu [Mon, 9 Mar 2020 09:03:21 +0000 (11:03 +0200)]
Add a wall thickness property to pipe runs.

gitlab #104

Change-Id: Ib21da6f7aee8c2bb1aa74b9a43cdf72264e9f689

4 years agoEat all keyboard events by default in vtkSwtAction 74/3974/1
Reino Ruusu [Fri, 6 Mar 2020 16:41:29 +0000 (18:41 +0200)]
Eat all keyboard events by default in vtkSwtAction

gitlab #103

Change-Id: I709b93ffcf83f37e3253a224874ab10b710f913f

4 years agoMerge "Move global UI bindings to the product plugin"
Tuukka Lehtonen [Fri, 6 Mar 2020 15:44:37 +0000 (15:44 +0000)]
Merge "Move global UI bindings to the product plugin"

4 years agoMove global UI bindings to the product plugin 73/3973/2
Reino Ruusu [Fri, 6 Mar 2020 15:16:42 +0000 (17:16 +0200)]
Move global UI bindings to the product plugin

gitlab #101

Change-Id: I83c0e42c400579cd3709b78146a5b07cdeac82d1

4 years agoClose Plant3DEditor automatically when its input disappears from DB 71/3971/1
Tuukka Lehtonen [Thu, 5 Mar 2020 21:32:32 +0000 (23:32 +0200)]
Close Plant3DEditor automatically when its input disappears from DB

gitlab #102

Change-Id: Ifeaf13c1c9f8e000dbcd7a5ef4e6351ae1cff1a2

4 years agoTools for fitting contents to view in Plant3D editor 69/3969/1
Reino Ruusu [Thu, 5 Mar 2020 13:58:25 +0000 (15:58 +0200)]
Tools for fitting contents to view in Plant3D editor

gitlab #100

Also fixes clipping in parallel projection mode by keeping scale and
camera distance at values that match the camera view angle.

Change-Id: I82ad77bdc339fa0ad7814c31fcac97512c440972

4 years agoFix camera focus method to handle special case of vertical direction. 67/3967/1
Reino Ruusu [Thu, 5 Mar 2020 10:49:50 +0000 (12:49 +0200)]
Fix camera focus method to handle special case of vertical direction.

gitlab #99

Change-Id: I61deefb45e8e4be993a6e4699042a550dda89707

4 years agoButton for default viewing direction 66/3966/1
Reino Ruusu [Thu, 5 Mar 2020 09:18:44 +0000 (11:18 +0200)]
Button for default viewing direction

gitlab #98

Change-Id: I896a1a0a2d5647cbd0563d7a7c4e47180f00cda1

4 years agoShow an error dialog when attempting to insert a too long component 60/3960/1
Reino Ruusu [Mon, 2 Mar 2020 12:24:19 +0000 (14:24 +0200)]
Show an error dialog when attempting to insert a too long component

gitlab #97

Change-Id: I9f6b6b0fb7c0a9fc0a9f1b93b081d4041f5499c9

4 years agoUpdates elbows when turn radius is changed in pipe run 59/3959/1
Reino Ruusu [Mon, 2 Mar 2020 11:48:00 +0000 (13:48 +0200)]
Updates elbows when turn radius is changed in pipe run

gitlab #95

Change-Id: I9174814d63382f0035cd4705b3d8eb28982de573

4 years agoCamera rotation with stable rotation speed 54/3954/1
Reino Ruusu [Mon, 2 Mar 2020 09:24:54 +0000 (11:24 +0200)]
Camera rotation with stable rotation speed

gitlab #96

Change-Id: Iaf9a1a42f04dcf83f168e2fe0aa691c26876b024

4 years agoPerform node map updates in a procedure instead of a request 50/3950/1
Reino Ruusu [Mon, 2 Mar 2020 08:09:50 +0000 (10:09 +0200)]
Perform node map updates in a procedure instead of a request

gitlab #92

Change-Id: I5aa6238360d84ca9c9df0c8ee1c3671ff118485c

4 years agoFix list indexing error in updateFixedLengths. 41/3941/1
Reino Ruusu [Fri, 28 Feb 2020 07:57:06 +0000 (09:57 +0200)]
Fix list indexing error in updateFixedLengths.

gitlab #94

Change-Id: I70402e5ca920b44bfc0fa0647429c12595cca08b

4 years agoRemove edge visualization from solid objects when not highlighted 35/3935/1
Reino Ruusu [Wed, 26 Feb 2020 13:37:10 +0000 (15:37 +0200)]
Remove edge visualization from solid objects when not highlighted

gitlab #93

Change-Id: If76196f017db4ddd416541a0c57bf7b9018d2df6

4 years agoRestore SCL-compatible API to P3DUtil 34/3934/2
Reino Ruusu [Wed, 26 Feb 2020 12:28:50 +0000 (14:28 +0200)]
Restore SCL-compatible API to P3DUtil

P3DUtil.scl was broken by d207cfa3235339e7d7b894494be400160b121bd5

gitlab #88

Change-Id: I047f0e94ca8f3320097be2b64cbbc3dbbf62b6bd

4 years agoBlock parallel execution of position updates and validation. 10/3910/2
Reino Ruusu [Tue, 25 Feb 2020 14:09:27 +0000 (16:09 +0200)]
Block parallel execution of position updates and validation.

gitlab #92

Change-Id: I591afd4ee115a322e4edd6ad87aa3da89c453f9a

4 years agoFix issue with multiple degenerate legs in front of a nozzle 09/3909/2
Reino Ruusu [Tue, 25 Feb 2020 14:00:18 +0000 (16:00 +0200)]
Fix issue with multiple degenerate legs in front of a nozzle

gitlab #91

Change-Id: I458db0787a0b2be4282df4619bcfdaab674e3ef1

4 years agoRemove listener calls when property values not updated. 08/3908/2
Reino Ruusu [Mon, 24 Feb 2020 18:40:36 +0000 (20:40 +0200)]
Remove listener calls when property values not updated.

gitlab #90

Change-Id: Ic3e4097cc19fb9ebd295052f9a5f0c57ad39328a

4 years agoShow busy cursor and block UI input while committing changes 07/3907/1
Reino Ruusu [Mon, 24 Feb 2020 17:23:53 +0000 (19:23 +0200)]
Show busy cursor and block UI input while committing changes

gitlab #89

Change-Id: I7caab1ef604c0024ab24dd34e2c52385e84dc10e

4 years agoEnable model loading using an existing transaction. 03/3903/1
Reino Ruusu [Mon, 24 Feb 2020 14:56:00 +0000 (16:56 +0200)]
Enable model loading using an existing transaction.

gitlab #88

Change-Id: I1c594b284d716a9e428c04f0f3076afcd0001806

4 years agoProper description for plant3d.modeling feature 00/3900/1
Tuukka Lehtonen [Sun, 23 Feb 2020 10:54:54 +0000 (12:54 +0200)]
Proper description for plant3d.modeling feature

gitlab #70

Change-Id: I55812591e2aab607e6bb5b78fe0d45f589684263

4 years agoDisabled includePackedArtifacts to prevent pack200 artifacts
Tuukka Lehtonen [Sun, 23 Feb 2020 01:01:00 +0000 (03:01 +0200)]
Disabled includePackedArtifacts to prevent pack200 artifacts

gitlab simantics/platform#468

4 years agoStop using pack200 because it has been deprecated and removed
Tuukka Lehtonen [Sun, 23 Feb 2020 00:26:39 +0000 (02:26 +0200)]
Stop using pack200 because it has been deprecated and removed

Deprecated in Java 11 https://openjdk.java.net/jeps/336 and removed
in Java 14 https://openjdk.java.net/jeps/367.

The main problem for us now is that the packed JARs don't get
signed when using maven-jarsigner-plugin, while the unpacked
ones do. Simplest solution is to let go of pack200 already.

gitlab simantics/platform#468

4 years agoRotation angle fully in context of the path leg delta 95/3895/1
Reino Ruusu [Thu, 20 Feb 2020 16:31:32 +0000 (18:31 +0200)]
Rotation angle fully in context of the path leg delta

gitlab #81

Change-Id: I4f03b62450af42e5680f9e689e6f2fd699184007

4 years agoFix cause of endless loop in overlap resolution 94/3894/1
Reino Ruusu [Thu, 20 Feb 2020 16:27:26 +0000 (18:27 +0200)]
Fix cause of endless loop in overlap resolution

gitlab #86

Change-Id: I256a7c12e168410ef2ff3be4c08a77208448734b

4 years agoFix error in PipingRules.updateFixedLengths 93/3893/1
Reino Ruusu [Thu, 20 Feb 2020 15:44:02 +0000 (17:44 +0200)]
Fix error in PipingRules.updateFixedLengths

gitlab #86

Change-Id: I21e90ec653096797aa0f011f687baafabb6621d3

4 years agoPerform view direction switching via vtkCameraAndSelectorAction 92/3892/1
Reino Ruusu [Thu, 20 Feb 2020 14:30:43 +0000 (16:30 +0200)]
Perform view direction switching via vtkCameraAndSelectorAction

gitlab #85

Change-Id: Ie15464b9eaed7060ac6bacca534b4ff2c39da896

4 years agoLet root node determine up direction for rotation angle calculations 91/3891/1
Reino Ruusu [Thu, 20 Feb 2020 14:28:50 +0000 (16:28 +0200)]
Let root node determine up direction for rotation angle calculations

gitlab #85

Change-Id: I549af4f0b93cbf3867e334165db8c2dacee12968

4 years agoFix interpretation of rotation angle to path leg end point vector 89/3889/1
Reino Ruusu [Thu, 20 Feb 2020 13:32:42 +0000 (15:32 +0200)]
Fix interpretation of rotation angle to path leg end point vector

gitlab #81

Change-Id: I64745f3b4f99215d77ac2bf44c7b038eb0282a78

4 years agoAllow selection of vertical direction in Plant3DEditor 83/3883/1
Reino Ruusu [Wed, 19 Feb 2020 15:04:06 +0000 (17:04 +0200)]
Allow selection of vertical direction in Plant3DEditor

gitlab #85

Change-Id: Ib5491a4ec233a9516a4087f270343194f28f7d96

4 years agoUse maven jarsigner to sign the produced P2 repository contents
Tuukka Lehtonen [Tue, 18 Feb 2020 13:32:51 +0000 (15:32 +0200)]
Use maven jarsigner to sign the produced P2 repository contents

gitlab #84

4 years agoAllow unsplitting removal of reducers by joining pipe runs 72/3872/1
Reino Ruusu [Fri, 14 Feb 2020 14:56:16 +0000 (16:56 +0200)]
Allow unsplitting removal of reducers by joining pipe runs

gitlab #83

Change-Id: Ia47d7234caae13eee3c23ffa72d8d4950c38070e

4 years agoFix update of inline components with offsets 71/3871/1
Reino Ruusu [Fri, 14 Feb 2020 12:20:42 +0000 (14:20 +0200)]
Fix update of inline components with offsets

gitlab #82

Change-Id: I735a8756886f16c7a7d6b877fc240039ff8322c8

4 years agoFix handling of offsets in directed path leg updates 70/3870/1
Reino Ruusu [Fri, 14 Feb 2020 12:19:52 +0000 (14:19 +0200)]
Fix handling of offsets in directed path leg updates

gitlab #79

Change-Id: Ib2c15821a3a147249c0465469973cb81c454fa18

4 years agoFix handling offset in dual directed path leg updates 68/3868/1
Reino Ruusu [Thu, 13 Feb 2020 10:13:30 +0000 (12:13 +0200)]
Fix handling offset in dual directed path leg updates

gitlab #79

Change-Id: I1e42037ec8832751e4a92eaca84f47479c35aaa7

4 years agoAdded a length scaling factor for adding components 67/3867/1
Reino Ruusu [Wed, 12 Feb 2020 14:12:57 +0000 (16:12 +0200)]
Added a length scaling factor for adding components

gitlab #78

Change-Id: Ied89a7f8289aad1e0ca952c4fb51e40df93fc811

4 years agoFix orientation of new straight components in insertStraight 62/3862/1
Reino Ruusu [Tue, 11 Feb 2020 11:55:37 +0000 (13:55 +0200)]
Fix orientation of new straight components in insertStraight

gitlab #77

Change-Id: Ic04f7ac4e12297ee6cfa830b428dd4fe2dd70951

4 years agoFix synchronization of PipingRules.currentUpdates. 60/3860/1
Reino Ruusu [Tue, 11 Feb 2020 07:33:41 +0000 (09:33 +0200)]
Fix synchronization of PipingRules.currentUpdates.

gitlab #76

Change-Id: I2a9a7566f5775d5f71552e39da65f2429be91e69

4 years agoRename Vector3d.length to vectorLength 58/3858/1
Reino Ruusu [Fri, 7 Feb 2020 11:06:23 +0000 (13:06 +0200)]
Rename Vector3d.length to vectorLength

gitlab #75

Change-Id: I5e189d234f2f810415cd233731c1aa11674e1f67

4 years agoMake component addition dialog resizable and remember last dimensions 54/3854/2
Tuukka Lehtonen [Thu, 6 Feb 2020 20:36:22 +0000 (22:36 +0200)]
Make component addition dialog resizable and remember last dimensions

gitlab #73

Change-Id: I95f9e61cd930f5fc8dca46d45839e89510768b55

4 years agoMerge "Allow user to specify component name in ComponentSelectionDialog"
Tuukka Lehtonen [Thu, 6 Feb 2020 15:41:34 +0000 (15:41 +0000)]
Merge "Allow user to specify component name in ComponentSelectionDialog"

4 years agoAllow user to specify component name in ComponentSelectionDialog 55/3855/1
Reino Ruusu [Thu, 6 Feb 2020 14:48:03 +0000 (16:48 +0200)]
Allow user to specify component name in ComponentSelectionDialog

gitlab #74

Change-Id: I3a9ea061ceadeb48a92ecee1644015de51457abd

4 years agoFixed loading order problem that caused parameters to never get updated 53/3853/1
Tuukka Lehtonen [Thu, 6 Feb 2020 13:57:09 +0000 (15:57 +0200)]
Fixed loading order problem that caused parameters to never get updated

gitlab #72

Change-Id: I9dc5673e41de56d25f550c72d86f15791c8d1851

4 years agoAdded labels to piping component types 19/3819/1
Reino Ruusu [Wed, 29 Jan 2020 13:10:04 +0000 (15:10 +0200)]
Added labels to piping component types

gitlab #71

Change-Id: I956bb0ce2d9c449d805ee476f688bc9117926e7d

4 years agoAdded bundle metadata 85/3785/1 release/1.42.0
Tuukka Lehtonen [Tue, 14 Jan 2020 23:50:53 +0000 (01:50 +0200)]
Added bundle metadata

gitlab #70

Change-Id: Ie2a62b6d6253083258a57a2ecb94ddf47496cbb6

4 years agoFix getRealPosition() for control points 09/3709/1
Reino Ruusu [Thu, 12 Dec 2019 13:55:39 +0000 (15:55 +0200)]
Fix getRealPosition() for control points

gitlab #69

Change-Id: Iade27e651baddff4d0a3138d2f7fc85391f2dcbb

4 years agoFix createRotation() and avoid unnecessary trigonometrics roundtrip 95/3695/1
Reino Ruusu [Tue, 10 Dec 2019 18:30:55 +0000 (20:30 +0200)]
Fix createRotation() and avoid unnecessary trigonometrics roundtrip

gitlab #68

Change-Id: Ib5acbb46055fe52f75059092ef47ce0d37d69891

4 years agoExpose offset calculation as API in PipingRules. 94/3694/1
Reino Ruusu [Tue, 10 Dec 2019 17:28:27 +0000 (19:28 +0200)]
Expose offset calculation as API in PipingRules.

Change-Id: I60f154afe0ed87e6fa2e853c3daf1701f33a3bd9