]> gerrit.simantics Code Review - simantics/3d.git/log
simantics/3d.git
5 years agoArcCylinder with custom start angle 89/3389/1
Marko Luukkainen [Tue, 22 Oct 2019 11:16:41 +0000 (14:16 +0300)]
ArcCylinder with custom start angle

gitlab #10

Change-Id: Ica933203d05073499f1ab46c3f4a92041b1106d6

5 years agoSet correct transformation for vtk objects when they are created 88/3388/1
Marko Luukkainen [Mon, 21 Oct 2019 13:38:54 +0000 (16:38 +0300)]
Set correct transformation for vtk objects when they are created

gitlab #37

Change-Id: I2750cea2dde97cc86620289e42dbeff22027a2df

5 years agoPrevent too narrow angle branched during pipe routing 70/3370/1
Marko Luukkainen [Fri, 18 Oct 2019 12:51:59 +0000 (15:51 +0300)]
Prevent too narrow angle branched during pipe routing

gitlab #36

Change-Id: Iffeb64d62cae7f325054e1be21cc499ad144d3bc

5 years agoSynchronizing connected objects did not send events. 69/3369/1
Marko Luukkainen [Fri, 18 Oct 2019 12:22:20 +0000 (15:22 +0300)]
Synchronizing connected objects did not send events.

Without events, removing a component left connection relations to the
DB, which then caused problems with undo handling, and corruption of
component structure.

gitlab #35

Change-Id: I1e67df0db3fcdc71c5191411e2e93d9df18791cf

5 years agoRemoving straight next to branch point did not properly remove branch 67/3367/1
Marko Luukkainen [Fri, 18 Oct 2019 10:28:28 +0000 (13:28 +0300)]
Removing straight next to branch point did not properly remove branch

gitlab #35

Change-Id: I7d5be95dc81bda7b1d7d72f1c26c298eb368c02e

5 years agoAdapters.xml change missing from Flat Nozzle support 66/3366/1
Marko Luukkainen [Fri, 18 Oct 2019 10:23:51 +0000 (13:23 +0300)]
Adapters.xml change missing from Flat Nozzle support

gitlab #34

Change-Id: I10ab35118eff9a5ef8652f570a4308a1c6d7af8b

5 years agoUp-to-date resource classes 65/3365/1
Reino Ruusu [Fri, 18 Oct 2019 09:28:40 +0000 (12:28 +0300)]
Up-to-date resource classes

CSG and G3D got included in the recent white space clean-up.
Plant3D was not committed in the latest ontology modification in
c44f3e6.

Change-Id: I12d4b923ae264ae574595d9765cfc0e424896cc2

5 years agoFlat nozzles 60/3360/1
Marko Luukkainen [Thu, 17 Oct 2019 13:50:31 +0000 (16:50 +0300)]
Flat nozzles

gitlab #34

Change-Id: Iba887aef0a3abb9528d02c5c8a0321050700278f

5 years agoPiping Rules moved turns next nozzle when they were misaligned 59/3359/1
Marko Luukkainen [Thu, 17 Oct 2019 12:14:04 +0000 (15:14 +0300)]
Piping Rules moved turns next nozzle when they were misaligned

Cutoff range was 1.0m, turns closer than that were moved next to nozzle.

gitlab #14

Change-Id: Icfc20ab6f78aa2d70635c608deaf8354a22de802

5 years agoRemove/Split action removes pipeline components without reconnecting 58/3358/2
Marko Luukkainen [Thu, 17 Oct 2019 11:25:45 +0000 (14:25 +0300)]
Remove/Split action removes pipeline components without reconnecting

gitlab #33

Change-Id: I9bd2df03b9d4f4b8abea03c15e22dcce39fb70bb

5 years agoConstraintDetector / Snapping tool for pipeline routing 47/3347/2
Marko Luukkainen [Wed, 16 Oct 2019 15:51:50 +0000 (18:51 +0300)]
ConstraintDetector / Snapping tool for pipeline routing

gitlab #32

Change-Id: I4c5304bc481eedfe853ffbfd2b2157397c52e920

5 years agoNew interfaces for volume and centroid calculation. 31/3331/1
Reino Ruusu [Tue, 15 Oct 2019 10:15:38 +0000 (13:15 +0300)]
New interfaces for volume and centroid calculation.

gitlab #31

Also proper handling of unsymmetric reducers.

