]> gerrit.simantics Code Review - simantics/3d.git/commit
Added support for eccentric reducers 19/3019/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 16 Jul 2019 10:50:28 +0000 (13:50 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 16 Jul 2019 10:50:28 +0000 (13:50 +0300)
commit9e1e51825bfdcd72d7006e1bff703e7eb52919c6
tree1d745f557a085f18b2ff2393611809829ce14f64
parentb951060202f08360f6b0696a208adbf69e926fa6
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
org.simantics.plant3d.ontology/graph/plant3d_builtins.pgraph
org.simantics.plant3d/src/org/simantics/plant3d/actions/AddComponentAction.java
org.simantics.plant3d/src/org/simantics/plant3d/geometry/ReducerGeometryProvider.java
org.simantics.plant3d/src/org/simantics/plant3d/geometry/StraightGeometryProvider.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/InlineComponent.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/ControlPointFactory.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipingRules.java