Change-Id: I370ba363d69ac6311d2afdfdf423e04871515113

5 years agoReplace obsolete use of Callback with Consumer. 30/3330/1
Reino Ruusu [Tue, 15 Oct 2019 10:12:14 +0000 (13:12 +0300)]
Replace obsolete use of Callback with Consumer.

Change-Id: I25ea24eadda7b7f9134083b02bed4b0e0b2205e4

5 years agoSetter for flow length for unconnected inline components. 29/3329/1
Reino Ruusu [Tue, 15 Oct 2019 10:11:01 +0000 (13:11 +0300)]
Setter for flow length for unconnected inline components.

gitlab #30

Change-Id: Ibb435186075fa7a3ff804b7abac46437e671c3f3

5 years agoWhite space clean-up 28/3328/1
Reino Ruusu [Tue, 15 Oct 2019 09:55:53 +0000 (12:55 +0300)]
White space clean-up

Change-Id: Ib53a7e9a2613bbe664e1af5068c3fc7248707e1c

5 years agoImprovements to java.vecmath bindings to SCL. 27/3327/1
Reino Ruusu [Mon, 14 Oct 2019 14:06:22 +0000 (17:06 +0300)]
Improvements to java.vecmath bindings to SCL.

gitlab #28

Change-Id: Ic6350d7ecbeff7e9e55e053b779fa7592b20ac9a

5 years agoMerge "Move plant3d test-product specific contributions to product plugin."
Tuukka Lehtonen [Sat, 31 Aug 2019 21:11:44 +0000 (21:11 +0000)]
Merge "Move plant3d test-product specific contributions to product plugin."

5 years agoMove plant3d test-product specific contributions to product plugin. 73/3173/1
Tuukka Lehtonen [Thu, 29 Aug 2019 21:21:15 +0000 (00:21 +0300)]
Move plant3d test-product specific contributions to product plugin.

This prevents polluting any products including the plant3d modeling
feature with unwanted UI contributions.

gitlab #29

Change-Id: I28ceb91db0d12da19afcd41789cf94397142bd06

5 years agoReversing pipe runs was never implemented properly 72/3172/1
Marko Luukkainen [Thu, 29 Aug 2019 15:53:37 +0000 (18:53 +0300)]
Reversing pipe runs was never implemented properly

gitlab #12

Change-Id: I0cdc134cdea887717237b6dc428c86e8681ac595

5 years agoUnattached size change (reducer) did not recognise being size change 71/3171/1
Marko Luukkainen [Thu, 29 Aug 2019 15:51:53 +0000 (18:51 +0300)]
Unattached size change (reducer) did not recognise being size change

gitlab #12

Change-Id: Ife915d2a48050fc65617d905e41a821894a623c3

5 years agoAdding a component next to a reducer used wrong PipeRun 70/3170/1
Marko Luukkainen [Thu, 29 Aug 2019 15:50:11 +0000 (18:50 +0300)]
Adding a component next to a reducer used wrong PipeRun

gitlab #12

Change-Id: I8164d704011761f35d004506dba9462c24c7272f

5 years agoPreliminary example of creating pipes with elbow coordinates 65/3165/1
Marko Luukkainen [Wed, 28 Aug 2019 14:55:06 +0000 (17:55 +0300)]
Preliminary example of creating pipes with elbow coordinates

* ComponentUtil.connect now works, if connected Component is not
attached to a PipeRun
* Modified Piping rules to use path leg ends for turn calculation

gitlab #28

Change-Id: If16e6e63e44a697d5c07c0f3ec0d1a0c0fba3b9d

5 years agoHandle variable length free end updates properly 61/3161/1
Marko Luukkainen [Mon, 26 Aug 2019 13:31:41 +0000 (16:31 +0300)]
Handle variable length free end updates properly

Depending on which control point was updated, we may need to update free
ends position.

gitlab #24
gitlab #26

Change-Id: I0f3c99b279ea14d2caf57fcbc1f15a7da7425d3c

5 years agoSCL Test models for Plant3d 59/3159/1
Marko Luukkainen [Mon, 26 Aug 2019 12:14:10 +0000 (15:14 +0300)]
SCL Test models for Plant3d

gitlab #28

Change-Id: I3beaec931fd327f56fd78da7f188836ad0a843cb

5 years agoAdded <Proc> side effects 58/3158/1
Marko Luukkainen [Mon, 26 Aug 2019 12:13:43 +0000 (15:13 +0300)]
Added <Proc> side effects

* Without <Proc> some functions would not work properly

gitlab #28

Change-Id: I9ba6c545c46ddab560b27e8cb6e96013905a2985

5 years agoMerge "Improve elbow placement when dual directed pathleg is no loner aligned"
Marko Luukkainen [Thu, 22 Aug 2019 09:55:41 +0000 (09:55 +0000)]
Merge "Improve elbow placement when dual directed pathleg is no loner aligned"

5 years agoImprove elbow placement when dual directed pathleg is no loner aligned 43/3143/1
Marko Luukkainen [Thu, 22 Aug 2019 09:48:21 +0000 (12:48 +0300)]
Improve elbow placement when dual directed pathleg is no loner aligned

gitlab #14

Change-Id: If1cecdafe12b27a9836f1e39297eb4d19bd37db1

5 years agoFurther refactoring of SCL interfaces 42/3142/2
Reino Ruusu [Wed, 21 Aug 2019 15:41:30 +0000 (18:41 +0300)]
Further refactoring of SCL interfaces

gitlab #28

Change-Id: I3f82066ab83ab3210f8879d0457e6a1b7ba5e72f

5 years agoAdd "New Plant" as model browser action. 38/3138/2
Reino Ruusu [Wed, 21 Aug 2019 12:27:11 +0000 (15:27 +0300)]
Add "New Plant" as model browser action.

Change-Id: I60d036fbc2cf726fbdf7e2961def4f34c8d45483

5 years agoPlant3D customization 41/3141/1
Marko Luukkainen [Wed, 21 Aug 2019 15:02:27 +0000 (18:02 +0300)]
Plant3D customization

* Expose packages
* Allow equipment to be loaded from non-default location
* Fixed ontology errors

gitlab #29

Change-Id: Id82c78edf353aec643a65c6304eb12a664b36778

5 years agoHandle fixed turn components when pipe run is reversed. 35/3135/1
Marko Luukkainen [Wed, 21 Aug 2019 10:21:51 +0000 (13:21 +0300)]
Handle fixed turn components when pipe run is reversed.

Handle unconnected variable length component, when it is the firs
component of a path leg.

gitlab #23

Change-Id: Iccc027fca87a4e4e89fae88f58e53f245eb5025c

5 years agoSCL function for connecting pipeline components 31/3131/1
Marko Luukkainen [Wed, 21 Aug 2019 07:46:28 +0000 (10:46 +0300)]
SCL function for connecting pipeline components

gitlab #28

Change-Id: I8ab03b0593d62824feb2a2b994a13376c6654d15

5 years agoNozzle positions were not loaded correctly 29/3129/1
Marko Luukkainen [Tue, 20 Aug 2019 14:27:54 +0000 (17:27 +0300)]
Nozzle positions were not loaded correctly

Fixed nozzle positions were loaded with default equipment
parametrisation

gitlab #27

Change-Id: Ic64b9ef442dd30be569ba80a8fa554dab132e7e1

5 years agoVery crude API for creating pipeline components 27/3127/1
Marko Luukkainen [Tue, 20 Aug 2019 13:32:05 +0000 (16:32 +0300)]
Very crude API for creating pipeline components

gitlab #28

Change-Id: I2c593b81fdcb3a3b996369b4bb2a8a9f6eb43906

5 years agoCreating equipment with typeURI 24/3124/1
Marko Luukkainen [Tue, 20 Aug 2019 11:59:10 +0000 (14:59 +0300)]
Creating equipment with typeURI

gitlab #28

Change-Id: I568f47f22bcc53649cd6fada4c179fcd9a3841d3

5 years agoNozzle positions were not loaded correctly 23/3123/1
Marko Luukkainen [Tue, 20 Aug 2019 11:56:46 +0000 (14:56 +0300)]
Nozzle positions were not loaded correctly

Fixed nozzle positions were loaded with default equipment
parametrisation

gitlab #27

Change-Id: I895d5c53658af41236e5285c6f2b582a8fdd617e

5 years agoMaven pom.xml files for plant3d projects 20/3120/8
Reino Ruusu [Mon, 19 Aug 2019 15:39:46 +0000 (18:39 +0300)]
Maven pom.xml files for plant3d projects

Also added org.simantics.plant3d.product.repository for building plant3d
test product.

Change-Id: I511a896bde58e25403ad6fec6d855b98822cd29c

5 years agoRefactoring of SCL interfaces for g3d. 19/3119/3
Reino Ruusu [Mon, 19 Aug 2019 14:26:30 +0000 (17:26 +0300)]
Refactoring of SCL interfaces for g3d.

gitlab #28

Change-Id: I79893888975610f78c850410d7dcd8d9df4662aa

5 years agoMerge "Preventing synchronizing commits after undo / redo are mandatory"
Marko Luukkainen [Mon, 19 Aug 2019 14:43:30 +0000 (14:43 +0000)]
Merge "Preventing synchronizing commits after undo / redo are mandatory"

5 years agoPreventing synchronizing commits after undo / redo are mandatory 17/3117/2
Marko Luukkainen [Mon, 19 Aug 2019 12:52:48 +0000 (15:52 +0300)]
Preventing synchronizing commits after undo / redo are mandatory

Allowing synchronizing commits with empty message and no undo point
trash the undo history and prevent redo operations.

Include scl folder in build.properties

gitlab #24

Change-Id: I0af0cbf3be21a23ac4f8ed20a48881bef21465d2

5 years agoMerge "Fix component add with overlapping setting"
Marko Luukkainen [Mon, 19 Aug 2019 13:03:06 +0000 (13:03 +0000)]
Merge "Fix component add with overlapping setting"

5 years agoFix component add with overlapping setting 16/3116/1
Marko Luukkainen [Mon, 19 Aug 2019 11:05:00 +0000 (14:05 +0300)]
Fix component add with overlapping setting

gitlab #26

Change-Id: Ib510633edd933d0def918e0af996cb6f56986876

5 years agoMerge "Safe SCL cast for Java objects"
Marko Luukkainen [Mon, 19 Aug 2019 06:21:51 +0000 (06:21 +0000)]
Merge "Safe SCL cast for Java objects"

5 years agoSafe SCL cast for Java objects 14/3114/2
Marko Luukkainen [Mon, 19 Aug 2019 06:08:46 +0000 (09:08 +0300)]
Safe SCL cast for Java objects

gitlab #28

Change-Id: I7e8fa4b9bfc6bf3803c8dbfb5c65eb2d631a968b

5 years agoMerge "Additional SCL Bindings to G3D and Plant3D classes"
Marko Luukkainen [Fri, 16 Aug 2019 12:55:28 +0000 (12:55 +0000)]
Merge "Additional SCL Bindings to G3D and Plant3D classes"

5 years agoAdditional SCL Bindings to G3D and Plant3D classes 11/3111/1
Marko Luukkainen [Fri, 16 Aug 2019 12:43:24 +0000 (15:43 +0300)]
Additional SCL Bindings to G3D and Plant3D classes

gitlab #28

Change-Id: I1f3b29cd84ac60a16c58736ddae31792393a08ec

5 years agoMerge "SCL bindings to some G3D and Plant3D Java classes"
Marko Luukkainen [Thu, 15 Aug 2019 14:04:20 +0000 (14:04 +0000)]
Merge "SCL bindings to some G3D and Plant3D Java classes"

5 years agoSCL bindings to some G3D and Plant3D Java classes 10/3110/1
Marko Luukkainen [Thu, 15 Aug 2019 14:01:36 +0000 (17:01 +0300)]
SCL bindings to some G3D and Plant3D Java classes

gitlab #28

Change-Id: Ide08db8b186645096e50739c6e49d65b2585d627

5 years agoMerge "First version of fixed nozzle positions"
Marko Luukkainen [Thu, 15 Aug 2019 09:17:44 +0000 (09:17 +0000)]
Merge "First version of fixed nozzle positions"

5 years agoMerge "Fix NPE in branch point synchronization"
Marko Luukkainen [Thu, 15 Aug 2019 09:17:35 +0000 (09:17 +0000)]
Merge "Fix NPE in branch point synchronization"

5 years agoMerge "Simplified free ended variable length component update"
Marko Luukkainen [Thu, 15 Aug 2019 09:17:30 +0000 (09:17 +0000)]
Merge "Simplified free ended variable length component update"

5 years agoFirst version of fixed nozzle positions 07/3107/1
Marko Luukkainen [Thu, 15 Aug 2019 09:16:39 +0000 (12:16 +0300)]
First version of fixed nozzle positions

Fixed nozzles are not added to equipment automatically.

gitlab #27

Change-Id: I675bee1132131fd9033f9054ea654c33ab60ffc6

5 years agoFix NPE in branch point synchronization 06/3106/1
Marko Luukkainen [Thu, 15 Aug 2019 07:10:47 +0000 (10:10 +0300)]
Fix NPE in branch point synchronization

gitlab #24

Change-Id: Ibd0641bde997d1ddb454c1b596aec04b583a4807

5 years agoSimplified free ended variable length component update 04/3104/1
Marko Luukkainen [Wed, 14 Aug 2019 15:19:00 +0000 (18:19 +0300)]
Simplified free ended variable length component update

* Previous code was combined with route pipe action, which did not take
account spaced reserved by previous turn component.
* The update code caused undo/redo synchronization issues, since it
altered intended position of the control point

gitlab #24
gitlab #26

Change-Id: I89c7bbc608e7900f0b18b33ce1e390c5469cf0bd

5 years agoMerge "Added missing change to generated ontology class."
Tuukka Lehtonen [Wed, 14 Aug 2019 10:46:42 +0000 (10:46 +0000)]
Merge "Added missing change to generated ontology class."

5 years agoMerge "More precise position selection for add component action"
Marko Luukkainen [Wed, 14 Aug 2019 10:45:49 +0000 (10:45 +0000)]
Merge "More precise position selection for add component action"

5 years agoMore precise position selection for add component action 03/3103/1
Marko Luukkainen [Wed, 14 Aug 2019 10:42:15 +0000 (13:42 +0300)]
More precise position selection for add component action

When we are adding variable length component or the component where we
are inserting is variable length, we can shorten the variable length
component based on user input.

gitlab #26

Change-Id: I0ec9d3ff86497b109aa8a8320fb6476db897afd5

5 years agoMerge changes Ib176f957,I9a82db4e,Id0fdacee
Marko Luukkainen [Wed, 14 Aug 2019 09:38:32 +0000 (09:38 +0000)]
Merge changes Ib176f957,I9a82db4e,Id0fdacee

* changes:
  Add component did not work properly for nozzles.
  Show components in connected order in outline with debug mode
  Additional fix to control point synchronization

5 years agoAdd component did not work properly for nozzles. 99/3099/1
Marko Luukkainen [Tue, 13 Aug 2019 15:49:37 +0000 (18:49 +0300)]
Add component did not work properly for nozzles.

gitlab #25

Change-Id: Ib176f957a256a396d59d096d8d8246fe334d9756

5 years agoShow components in connected order in outline with debug mode 98/3098/1
Marko Luukkainen [Tue, 13 Aug 2019 15:45:24 +0000 (18:45 +0300)]
Show components in connected order in outline with debug mode

gitlab #19

Change-Id: I9a82db4e4a91ea3fb2b3279431c3867e6b0ddd57

5 years agoAdditional fix to control point synchronization 97/3097/1
Marko Luukkainen [Tue, 13 Aug 2019 15:29:02 +0000 (18:29 +0300)]
Additional fix to control point synchronization

gitlab #24

Change-Id: Id0fdaceeafc95495ad7ae7365f44214903b47bea

5 years agoMerge changes Ia3e00f11,I7f3a3a75
Marko Luukkainen [Tue, 13 Aug 2019 14:04:19 +0000 (14:04 +0000)]
Merge changes Ia3e00f11,I7f3a3a75

* changes:
  Clear removed objects from mapping cache
  Mark undo pints when committing changes to the graph

5 years agoClear removed objects from mapping cache 96/3096/1
Marko Luukkainen [Tue, 13 Aug 2019 13:52:55 +0000 (16:52 +0300)]
Clear removed objects from mapping cache

* Using undo/redo caused mapping cache to return already removed
objects, which caused bookkeeping issues.
* PipeControlPoints structure is now more resilient to random order of
graph side changes.

gitlab #24

Change-Id: Ia3e00f116bb86be3ef4472a646058842d1c28c27

5 years agoAdded missing change to generated ontology class. 95/3095/1
Reino Ruusu [Tue, 13 Aug 2019 09:35:28 +0000 (12:35 +0300)]
Added missing change to generated ontology class.

gitlab #23

Change-Id: I97bd496296330ed540f7175c19045705730a6575

5 years agoMark undo pints when committing changes to the graph 93/3093/2
Marko Luukkainen [Mon, 12 Aug 2019 10:03:28 +0000 (13:03 +0300)]
Mark undo pints when committing changes to the graph

gitlab #24

Change-Id: I7f3a3a7501acf93b5ffc6e0a92e00fbe5ba38827

5 years agoMerge "Support for fixed turn components"
Marko Luukkainen [Mon, 12 Aug 2019 09:40:41 +0000 (09:40 +0000)]
Merge "Support for fixed turn components"

5 years agoSupport for fixed turn components 92/3092/1
Marko Luukkainen [Mon, 12 Aug 2019 09:26:46 +0000 (12:26 +0300)]
Support for fixed turn components

gitlab #23

Change-Id: Idfee9d27e1209748199446734f94988e0f7d0e71

5 years agoRepository clean-up. 91/3091/3
Reino Ruusu [Mon, 12 Aug 2019 05:52:14 +0000 (08:52 +0300)]
Repository clean-up.

* Remove graph.tg files from the repository
* Update changed ontology classes
* Remove src directories from classpaths of binary fragments

Change-Id: I47bbf5f05fa59763bb99df976f2185482109bfd9

5 years agoHiDPI fixes 87/3087/1
Marko Luukkainen [Fri, 9 Aug 2019 14:27:58 +0000 (17:27 +0300)]
HiDPI fixes

gitlab #22

Change-Id: Ib6589309b5b1d9ce3d9f1f369803b262df04ae76

5 years agoImplemented mouse wheel zoom in camera and selector action 78/3078/1
Marko Luukkainen [Thu, 8 Aug 2019 12:30:23 +0000 (15:30 +0300)]
Implemented mouse wheel zoom in camera and selector action

* Previously mouse wheel zoom was done in native interactor, which
bypassed InteractiveVtkComposite render listener mechanism

gitlab #21

Change-Id: Ia22d34617dd9ef741b338b52343fb85e7b43d406

5 years agoVarious fixes to vtk swt components 68/3068/1
Marko Luukkainen [Wed, 7 Aug 2019 15:15:12 +0000 (18:15 +0300)]
Various fixes to vtk swt components

* Delete objects to prevent memory leaks
* Added additional logic to SWT->AWT event conversion

gitlab #22

Change-Id: I2ad4b61171cb7a97475196a9a3afc3130771f04c

5 years agoUsing SWT thread with Plant3d 67/3067/5
Marko Luukkainen [Wed, 7 Aug 2019 14:46:11 +0000 (17:46 +0300)]
Using SWT thread with Plant3d

gitlab #21

Change-Id: I15483236ec95a4e41622c71db182e0a2d6bbaaac

5 years agoInclude CSG modelling with Plant3D 65/3065/1
Marko Luukkainen [Tue, 6 Aug 2019 09:46:44 +0000 (12:46 +0300)]
Include CSG modelling with Plant3D

gitlab #20

Change-Id: I2e2da1579d4982abfe08c9548f9f335ba3353110

5 years agoOutline view is able to show control points with debugging mode 64/3064/1
Marko Luukkainen [Tue, 6 Aug 2019 09:40:35 +0000 (12:40 +0300)]
Outline view is able to show control points with debugging mode

gitlab #19

Change-Id: Ice5ba0c5a8d14c33fe8283e6d1d52cf3e09496da

5 years agoFix cap typing. 61/3061/1
Marko Luukkainen [Mon, 5 Aug 2019 13:26:38 +0000 (16:26 +0300)]
Fix cap typing.

Additionally, fixed a NPE when user clicks empty space in component
selection dialog.

gitlab #18

Change-Id: If30d7f51bcaeadf2f6643055e656817f36a3a432

5 years agoDisable in-line translate for variable length components 60/3060/1
Marko Luukkainen [Mon, 5 Aug 2019 13:18:09 +0000 (16:18 +0300)]
Disable in-line translate for variable length components

gitlab #17

Change-Id: I587c5f1af80db32e237adf628bf70d446d432781

5 years agoSupport for reversible in-line components 59/3059/1
Marko Luukkainen [Mon, 5 Aug 2019 12:32:55 +0000 (15:32 +0300)]
Support for reversible in-line components

gitlab #13

Change-Id: I2348320a5bba2b8d86b7a0bcc118d85f81023186

5 years agoTranslate action for inline components 58/3058/1
Marko Luukkainen [Mon, 5 Aug 2019 11:29:58 +0000 (14:29 +0300)]
Translate action for inline components

gitlab #14

Change-Id: I4f051a585288130479049490337c0c46c1803c3f

5 years agoIAdaptable interface / Class is parameterised 33/3033/1
Marko Luukkainen [Thu, 18 Jul 2019 14:55:34 +0000 (17:55 +0300)]
IAdaptable interface / Class is parameterised

gitlab #16

Change-Id: I4f8c25790d3d0dc39726efda82abe8734552e0d1

5 years agoCheck parameter inputs in geometry providers. 32/3032/1
Marko Luukkainen [Thu, 18 Jul 2019 14:50:36 +0000 (17:50 +0300)]
Check parameter inputs in geometry providers.

gitlab #15

Change-Id: Ib891e910c7a78d1d4f9e6ff8ca1bad137e3ff95d

5 years agoUse path leg end point check for offset legs 31/3031/1
Marko Luukkainen [Thu, 18 Jul 2019 14:47:22 +0000 (17:47 +0300)]
Use path leg end point check for offset legs

gitlab #14

Change-Id: Ibd35af89a21e2c6bf188b740f68c685e12f6c39e

5 years agoHandle variable length components on offset path leg 29/3029/1
Marko Luukkainen [Thu, 18 Jul 2019 13:14:09 +0000 (16:14 +0300)]
Handle variable length components on offset path leg

* Offset path leg update may now insert a straight, if there is
available space
* Inline component update could add and remove control points without
updating update struct.
* Removing pipe control point had cyclic dependency to itself (through
component)

gitlab #12

Change-Id: I27e9385cda3077dd1f3e16f7bfbd0015352d98fd

5 years agoUse a bit darker grey color for elbows 27/3027/1
Marko Luukkainen [Wed, 17 Jul 2019 16:03:20 +0000 (19:03 +0300)]
Use a bit darker grey color for elbows

gitlab #10

Change-Id: I40fce24e14ebceb7a74fe88c52381bce725757d6

5 years agoChanged inline component update to take account required space 26/3026/1
Marko Luukkainen [Wed, 17 Jul 2019 16:02:06 +0000 (19:02 +0300)]
Changed inline component update to take account required space

gitlab #14

Change-Id: Ia0085d15647c666fd2a6802a9490a7f8e3f3d95b

5 years agoRotating eccentric reducer did not update elbows on the same leg 25/3025/1
Marko Luukkainen [Wed, 17 Jul 2019 09:03:26 +0000 (12:03 +0300)]
Rotating eccentric reducer did not update elbows on the same leg

gitlab #12

Change-Id: I81392a1c6d2644f6b7d7c5c336a9e870582380be

5 years agoPrevent editing null values 24/3024/1
Marko Luukkainen [Wed, 17 Jul 2019 09:01:48 +0000 (12:01 +0300)]
Prevent editing null values

* This is a temporary solution for Inline components that do not support
rotation

gitlab #13

Change-Id: Ibd948a2537a63c9775726a5b5bbe6a6d06c5f505

5 years agoFixed path leg direction vector calculation 23/3023/1
Marko Luukkainen [Tue, 16 Jul 2019 17:34:13 +0000 (20:34 +0300)]
Fixed path leg direction vector calculation

* Calculated direction was opposite to the actual direction

gitlab #12

Change-Id: I8ea135f3cec5a0d80e42c9a2d9ecb626fb4f11a5

5 years agoSupport for inline component rotations 22/3022/1
Marko Luukkainen [Tue, 16 Jul 2019 16:25:00 +0000 (19:25 +0300)]
Support for inline component rotations

* P3D.RotateComponent tag
* P3D.HasRotationAngle property relation
* PipeControlPoint rotate flag
* InlineComponent get/set RotationAngle methods
* Gate Valve inline component for testing the feature

gitlab #13

Change-Id: I2a1fb87a5de312d2870189b0e81791feeec1f652

5 years agoSupport for fillets and chamfers 21/3021/1
Marko Luukkainen [Tue, 16 Jul 2019 16:07:54 +0000 (19:07 +0300)]
Support for fillets and chamfers

gitlab #9

Change-Id: I69c0ec1c538d9eb2dfa83c8f88bf6a0faa881fb8

5 years agoTurn component calculation with offset vector fixed 20/3020/1
Marko Luukkainen [Tue, 16 Jul 2019 12:28:11 +0000 (15:28 +0300)]
Turn component calculation with offset vector fixed

gitlab #12

Change-Id: Iac7b2676a2f189db135f81fe24420912f994bf9b

5 years agoAdded support for eccentric reducers 19/3019/1
Marko Luukkainen [Tue, 16 Jul 2019 10:50:28 +0000 (13:50 +0300)]
Added support for eccentric reducers

* Various fixes to PipingRules
* At the moment, offset calculation is hard-coded. (Introduced component
calculated offset, but that has not been tested)
* AddComponentAction is able to place components in proper location
after reducer
* Reducer uses custom mesh

gitlab #12
gitlab #10

Change-Id: I62fdd4df5acc9e8e02823d36b738b48f70f56ac4

5 years agoChanged Check Valve to point flow (pipeline definition) direction 18/3018/1
Marko Luukkainen [Tue, 16 Jul 2019 10:39:34 +0000 (13:39 +0300)]
Changed Check Valve to point flow (pipeline definition) direction

gitlab #11

Change-Id: I018782d579a0a5159dd1e412860fe461a2503ce1

5 years agoCreated Mesh API for Plant3D objects 17/3017/1
Marko Luukkainen [Mon, 15 Jul 2019 13:28:38 +0000 (16:28 +0300)]
Created Mesh API for Plant3D objects

* Replaced OCCT-based geometries for Straight and Elbow.
* MeshActor is able to bypass mesh normals to VTK

gitlab #10

Change-Id: Ib201d29802921df35a5fa88da922e8265b54df7c

5 years agoFix PNG loading 16/3016/1
Marko Luukkainen [Fri, 12 Jul 2019 12:34:39 +0000 (15:34 +0300)]
Fix PNG loading

* Added vtkIOImage to native libraries

gitlab #2

Change-Id: I80e7133eeacee4d260985afca6a8a80a52087d2f

5 years agoUpdated OpenCASCADE to 7.3.0 07/3007/4
Marko Luukkainen [Fri, 5 Jul 2019 14:17:19 +0000 (17:17 +0300)]
Updated OpenCASCADE to 7.3.0

There are some unresolved issues with:
* Handle_Geom_Geometry casting (added untested downcast() methods)
* Handle_StepData_StepModel cannot be found (disabled STEP export)

Tested the change with Plant3D and CSG. HorizontalTank geometry required
some changes.

Change-Id: I3fd4038572e9d63e2fa0f85000a8c050add9cfe1

5 years agoCreate vtkPolyData without MeshActor instance 06/3006/1
Marko Luukkainen [Thu, 4 Jul 2019 15:13:41 +0000 (18:13 +0300)]
Create vtkPolyData without MeshActor instance

gitlab #8

Change-Id: I3b8d7fa1d56d134a7cbbf4b71cf5543340999fd6

5 years agoSupport for capped tube 05/3005/1
Marko Luukkainen [Thu, 4 Jul 2019 15:09:53 +0000 (18:09 +0300)]
Support for capped tube

Also, added possibility to change length wise resolution of ArcCylinder

gitlab #7

Change-Id: I61600b0d07dda44ac9a692138927116cf491af1f

5 years agoProjection matrices following OpenGL spec 08/2908/1
Marko Luukkainen [Mon, 27 May 2019 16:23:51 +0000 (19:23 +0300)]
Projection matrices following OpenGL spec

gitlab #6

Change-Id: Ia2fe79cb6beaeba65e51de1c5830427533441aed

5 years agoAdjustments to picking and camera orientation on focus command 06/2906/1
Marko Luukkainen [Mon, 27 May 2019 07:54:40 +0000 (10:54 +0300)]
Adjustments to picking and camera orientation on focus command

gitlab #5

Change-Id: If199287d5ef83f5d1ad410c8175cc4af67b1e50a

5 years agoAdd split point actor to deletables to prevent memory leak 05/2905/1
Marko Luukkainen [Mon, 27 May 2019 07:51:19 +0000 (10:51 +0300)]
Add split point actor to deletables to prevent memory leak

gitlab #4

Change-Id: I17c5a5286874eb7cad7fb24a77607f0f5da32c15